LiveActive security incident?Get immediate response
CVE Record

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

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.

HighCVSS 7.5Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

Flag Forge CTF platform versions 2.3.2 and earlier can be slowed or knocked offline through crafted username lookups. The issue affects availability, not data theft or modification. Public sources state the fix is version 2.3.3, with a WAF workaround for suspicious URL path characters.

Executive priority

Treat as a prompt availability-risk fix for public or event-critical CTF platforms. Prioritize upgrade before competitions, training events, or externally accessible deployments because a simple unauthenticated request pattern could degrade service for legitimate users.

Technical view

CVE-2026-21868 is a ReDoS flaw in /api/user/[username]. The application builds a MongoDB regular expression from unescaped username input. Regex metacharacters can trigger excessive CPU consumption, causing denial of service. CVSS 3.1 is 7.5: network exploitable, low complexity, no privileges, no user interaction, availability impact only.

Likely exposure

Exposure is likely where FlagForgeCTF flagForge 2.3.2 or below is deployed and the user profile API is reachable over a network, especially public CTF instances.

Exploitation context

The source bundle does not indicate active exploitation, and KEV is false. The vulnerability is remotely reachable without authentication according to the CVSS vector, but public evidence provided only supports the advisory description, not exploitation in the wild.

Researcher notes

Evidence is limited to the CVE record and GitHub advisory metadata in the provided bundle. The root issue is unescaped user input in a dynamically constructed regex passed to MongoDB. Validate defensively through code review, version checks, and monitoring rather than generating attack payloads.

Mitigation direction

  • Upgrade FlagForgeCTF flagForge to version 2.3.3.
  • If immediate upgrade is not possible, add WAF filtering for regex metacharacters in URL paths.
  • Monitor CPU saturation and availability issues around user profile API traffic.
  • Check the GitHub advisory for any updated vendor guidance.

Validation and detection

  • Inventory Flag Forge deployments and confirm running versions.
  • Verify whether /api/user/[username] is reachable from untrusted networks.
  • Review application logs for unusual username path patterns and CPU spikes.
  • Confirm version 2.3.3 or later after remediation.
Prepared
Confidence
high
Sources
3

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-1333: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2026-21868 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
7.5 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
2Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
7.5CVSS 3.1HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H3.93.6Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

7.5High
CVSS 3.1 vector shape for CVE-2026-21868Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
FlagForgeCTFflagForge< 2.3.3Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-1333 · source CWE mapping

Inefficient Regular Expression Complexity

Inefficient Regular Expression Complexity represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.