Highlights
Session Fixation: 6 prior fixes. Scrutinize any change in this area.
src/SessionManager.php: most-fixed (6 issues). Treat as high-risk during review.
4 high-severity fixes in this history; regressions here are high-impact.
Recurring patterns
The bug types that recur here, drawn from past fixes, not open vulnerabilities.
Session Fixation: Session identifiers were repeatedly handled unsafely during state transitions. Failure to destroy old session data on regeneration (e.g., in session_regenerate_id) and permitting session identifier modifications after a session had already started created severe session fixation exposures.
Auth Bypass: Session validation was historically bypassed when validators were either not initialized before checking session validity, executed before storage was fully populated, or within handlers that hardcoded validation checks to return true.
IP Address Spoofing: The session's remote address validation relied on client-provided headers like Client-IP and X-Forwarded-For without proper trusted proxy filtering or safe parsing, allowing external attackers to spoof their IP address.