CVE-2025-59827 FlagForgeCTF is Missing Authorization in main-v2
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.
Other vulnerabilities in FlagForgeCTF flagForge
- CVE-2025-59841 FlagForgeCTF's Improper Session Handling Allows Access After Logout
- CVE-2025-61777 FlagForge Allows Unauthenticated Badge Template API Access
- CVE-2025-59932 FlagForgeCTF Unauthenticated Resource Modification/Deletion
- CVE-2025-59826 FlagForgeCTF Vulnerable to Unauthorized Problem Creation
- CVE-2026-21868 Flag Forge has ReDoS Vulnerability in User Profile Lookup API