# CVE-2026-78145: CTFd __init__.py _is_safe_url redirect

- Severity: Medium 5.3 (CVSS:4.0, scored by VulDB) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.42%, higher than 38% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-08-23T22:45:11.793Z
- Modified: 2026-10-14T13:10:00.187Z
- Weaknesses: CWE-601
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulDB

## Description

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.

(As written by CVE List.)

## Affected

- CTFd: 3.8.0; 3.8.1; 3.8.2; 3.8.3; 3.8.4

## Every score

- VulDB: CVSS:4.0 5.3 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P`
- VulDB: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N/E:P/RL:O/RC:C`
- VulDB: CVSS:3.0 4.3 Medium `CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N/E:P/RL:O/RC:C`
- VulDB: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:N/I:P/A:N/E:POC/RL:OF/RC:C`

## References

- <https://mblunt.dev/writeups/ctfd-open-redirect/> (exploit)
- <https://vuldb.com/vuln/394533> (technical-description, vdb-entry)
- <https://vuldb.com/vuln/394533/cti> (permissions-required, signature)
- <https://vuldb.com/cve/CVE-2026-78145> (third-party-advisory)
- <https://vuldb.com/submit/882469> (third-party-advisory)
- <https://github.com/CTFd/CTFd/pull/3026> (issue-tracking, patch)
- <https://github.com/CTFd/CTFd/commit/5d8515842fd1ab2c3a9f2dde9ffca907aa334ea9> (patch)
- <https://github.com/CTFd/CTFd/releases/tag/3.8.4> (patch)
- <https://github.com/CTFd/CTFd/> (product)

## Sources

- CVE List: [CVE-2026-78145](https://www.cve.org/CVERecord?id=CVE-2026-78145), CVE Terms of Use, modified 2026-08-24
- NVD: [CVE-2026-78145](https://nvd.nist.gov/vuln/detail/CVE-2026-78145), Public domain, modified 2026-10-14

---

Page: https://cve.day/CVE-2026-78145 · Whole record: https://cve.day/CVE-2026-78145.json · Rebuilt by cve.day 2026-11-25T22:59:34.974Z
