CVE-2026-78145CTFd __init__.py _is_safe_url redirect
A vulnerability has been found in CTFd up to 3.8.4. The affected element is the function _is_safe_url of the file CTFd/utils/validators/__init__.py. Such manipulation of the argument Next leads to open redirect. The attack can be launched remotely. The exploit has been disclosed to the public and may be used. The name of the patch is 5d8515842fd1ab2c3a9f2dde9ffca907aa334ea9. Upgrading the affected component is recommended.
What to do
None of the Linux distributions or Windows releases we track list an affected package for this CVE. Check the vendor-reported products below.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
What the vendor says
As published in the CVE record by VulDB, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- CTFd: affected: 3.8.0, 3.8.1, 3.8.2, 3.8.3, 3.8.4
Vendor advisories:
- https://github.com/CTFd/CTFd/pull/3026 (patch)
- https://github.com/CTFd/CTFd/commit/5d8515842fd1ab2c3a9f2dde9ffca907aa334ea9 (patch)
- https://github.com/CTFd/CTFd/releases/tag/3.8.4 (patch)
References
- https://vuldb.com/vuln/394533
- https://vuldb.com/vuln/394533/cti
- https://vuldb.com/cve/CVE-2026-78145
- https://vuldb.com/submit/882469
- https://mblunt.dev/writeups/ctfd-open-redirect/
- https://github.com/CTFd/CTFd/pull/3026
- https://github.com/CTFd/CTFd/commit/5d8515842fd1ab2c3a9f2dde9ffca907aa334ea9
- https://github.com/CTFd/CTFd/releases/tag/3.8.4
- https://github.com/CTFd/CTFd/
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.