# CVE-2026-21868: Flag Forge has ReDoS Vulnerability in User Profile Lookup API

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- 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.31%, higher than 26% of CVEs (2026-12-01)
- Published: 2026-01-08T00:26:46.668Z
- Modified: 2026-06-17T10:19:03.550Z
- Weaknesses: CWE-1333
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- FlagForgeCTF flagForge: < 2.3.3
- flagforge flagforge: from 2.0 before 2.3.3

## References

- <https://github.com/FlagForgeCTF/flagForge/security/advisories/GHSA-949h-9824-xmcx> (vendor-advisory)

## Sources

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

---

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