Flag Forge Regular Expression Denial-of-Service Vulnerability in User Profile API

Vulnerability

A Regular Expression Denial-of-Service (ReDoS) vulnerability has been identified in Flag Forge versions prior to 2.3.3. The issue resides in the user profile API endpoint, where the application dynamically constructs regular expressions using unescaped user input from the username parameter. This vulnerability can be exploited by sending a crafted username that includes regex meta-characters, such as deeply nested groups or quantifiers. Such exploitation causes the MongoDB regex engine to use excessive CPU resources, leading to a denial-of-service condition for other users.

Impact

Exploitation of this vulnerability causes excessive CPU consumption, disrupting service for other users.

Remediation

The vulnerability has been patched in version 2.3.3. Users are advised to update to this version. As an additional measure, a Web Application Firewall (WAF) rule can be implemented to block requests containing regex meta-characters in the URL path.

Added: Jan 8, 2026, 1:19 AM
Updated: Jan 8, 2026, 1:19 AM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
2.5
exploitability
7.4
remediation
0.0
relevance
1.9
threat
0.0
urgency
2.9
incentive
5.8

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.