CVE-2025-59841
JSON

9.8critical

FlagForgeCTF's Improper Session Handling Allows Access After Logout

Severity
9.8critical CVSS:3.1 by GitHub_M
Exploit likelihood
0.74% (higher than 51% of CVEs)
Published
Last changed
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.

Affected

Product or packageVersionsReported by
FlagForgeCTF flagForge>= 2.2.0, < 2.3.1CVE List
flagforge flagforgefrom 2.2 before 2.3.1NVD

Classification

CWE-384CWE-613

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.

What each source says

CVE List

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.

NVD (es)

Flag Forge es una plataforma de Capture The Flag (CTF). En versiones desde la 2.2.0 hasta antes de la 2.3.1, la aplicación web FlagForge gestiona incorrectamente la invalidación de sesión. Los usuarios autenticados pueden seguir accediendo a puntos finales protegidos, como /api/profile, incluso después de cerrar sesión. Los tokens CSRF también siguen siendo válidos después de cerrar sesión, lo que puede permitir acciones no autorizadas. Este problema ha sido parcheado en la versión 2.3.1.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-59841 changed 2025-09-29CVE Terms of Use
NVDCVE-2025-59841 changed 2026-10-11Public domain