Vulnerability

CVE-2026-21868

highCVSS 3.1 7.5Published 8 Jan 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Flagforge flagforge

Weakness type

References

  • github.com /FlagForgeCTF/flagForge/security/advisories/GHSA-949h-9824-…

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning