All vulnerabilities

Packagist · Servers and applications

CVE-2026-133749

Programmatic Logins With Guard Skip the checkPostAuth() Method of User Checkers

Severity
Low 2.3
Published
25 Nov 2026
Last changed
25 Nov 2026
Added to UpHeron
25 Nov 2026
Fixed in
5.4.57
Exploit chance
0.4% in the next 30 daysHigher than 27% of CVEs. EPSS by FIRST, 25 Nov 2026
Weakness
Improper authentication (CWE-287)
Attack
Over the network · Only under certain conditions · Needs a user account · No user action needed
Attacker can
Change some data
CVSS vector
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
Also known as
GHSA-jj4m-pcr9-qjrm
Sources
CVE Program, Project advisories (GitHub)

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.

From symfony/symfony's security advisory.

Affected software

SoftwareAffected versions
SymfonyServers and applications · github:symfony/symfony
  • Every version before 5.4.57
symfony/security-bundlePackagist · osv:Packagist:symfony/security-bundle
  • Every version before 5.4.57
symfony/security-guardPackagist · osv:Packagist:symfony/security-guard
  • Every version before 5.4.57
SymfonyPackagist · osv:Packagist:symfony/symfony
  • Every version before 5.4.57

About Symfony

PHP web application framework for MVC applications

From Wikidata, CC0 1.0.
Developers who used it in the past year
4%Stack Overflow Developer Survey 2025, 2025
Monthly downloads (Packagist)
315,437Packagist, 22 Nov 2026
Total downloads (Packagist)
88,509,675Packagist, 22 Nov 2026
GitHub stars
31,457GitHub, 22 Nov 2026
Forks
9,960GitHub, 22 Nov 2026
Latest release
v8.2.0-BETA2GitHub, 22 Nov 2026
Released
13 Nov 2026GitHub
Developer
SensioLabsWikidata
License
MIT LicenseWikidata
Written in
PHPWikidata
First released
22 Oct 2005Wikidata
First published on GitHub
4 Jan 2010GitHub

Release lines

ReleaseLatestSecurity fixes
8.18.1.11Until 31 Jan 2027
8.08.0.16Ended 31 Jul 2026
7.4 (LTS)LTS7.4.23Until 30 Nov 2029
7.37.3.11Ended 31 Jan 2026
7.27.2.9Ended 31 Jul 2025
7.17.1.11Ended 31 Jan 2025

From endoflife.date.

About symfony/security-bundle

Monthly downloads (Packagist)
7,674,512Packagist, 25 Nov 2026
Total downloads (Packagist)
213,603,930Packagist, 25 Nov 2026

This is the only vulnerability in symfony/security-bundle in our list.

About symfony/security-guard

Monthly downloads (Packagist)
733,787Packagist, 25 Nov 2026
Total downloads (Packagist)
98,973,908Packagist, 25 Nov 2026

This is the only vulnerability in symfony/security-guard in our list.

References