Skip to main content

Symfony Guard EUVDEUVD-2026-135238

| CVE-2026-133749 LOW
Improper Authentication (CWE-287)
2026-11-25 Symfony
2.3
CVSS 4.0 · Vendor: Symfony
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Account rejected by checkPostAuth (e.g. expired)
  2. Exploit
    App calls authenticateUserAndHandleSuccess()
  3. Execution
    Handler stores token without checkPostAuth
  4. Impact
    Rejected account gains authenticated session

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Authentication mechanism validation
MITRE ATT&CK

2 techniques across 2 tactics: Defense Evasion, Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires all of the following, per the advisory: the legacy Guard component (Symfony 5.4; removed in 6.0), programmatic login through GuardAuthenticatorHandler::authenticateUserAndHandleSuccess() (as in MakerBundle-generated registration controllers), and a user checker that rejects the account in checkPostAuth() - either a custom checker or the default checker rejecting deprecated User-class accounts with expired credentials. The 'attacker' is the owner of an account that should be rejected (e.g., an expired account). Limiting factors: applications not using Guard, not using this handler method, or whose user checker performs no checkPostAuth() rejection are unaffected; checkPreAuth() is intentionally still skipped for programmatic logins and is not part of this issue. The complete fix requires updating both symfony/security-guard and symfony/security-bundle to 5.4.57, since SecurityBundle must pass the firewall user checkers to the handler; updating is the fix the vendor provides.

Impact

This is a low-priority authentication logic flaw, not an emergency, and the signals are consistent. The input CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:L/UI:N) with VI:L and all other impacts N yields a 2.3 score, and the vuln.today Decision label is 'monitor' - both point to minor severity. There is no KEV listing and no EPSS score or PoC reference in the input, so exploitation status is 'no public exploit identified at time of analysis'. PR:L indicates the scenario involves an account holder (an already-rejected or expired user), not an anonymous external attacker, and AT:P reflects that a specific non-default precondition must hold. The real-world impact is narrow: it only matters for applications still on the legacy Guard component (Symfony 5.4; Guard was removed in 6.0) that use a custom user checker rejecting users in checkPostAuth() and log users in via authenticateUserAndHandleSuccess(). No signals conflict; the chief caveat is that this requires a specific code and configuration pattern rather than affecting default deployments.

Exploit ScenarioDerived

An application built on Symfony 5.4 Guard uses authenticateUserAndHandleSuccess() for programmatic login (e.g., auto-login after registration) with a user checker that normally rejects certain accounts in checkPostAuth(), such as expired accounts or deprecated User-class users with expired credentials. Because that method never invoked checkPostAuth() before storing the token, such an account obtains a valid authenticated session that the user checker should have blocked. No public exploit is identified; exploitation depends on the application's own login code path rather than a remotely delivered payload.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 25, 2026

Symfony 5.4's legacy Guard component can complete a login for an account that the firewall's user checker would reject, because GuardAuthenticatorHandler::authenticateUserAndHandleSuccess() creates and stores the token without invoking checkPreAuth() or checkPostAuth(). Applications are exposed only if they use Guard together with a user checker that rejects accounts in checkPostAuth() - a custom checker, or the default checker refusing deprecated User-class accounts with expired credentials - and log users in programmatically through that method, as MakerBundle-generated registration controllers do. This is a low-priority authentication logic flaw, not an emergency, and the signals are consistent: CVSS 2.3 (v4.0) / 3.1 AV:N/AC:H/PR:L/UI:N/C:N/I:L/A:N, no CISA KEV entry, and no public exploit identified at time of analysis. The 'attacker' here is the holder of an account that should have been refused, not an anonymous remote party.

RemediationAI

Vendor-released patch: upgrade symfony/security-guard and symfony/security-bundle to 5.4.57 (symfony/symfony 5.4.57 accordingly), updating both packages together because SecurityBundle must supply the per-firewall user checkers to the guard handler - a Guard-only update will not close the gap. Composer users can pin the pair (e.g. composer require symfony/security-guard:5.4.57 symfony/security-bundle:5.4.57) or run a targeted composer update for both. The fix commit is https://github.com/symfony/symfony/commit/997321301543935ccfb62d8053472cf0a5d12354 and the advisories are https://symfony.com/cve-2026-133749 and https://github.com/symfony/symfony/security/advisories/GHSA-jj4m-pcr9-qjrm. Behavioural side effect after patching: checkPostAuth() now runs inside authenticateUserAndHandleSuccess(), so an exception such as AccountExpiredException propagates out of the call - code that logs users in programmatically (registration controllers and similar) may need to catch it and handle the rejection. Note that checkPreAuth() is still deliberately skipped for programmatic logins and is not addressed by this patch. For environments that cannot update immediately, the practical interim control is to stop routing logins through authenticateUserAndHandleSuccess() for accounts whose state the user checker is supposed to enforce - authenticate through the normal firewall flow, or evaluate the account state explicitly before establishing the session - accepting that this shifts the check into application code the framework no longer performs for you; the vendor's position is that updating is the fix.

