CVE-2026-21868CWE-1333

Flag Forge has ReDoS Vulnerability in User Profile Lookup API

High · published January 8, 2026

CVSS v3.1
7.5
EPSS
0%
Percentile
22.9
In the wild
Unconfirmed
What it is

⚡ A crafty username can crash your CTF party! The user profile API in Flag Forge versions 2.3.2 and below has a sneaky Regular Expression Denial of Service (ReDoS) vulnerability just waiting to be exploited. 🚨 Think of this vulnerability like a restaurant that gets so many complicated orders that the kitchen gets backed up — one tricky dish can hold up the whole service. If an attacker specifies a username with regex meta-characters, it’s like sending an overly elaborate order that the cooks just can’t handle! If an attacker sends a specially crafted username, they could cause the MongoDB regex engine to go haywire, consuming all the CPU resources. This could lead to a Denial of Service for other users, effectively shutting down your CTF platform when they need it most!

Put simply

Think of this vulnerability like a restaurant that gets so many complicated orders that the kitchen gets backed up — one tricky dish can hold up the whole service. If an attacker specifies a username with regex meta-characters, it’s like sending an overly elaborate order that the cooks just can’t handle! This ReDoS vulnerability arises because the application dynamically builds a regular expression using unsanitized user input (the username). When maliciously crafted input is received, it results in excessive CPU consumption, rendering the service unavailable.

What to do

If an attacker sends a specially crafted username, they could cause the MongoDB regex engine to go haywire, consuming all the CPU resources. This could lead to a Denial of Service for other users, effectively shutting down your CTF platform when they need it most! To combat this, upgrade your Flag Forge to version 2.3.3 immediately! Additionally, implement a Web Application Firewall (WAF) rule that blocks requests containing regex meta-characters in the URL path to prevent future exploits. You've got this! With these steps, you’ll have your Flag Forge platform running smoothly in no time! 🛡️

The record
Technical detail
CVSS v3.1
7.5 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00312 · 22.9th percentile
Weakness
CWE-1333 · Inefficient Regular Expression Complexity
Published
2026-01-08T00:26Z
EPSS history
Timeline
  • 08 JAN 00:26Z
    Flag Forge has ReDoS Vulnerability in User Profile Lookup API
    cvelistv5