CVE-2026-25117: Flask Csrf Bypass With Session Auth

This route intentionally bypasses CSRF protection but uses session metadata or cookie-based authentication. If it exposes an unpredictable endpoint without robust custom anti-CSRF signatures, it is vulnerable to Cross-Site Request Forgery (CSRF) or Cross-Site WebSocket Hijacking (CSWSH). Remove the CSRF bypass or ensure all state-changing or authenticated ac

Provally CuratedPublic repositoryHighMedium confidenceVerifiedApache-2.0Python
greprules fetch cve-2026-25117-flask-csrf-bypass-with-session-auth --engine opengrep

Description

This route intentionally bypasses CSRF protection but uses session metadata or cookie-based authentication. If it exposes an unpredictable endpoint without robust custom anti-CSRF signatures, it is vulnerable to Cross-Site Request Forgery (CSRF) or Cross-Site WebSocket Hijacking (CSWSH). Remove the CSRF bypass or ensure all state-changing or authenticated ac