Affected VersionsENISA

symfony/security-guard 0 <5.4.57
symfony/symfony 0 <5.4.57
symfony/security-bundle 0 <5.4.57

Affected Packages

euvd symfony_security_bundle fix: 5.4.57
euvd symfony_security_guard fix: 5.4.57
euvd symfony_symfony fix: 5.4.57

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 3 packages in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Guard is the legacy authentication subsystem shipped in Symfony 5.4 and removed in Symfony 6.0; it is built around AbstractGuardAuthenticator implementations and the GuardAuthenticatorHandler service (security.authentication.guard_handler), which owns programmatic login. Symfony's firewall model separates authentication from post-authentication policy: a UserCheckerInterface implementation exposes checkPreAuth() (run before credentials are validated) and checkPostAuth() (run after, to enforce account state such as expiry, locking or credential freshness). When a Guard authenticator handles a real request, both callbacks run. authenticateUserAndHandleSuccess() bypasses that pipeline: it builds the token and hands it to the token storage without consulting the firewall's user checker at all, so the account-state gate is silently skipped. The root cause is CWE-287 (Improper Authentication) - an authentication decision path that omits a required policy check. The vendor fix refactors SecurityBundle DependencyInjection so a new security.user_checker_locator ServiceLocator is populated per firewall and injected as the fourth argument of the guard handler; the handler then calls checkPostAuth() before storing the token. checkPreAuth() remains intentionally skipped for programmatic logins (e.g. immediately after registration), as it already is in AuthenticatorManager::authenticateUser() since the related GHSA-8f57-m8wj-x65w fix. Because the wiring lives in SecurityBundle, the handler change in symfony/security-guard alone is not sufficient.

Know when Symfony gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (Symfony) PRIMARY 2.3 LOW
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
vuln.today AI 3.1 LOW

AC:H because exploitation needs the specific Guard+checkPostAuth-rejecting-checker configuration; PR:L as the actor holds a (rejected) account; impact limited to a minor integrity/authentication-state issue, so I:L, C:N, A:N.

3.1 AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N
4.0 AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (Symfony).

CVSS VectorVendor: Symfony

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.4%
Top 73% exploitable
Prevalence
High
Symfony is a widely-deployed enterprise PHP framework, though legacy Guard narrows exposure
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity LOW
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
High

Priority Score

12
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +12
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

CVE-2015-4050 MEDIUM POC
4.3 Jun 02

FragmentListener in the HttpKernel component in Symfony 2.3.19 through 2.3.28, 2.4.9 through 2.4.10, 2.5.4 through 2.5.1

CVE-2019-10910 CRITICAL POC
9.8 May 16

In Symfony before 2.7.51, 2.8.x before 2.8.50, 3.x before 3.4.26, 4.x before 4.1.12, and 4.2.x before 4.2.7, when servic

CVE-2018-13818 CRITICAL POC
9.8 Jul 10

Twig before 2.4.4 allows Server-Side Template Injection (SSTI) via the search search_key parameter. Rated critical sever

CVE-2026-100872 HIGH POC
8.7 Sep 27

Insufficient verification of payment-claim state in the Sylius e-commerce platform (versions before 2.1.16 and 2.2.9) le

CVE-2026-100869 HIGH POC
8.2 Sep 27

Incorrect authorization in the Sylius Shop API lets anyone holding an order token submit arbitrary payment actions - mos

CVE-2025-64500 HIGH POC
7.3 Nov 12

Symfony is a PHP framework for web and console applications and a set of reusable PHP components. Rated high severity (C

CVE-2026-24739 MEDIUM POC
6.3 Jan 28

Symfony versions up to 5.4.51 contains a vulnerability that allows attackers to operations being performed on an uninten

CVE-2018-12040 MEDIUM POC
6.1 Jun 13

Reflected Cross-site scripting (XSS) vulnerability in the web profiler in SensioLabs Symfony 3.3.6 allows remote attacke

CVE-2016-2403 CRITICAL
9.8 Feb 07

Symfony before 2.8.6 and 3.x before 3.0.6 allows remote attackers to bypass authentication by logging in with an empty p

CVE-2024-51736 CRITICAL
9.8 Nov 06

Symphony process is a module for the Symphony PHP framework which executes commands in sub-processes. Rated critical sev

CVE-2019-18889 CRITICAL
9.8 Nov 21

An issue was discovered in Symfony 3.4.0 through 3.4.34, 4.2.0 through 4.2.11, and 4.3.0 through 4.3.7. Rated critical s

CVE-2019-11325 CRITICAL
9.8 Nov 21

An issue was discovered in Symfony before 4.2.12 and 4.3.x before 4.3.8. Rated critical severity (CVSS 9.8), this vulner

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy