# CVE-2026-133749: Programmatic Logins With Guard Skip the checkPostAuth() Method of User Checkers

- **Severity:** LOW 2.3
- **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:N`
- **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
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.53% (percentile 39, 2026-11-29)
- **CWE:** CWE-287
- **Published:** 2026-11-25T10:00:09.459Z
- **Modified:** 2026-11-25T10:17:12.180Z

## 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

## 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

- symfony/security-bundle: \< 5.4.57 (cvelist)
- symfony/security-guard: \< 5.4.57 (cvelist)
- symfony/symfony: \< 5.4.57 (cvelist)

## Technologies

Symfony

## 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.

## Check your systems with an agent

Paste this into a coding agent:

```text
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.
```

## 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-29).

### 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.

## References

- vendor: <https://symfony.com/cve-2026-133749>
- vendor: <https://github.com/symfony/symfony/security/advisories/GHSA-jj4m-pcr9-qjrm>
- patch: <https://github.com/symfony/symfony/commit/997321301543935ccfb62d8053472cf0a5d12354>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-133749>
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

HTML: <https://flawdb.com/CVE-2026-133749> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-133749>
