Security context

What an agent needs to avoid regressing past fixes and find the next vuln in this repo.

symfony/security-guard
5.4 @ f3da3db
4
Fixes
0
CVEs
CRITICAL
Peak severity
Highlights
Session Fixation: 2 prior fixes. Scrutinize any change in this area.
Firewall/GuardAuthenticationListener.php: most-fixed (1 issue). Treat as high-risk during review.
1 high-severity fix in this history; regressions here are high-impact.
Recurring patterns

The bug types that recur here, drawn from past fixes, not open vulnerabilities.

Insecure Deserialization: Unrestricted deserialization of parent data during token restoration can lead to PHP object injection, potentially triggering remote code execution if populating unvalidated serialized payloads.
Session Fixation: Failing to trigger or properly delegate session migration upon successful Guard authentication allows session hijacking where an attacker pre-determines a victim's session ID.
Information Disclosure: Exposing granular user-not-found or account status exceptions allows remote attackers to systematically enumerate valid usernames registered within the application.