CVE-2026-21868

High

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.

SeverityHigh
CVSS7.5
Exploit probability—
ProductFlagforge
PublishedJan 8, 2026
First seenJan 8, 2026
Weakness typeCWE-1333CWE-1333

How to fix

Update
  • flagforge flagforge2.3.3 or later

Affected products

ProductAffected versionsFixed in
flagforge flagforge2.0 ≤ v < 2.3.32.3.3

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2026-21868 · Flagforge · Dark Radar