CVE-2025-59841CWE-384CWE-613

CVE-2025-59841

Critical · published September 25, 2025

CVSS v3.1
9.8
EPSS
0%
Percentile
35.5
In the wild
Unconfirmed
What it is

🚨 After logging out, users can still access protected areas of the Flag Forge platform! It’s like a restaurant letting diners keep their table after they’ve paid the bill — super surprising and definitely not secure! 🔥 Think of a library where you can still check out books even after your membership has expired. That’s exactly what’s happening here — the session remains active, allowing access to sensitive information like a VIP area without proper authorization. This vulnerability could be absolutely devastating! An unauthorized user could access protected endpoints, change profile data, or perform actions without logging in. Once logged out, they still hold the power to act as if they're authenticated, making it a prime target for exploitation.

Put simply

Think of a library where you can still check out books even after your membership has expired. That’s exactly what’s happening here — the session remains active, allowing access to sensitive information like a VIP area without proper authorization. In versions 2.2.0 to just before 2.3.1, the Flag Forge web application fails to invalidate sessions upon logout, allowing authenticated users to access sensitive endpoints. CSRF tokens remain valid, which can lead to unauthorized actions.

What to do

This vulnerability could be absolutely devastating! An unauthorized user could access protected endpoints, change profile data, or perform actions without logging in. Once logged out, they still hold the power to act as if they're authenticated, making it a prime target for exploitation. Update Flag Forge to version 2.3.1 immediately to close this critical security gap. Additionally, review session management practices and CSRF token handling to ensure users are properly logged out. You've got this! Follow these steps and secure your platform in no time! 🛡️

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00423 · 35.5th percentile
Weaknesses
CWE-384 · Session Fixation; CWE-613 · Insufficient Session Expiration
Published
2025-09-25T20:15Z
Affected products (1)
ProductVersionsFixed in
flagforge/flagforge≥ 2.2, < 2.3.12.3.1
References (2)
EPSS history
Timeline
  • 25 SEP 15:15Z
    FlagForgeCTF's Improper Session Handling Allows Access After Logout
    cvelistv5