CVE-2025-59827CWE-862

FlagForgeCTF is Missing Authorization in main-v2

High · published September 24, 2025

CVSS v3.0
8.2
EPSS
0%
Percentile
29.9
In the wild
Unconfirmed
What it is

⚡ Just one logged-in user can hand themselves the keys to the kingdom! The /api/admin/assign-badge endpoint in Flag Forge 2.1.0 lets any authenticated user assign high-privilege badges, including Staff, to themselves! 🔑 Think of this as having a VIP pass at a concert where anyone with a ticket could just stroll backstage and claim to be a performer. No one checks if they belong there, and that could lead to chaos! This vulnerability allows any authenticated user to elevate their privileges and impersonate administrative roles. Imagine the confusion if a regular user starts making critical changes or accessing restricted information—this could lead to absolute mayhem in managing your CTF competitions!

Put simply

Think of this as having a VIP pass at a concert where anyone with a ticket could just stroll backstage and claim to be a performer. No one checks if they belong there, and that could lead to chaos! In version 2.1.0 of Flag Forge, the lack of proper access control on the /api/admin/assign-badge endpoint allows authenticated users to assign themselves high-privilege roles without restriction, leading to potential privilege escalation.

What to do

This vulnerability allows any authenticated user to elevate their privileges and impersonate administrative roles. Imagine the confusion if a regular user starts making critical changes or accessing restricted information—this could lead to absolute mayhem in managing your CTF competitions! Patch to version 2.2.0 immediately to secure the endpoint. Additionally, review your access control measures to ensure that only authorized personnel can assign high-privilege roles. Regularly audit your user permissions to maintain control! You've got this! By following these steps, you'll have your CTF platform locked down tighter than a drum in no time! 🛡️

The record
Technical detail
CVSS v3.0
8.2 · HIGH
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.00371 · 29.9th percentile
Weakness
CWE-862 · Missing Authorization
Published
2025-09-24T20:23Z
EPSS history
Timeline
  • 24 SEP 20:23Z
    FlagForgeCTF is Missing Authorization in main-v2
    cvelistv5