CVE-2025-59841 Details
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.
A vulnerability exists in the Flag Forge Capture The Flag (CTF) platform, specifically in versions 2.2.0 prior to 2.3.1. The issue arises from improper management of session invalidation, allowing authenticated users to retain access to protected endpoints, such as /api/profile, even after logging out. Additionally, CSRF tokens remain valid post-logout, potentially enabling unauthorized actions.
Users should upgrade to Flag Forge version 2.3.1, which addresses this vulnerability by properly invalidating session tokens and rotating CSRF tokens upon logout. As a temporary measure, manually clearing cookies associated with __Secure-next-auth.session-token and __Host-next-auth.csrf-token after logging out is recommended.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Sep 29, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-384 | Session Fixation | [email protected] |
| CWE-613 | Insufficient Session Expiration | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| flagforge flagforge | >= 2.2, < 2.3.1 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 11, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Oct 8, 2025 | Initial Analysis | [email protected] |
| Sep 25, 2025 | New CVE Received | [email protected] |