CVE-2026-133749
Last modified
CVE-2026-133749 is a low-severity vulnerability rated 2.3/10 on the CVSS scale. 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. EPSS estimates a 0.53% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Symfony | symfony/security-bundle | < 5.4.57 |
| Symfony | symfony/security-guard | < 5.4.57 |
| Symfony | symfony/symfony | < 5.4.57 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-133749?
How severe is CVE-2026-133749?
How do I fix CVE-2026-133749?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-133743The fix for CVE-2026-123339 (GHSA-wg5q-m2ww-f3c9) restores t…7
- CVE-2026-133744The fixes for CVE-2026-135804 (GHSA-cpww-5vpx-72x7) bound th…6.3
- CVE-2026-133745The router redirects a request to the same URL with or witho…5.3
- CVE-2026-133746The fix for CVE-2026-45065 (GHSA-72xp-p242-47p9) anchored th…5.3
- CVE-2026-133747Since Symfony 7.4, framework.http_client.scoped_clients can …6.3
- CVE-2026-133748NoPrivateNetworkHttpClient accepts a list of subnets to bloc…6.3
- CVE-2026-13375Improper Neutralization of Input During Web Page Generation …4.8
- CVE-2026-133750Since Symfony 7.4, CachingHttpClient can cache the responses…6.3
- CVE-2026-133751Since Symfony 7.3, the require_tls option of EsmtpTransport …6.3
- CVE-2026-133752When it denormalizes data into a class, the Serializer compu…6.3
- CVE-2026-133753With the unanimous access decision strategy, an access_contr…5.3
- CVE-2026-133754UrlGenerator puts the values of host placeholders into the g…5.3
Are you affected by CVE-2026-133749?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
