CVE-2026-78145
MediumCVSS 4.3Exploitation Probability (EPSS)
Low risk45th percentile - higher than 45% of all known CVEs
Summary
A vulnerability in CTFd up to 3.8.4 in the _is_safe_url function of the CTFd/utils/validators/__init__.py file. Manipulation of the Next argument leads to open redirect. The attack can be launched remotely. The exploit has been disclosed to the public and may be used. The patch name is 5d8515842fd1ab2c3a9f2dde9ffca907aa334ea9. Upgrading the affected component is recommended.
Risk Assessment
A remote attacker can exploit open redirect for phishing or redirecting users to malicious sites, potentially leading to credential theft.
Recommendation
It is recommended to update CTFd to a version containing the patch (commit 5d8515842fd1ab2c3a9f2dde9ffca907aa334ea9) or later. Also review and restrict allowed URLs in the _is_safe_url function.
Other vulnerabilities in CTFd
See all- CVE-2026-121562Medium
CTFd 3.1.0 before 3.8.7 contains an information disclosure vulnerability in the /api/v1/teams list endpoint that exposes non-public team custom field values. Unauthenticated attackers can paginate GET requests to collect hidden registration data such as emails, phone numbers, and student IDs when team mode and public visibility are enabled.
- CVE-2025-29419High
CTFd v3.7.6 was discovered to be vulnerable to a man-in-the-middle attack.
- CVE-2024-46242High
In CTFd 3.7.3, the validate_email function in CTFd/utils/validators/__init__.py is vulnerable to a Regular expression Denial of Service (ReDoS) attack. An attacker can supply a crafted email address during registration, causing excessive server load.
Original NVD description (English source)
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.
Vulnerability data from NVD (NIST) · CISA KEV · EPSS

