CVE-2025-59827 FlagForgeCTF is Missing Authorization in main-v2

High 8.2 Published Updated

An authenticated user can assign high-privilege badges to themselves due to missing access controls, leading to privilege escalation.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-59827?

CVE-2025-59827 is a high-severity missing authorization vulnerability in FlagForgeCTF flagForge, published on 24 Sep 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Flag Forge is a Capture The Flag (CTF) platform. In version 2.1.0, the /api/admin/assign-badge endpoint lacks proper access control, allowing any authenticated user to assign high-privilege badges (e.g., Staff) to themselves. This could lead to privilege escalation and impersonation of administrative roles. This issue has been patched in version 2.2.0.

Weakness: CWE-862

Which versions are affected by CVE-2025-59827?

It affects 1 product.

Products include Flagforge Flagforge.

How do I fix CVE-2025-59827?

No fix has been published for CVE-2025-59827 yet. Limit exposure of the affected software until one is available.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2025-59827 being exploited?

There is no known exploitation of CVE-2025-59827 in the wild and no public exploit code.

Sources

Is CVE-2025-59827 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free