CVE-2020-7245: Incorrect username validation in the registration process of CTFd v2.0.0 - v2.2.2 allows an attacker to take o
CVE-2020-7245 is a critical-severity flaw (CVSS 9.8) affecting ctfd. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
Incorrect username validation in the registration process of CTFd v2.0.0 - v2.2.2 allows an attacker to take over an arbitrary account if the username is known and emails are enabled on the CTFd instance. To exploit the vulnerability, one must register with a username identical to the victim's username, but with white space inserted before and/or after the username. This will register the account with the same username as the victim. After initia
Why this priority
- Critical severity
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 9.8 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 1.2% (top 33%) |
| CISA exploited list | No |
| Weakness | CWE-640 |
| Published | 2020-01-23 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2020-7245?
ctfd: upgrade to newer than 2.2.2. Exact commands for each OS are on this page.
Is CVE-2020-7245 being exploited?
CVE-2020-7245 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2020-7245 affect?
CVE-2020-7245 affects ctfd. Severity is critical (CVSS 9.8). Incorrect username validation in the registration process of CTFd v2.0.0 - v2.2.2 allows an attacker to take over an arbitrary account if the username is known and emails are enabled on the CTFd instance. To exploit the vulnerability, one m
How urgent is CVE-2020-7245?
Priority 56/100. Critical severity; Remotely exploitable, no login, no user action