CVE-2026-133749
Programmatic Logins With Guard Skip the checkPostAuth() Method of User Checkers
Mitigation
- Upgrade symfony/security-bundle to 5.4.57 or later.
- Upgrade symfony/security-guard to 5.4.57 or later.
- Upgrade symfony/symfony to 5.4.57 or later.
Who should check
- Anyone running symfony/security-bundle < 5.4.57
- Anyone running symfony/security-guard < 5.4.57
- Anyone running symfony/symfony < 5.4.57
Vulnerability facts
- Affected
- symfony/security-bundle < 5.4.57; symfony/security-guard < 5.4.57; symfony/symfony < 5.4.57
- Fixed in
- symfony/security-bundle 5.4.57, symfony/security-guard 5.4.57, symfony/symfony 5.4.57
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, login needed
- CVSS
- 2.3 (v4.0, CNA)CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:NOpen in CVSS calculator
Show all 11 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Attack requirements: Present
- Privileges required: Low
- User interaction: None
- Confidentiality impact: None
- Integrity impact: Low
- Availability impact: None
- Confidentiality impact on other systems: None
- Integrity impact on other systems: None
- Availability impact on other systems: None
- EPSS
- 0.53% chance of exploitation in 30 days (percentile 38, 2026-11-26)
- CWE
- CWE-287
- Modified
Description
GuardAuthenticatorHandler::authenticateUserAndHandleSuccess() logs a user in programmatically with a Guard authenticator, for example in the registration controllers that MakerBundle generated. This method creates the token and stores it, but it calls neither checkPreAuth() nor checkPostAuth() on the user checker of the firewall. Guard authenticators run both checks when they authenticate a request. As a consequence, an account that a user checker rejects in checkPostAuth() could still be logged in through this method, for example an expired account. Applications are affected when they use Guard with a custom user checker that rejects users in checkPostAuth(), and log users in with authenticateUserAndHandleSuccess(). The default user checker also rejects users of the deprecated User class whose credentials expired. This is the issue of GHSA-8f57-m8wj-x65w, for the Guard component of Symfony 5.4. Guard was removed in Symfony 6.0. GuardAuthenticatorHandler::authenticateUserAndHandleSuccess() now calls the checkPostAuth() method of the user checker of the firewall before it stores the token. AuthenticatorManager::authenticateUser() does the same since the fix for GHSA-8f57-m8wj-x65w. Like authenticateUser(), authenticateUserAndHandleSuccess() doesn't call checkPreAuth(). Programmatic logins skip this check on purpose, for example right after a registration. SecurityBundle now gives the user checkers of the firewalls to the handler, so both symfony/security-guard and symfony/security-bundle must be updated. As a consequence, an exception thrown by checkPostAuth() now comes out of authenticateUserAndHandleSuccess(). Code that logs users in programmatically may need to catch it.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| symfony/security-bundle | < 5.4.57 | — | cvelist |
| symfony/security-guard | < 5.4.57 | — | cvelist |
| symfony/symfony | < 5.4.57 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-133749. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-133749.md Affected: symfony/security-bundle < 5.4.57; symfony/security-guard < 5.4.57; symfony/symfony < 5.4.57 Fixed in: symfony/security-bundle 5.4.57, symfony/security-guard 5.4.57, symfony/symfony 5.4.57 Steps: 1. Search this machine and project for symfony/security-bundle, symfony/security-guard, symfony/symfony: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
Technologies
References
Vendor advisories
FAQ
Is CVE-2026-133749 being exploited?
There is no confirmed exploitation: CVE-2026-133749 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.53% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-133749?
Low: CVSS 2.3 (v4.0, scored by CNA). Remote, login needed.
Which versions are affected by CVE-2026-133749?
symfony/security-bundle < 5.4.57; symfony/security-guard < 5.4.57; symfony/symfony < 5.4.57.
Is there a fix for CVE-2026-133749?
Yes. Fixed in symfony/security-bundle 5.4.57, symfony/security-guard 5.4.57, symfony/symfony 5.4.57. Upgrade symfony/security-bundle to 5.4.57 or later. Upgrade symfony/security-guard to 5.4.57 or later. Upgrade symfony/symfony to 5.4.57 or later.
How do I check if I'm affected by CVE-2026-133749?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.
More Symfony vulnerabilities
See all| Severity | Identifier / vulnerability | Technology | Signals | Age |
|---|---|---|---|---|
| HIGH 8.3 | CVE-2026-134792 HttpClient Lets the Proxy Header of a Request Choose the Proxy of Outgoing Requests in HTTP Workers That Run Under the CLI SAPI | Symfony | EPSS 45% | |
| HIGH 8.7 | CVE-2026-134791 Unclosed Comments Make the Lexer of ExpressionLanguage Quadratic, Letting Untrusted Expressions Hold a Process | Symfony | EPSS 45% | |
| MEDIUM 5.3 | CVE-2026-134790 Login Redirects Can Still Reach Another Host When the Session Cookie Domain Is Set: Incomplete Fix for CVE-2017-16652 | Symfony | EPSS 63% | |
| MEDIUM 6.0 | CVE-2026-133762 Without APP_RUNTIME_MODE, HTTP Workers Running Under the CLI SAPI Return Full Exception Dumps in Production | Symfony | EPSS 49% | |
| HIGH 8.7 | CVE-2026-133761 CsvEncoder Nests Rows Once per Key Separator of a Header, Letting a Small CSV Payload Crash PHP | Symfony | EPSS 45% |