CVE-2026-21868

HIGH CVSS 3.1: 7.5 EPSS 0.31%
Updated Jan 20, 2026
Flagforge
Parameter Value
CVSS 7.5 (HIGH)
Affected Versions 2.0 — 2.3.3
Fixed In 2.3.3
Type CWE-1333 (Inefficient Regular Expression Complexity / ReDoS)
Vendor Flagforge
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
None
No data leak
Integrity
None
No data modification
Availability
High
Complete denial of service

CVSS Vector v3.1

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Flagforge Flagforge
cpe:2.3:a:flagforge:flagforge:*:*:*:*:*:*:*:*
2.0 2.3.3