CVE-2025-59841 FlagForgeCTF's Improper Session Handling Allows Access After Logout
CriticalCVSS 9.8
EPSS 0.39%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: total
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| flagforge | >= 2.2, < 2.3.1 | 2.3.1 | Fixed |
| FlagForgeCTF flagForge | = >= 2.2.0, < 2.3.1 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| FlagForgeCTF flagForge | = >= 2.2.0, < 2.3.1 | No fix listed |
| flagforge | >= 2.2, < 2.3.1 | 2.3.1 |