CVE-2025-59841 FlagForgeCTF's Improper Session Handling Allows Access After Logout
Authenticated users can access protected endpoints and perform actions after logging out due to improper session invalidation.
- 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-59841?
CVE-2025-59841 is a critical authentication bypass vulnerability in FlagForgeCTF flagForge, published on 25 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 versions from 2.2.0 to before 2.3.1, the FlagForge web application improperly handles session invalidation. Authenticated users can continue to access protected endpoints, such as /api/profile, even after logging out. CSRF tokens are also still valid post-logout, which can allow unauthorized actions. This issue has been patched in version 2.3.1.
Which versions are affected by CVE-2025-59841?
It affects 1 product.
Products include Flagforge Flagforge.
How do I fix CVE-2025-59841?
No fix has been published for CVE-2025-59841 yet. Limit exposure of the affected software until one is available.
Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.
Is CVE-2025-59841 being exploited?
There is no known exploitation of CVE-2025-59841 in the wild and no public exploit code.
Other vulnerabilities in FlagForgeCTF flagForge
- CVE-2025-61777 FlagForge Allows Unauthenticated Badge Template API Access
- CVE-2025-59932 FlagForgeCTF Unauthenticated Resource Modification/Deletion
- CVE-2025-59827 FlagForgeCTF is Missing Authorization in main-v2
- CVE-2025-59826 FlagForgeCTF Vulnerable to Unauthorized Problem Creation
- CVE-2026-21868 Flag Forge has ReDoS Vulnerability in User Profile Lookup API
Sources
Also known as GHSA-h6pr-4cwv-6cjg.