# CVE-2025-59841: FlagForgeCTF's Improper Session Handling Allows Access After Logout

- Severity: Critical 9.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.74%, higher than 51% of CVEs (2026-11-30)
- Published: 2025-09-25T15:15:45.438Z
- Modified: 2026-10-11T20:10:00.200Z
- Weaknesses: CWE-384, CWE-613
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- FlagForgeCTF flagForge: >= 2.2.0, < 2.3.1
- flagforge flagforge: from 2.2 before 2.3.1

## References

- <https://github.com/FlagForgeCTF/flagForge/security/advisories/GHSA-h6pr-4cwv-6cjg> (vendor-advisory)
- <https://github.com/FlagForgeCTF/flagForge/commit/304b6c82a4f76871b336404b91e5cdd8a7d7d5bd> (patch)

## Sources

- CVE List: [CVE-2025-59841](https://www.cve.org/CVERecord?id=CVE-2025-59841), CVE Terms of Use, modified 2025-09-29
- NVD: [CVE-2025-59841](https://nvd.nist.gov/vuln/detail/CVE-2025-59841), Public domain, modified 2026-10-11

---

Page: https://cve.day/CVE-2025-59841 · Whole record: https://cve.day/CVE-2025-59841.json · Rebuilt by cve.day 2026-11-25T22:59:05.183Z
