High severity · published Jan 8, 2026
CVE-2026-21868
Flag Forge has ReDoS Vulnerability in User Profile Lookup API
7.5
CVSS
0.3%
EPSS
No
On KEV
Description
Flag Forge is a Capture The Flag (CTF) platform. Versions 2.3.2 and below have a Regular Expression Denial of Service (ReDoS) vulnerability in the user profile API endpoint (/api/user/[username]). The application constructs a regular expression dynamically using unescaped user input (the username parameter). An attacker can exploit this by sending a specially crafted username containing regex meta-characters (e.g., deeply nested groups or quantifiers), causing the MongoDB regex engine to consume excessive CPU resources. This can lead to Denial of Service for other users. The issue is fixed in version 2.3.3. To workaround this issue, implement a Web Application Firewall (WAF) rule to block requests containing regex meta-characters in the URL path.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.3% · higher than 24% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
FL
flagForge · FlagForgeCTF
< 2.3.3 · source: vendor, NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-21868
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-21868
Vendor Advisory
https://github.com/FlagForgeCTF/flagForge/security/advisories/GHSA-949h-9824-xmcx
More from flagForge
9.8
CVE-2025-59841
FlagForgeCTF's Improper Session Handling Allows Access After Logout
9.8
CVE-2025-59827
FlagForgeCTF is Missing Authorization in main-v2
9.1
CVE-2025-61777
FlagForge Allows Unauthenticated Badge Template API Access
8.2
CVE-2025-59932
FlagForgeCTF Unauthenticated Resource Modification/Deletion
7.6
CVE-2025-59826
FlagForgeCTF Vulnerable to Unauthorized Problem Creation
