CVE-2026-123746: Symfony Programmatic Logins Skip The CheckPostAuth() Vulnerability
LOWCVE-2026-123746 is a LOW programmatic logins skip the checkpostauth() vulnerability (CWE-287: Improper Authentication) affecting Symfony libraries in the Packagist ecosystem. The issue involves programmatic logins skip the checkpostauth() method of user checkers. Remediation is available by upgrading affected packages to version 5.4.56, 6.4.50, 7.4.23, 8.1.11.
CVE-2026-123746 at a Glance
How to Fix CVE-2026-123746
To remediate this vulnerability, upgrade all affected Symfony dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade symfony/security-http to 5.4.56
Upgrade symfony/security-http to 6.4.50
Upgrade symfony/security-http to 7.4.23
Upgrade symfony/security-http to 8.1.11
Upgrade symfony/symfony to 5.4.56
Upgrade symfony/symfony to 6.4.50
Upgrade symfony/symfony to 7.4.23
Upgrade symfony/symfony to 8.1.11
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for symfony/security-http
How to Check if You Are Affected
To determine whether your application is affected by CVE-2026-123746, inspect your project dependencies for Symfony:
inspect dependencies for symfony/security-http
Analyze the terminal output to locate any version of Symfony in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 5.4.56), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-287: Improper Authentication, where when an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct. In Symfony, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-123746 Affected Symfony Versions
8 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
symfony/security-http
|
Packagist |
< 5.4.56
|
5.4.56
|
|
symfony/security-http
|
Packagist |
≥ 6.0.0
< 6.4.50
|
6.4.50
|
|
symfony/security-http
|
Packagist |
≥ 7.0.0
< 7.4.23
|
7.4.23
|
|
symfony/security-http
|
Packagist |
≥ 8.0.0
< 8.1.11
|
8.1.11
|
|
symfony/symfony
|
Packagist |
< 5.4.56
|
5.4.56
|
|
symfony/symfony
|
Packagist |
≥ 6.0.0
< 6.4.50
|
6.4.50
|
|
symfony/symfony
|
Packagist |
≥ 7.0.0
< 7.4.23
|
7.4.23
|
|
symfony/symfony
|
Packagist |
≥ 8.0.0
< 8.1.11
|
8.1.11
|
References
Frequently Asked Questions
What is CVE-2026-123746?
Which Symfony versions are affected?
What version fixes CVE-2026-123746?
Is symfony/security-http affected?
Is symfony/symfony affected?
What CWE is associated with CVE-2026-123746?
How can I check Packagist dependencies for CVE-2026-123746?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-8f57-m8wj-x65w",
"modified" : "2026-12-01T21:45:53Z",
"published" : "2026-12-01T21:45:52Z",
"aliases" : [ "CVE-2026-123746" ],
"summary" : "Symfony: Programmatic Logins Skip the checkPostAuth() Method of User Checkers",
"details" : "### Description\n\n`Security::login()` and `UserAuthenticatorInterface::authenticateUser()` log a user in programmatically, for example after a password reset or after an email verification link. The fix for CVE-2024-50341 made `Security::login()` call the `checkPreAuth()` method of the user checker of the firewall. But neither method ran `checkPostAuth()`: this method runs on the `security.authentication.success` event, which `AuthenticatorManager::authenticateUser()` did not dispatch.\n\nAs a consequence, an account that a user checker rejects in `checkPostAuth()`, such as an expired account, was refused by form login and the other authenticators of the firewall, but could still be logged in through these methods.\n\nApplications are affected when they use a custom user checker that rejects users in `checkPostAuth()` and log users in programmatically. On 6.4 and up, the default user checker does nothing in `checkPostAuth()`. On 5.4, it rejects users of the deprecated `User` class whose credentials expired.\n\n### Resolution\n\n`AuthenticatorManager::authenticateUser()` now dispatches the `security.authentication.success` event once the token is created and before it is stored, as authentications through the firewall do. `checkPostAuth()` runs on this event and can reject the user.\n\nAs a consequence, an exception thrown by `checkPostAuth()` now comes out of `Security::login()` and `authenticateUser()`. Code that logs users in programmatically, such as a registration controller, may need to catch it.\n\n`UserAuthenticatorInterface::authenticateUser()` still doesn't call `checkPreAuth()`, on purpose. That's where checks like \"the email isn't verified yet\" usually are, and registration controllers use this method to log in users that just registered.\n\nThe patches for this issue are available [here](https://github.com/symfony/symfony/commit/af0aae5012beedf0a0c3fd581fd8b9ef696240c4) for branch 5.4 (and forward-ported to 6.4, 7.4, 8.1 and 8.2).\n\n### Credits\n\nSymfony would like to thank Vincent Cassiau (CyberVanguard) for reporting the issue and Nicolas Grekas for providing the fix.\n\nSymfony would also like to thank [Bruno Dias](https://github.com/cx-bruno-dias) from Checkmarx for their help getting a CVE assigned.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "symfony/security-http"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "5.4.56"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "symfony/security-http"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "6.0.0"
}, {
"fixed" : "6.4.50"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "symfony/security-http"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "7.0.0"
}, {
"fixed" : "7.4.23"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "symfony/security-http"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "8.0.0"
}, {
"fixed" : "8.1.11"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "symfony/symfony"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "5.4.56"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "symfony/symfony"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "6.0.0"
}, {
"fixed" : "6.4.50"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "symfony/symfony"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "7.0.0"
}, {
"fixed" : "7.4.23"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "symfony/symfony"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "8.0.0"
}, {
"fixed" : "8.1.11"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/symfony/symfony/security/advisories/GHSA-8f57-m8wj-x65w"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-123746"
}, {
"type" : "WEB",
"url" : "https://github.com/symfony/symfony/commit/af0aae5012beedf0a0c3fd581fd8b9ef696240c4"
}, {
"type" : "WEB",
"url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/security-http/CVE-2026-123746.yaml"
}, {
"type" : "WEB",
"url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2026-123746.yaml"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/symfony/symfony"
}, {
"type" : "WEB",
"url" : "https://github.com/symfony/symfony/releases/tag/v5.4.56"
}, {
"type" : "WEB",
"url" : "https://github.com/symfony/symfony/releases/tag/v6.4.50"
}, {
"type" : "WEB",
"url" : "https://github.com/symfony/symfony/releases/tag/v7.4.23"
}, {
"type" : "WEB",
"url" : "https://github.com/symfony/symfony/releases/tag/v8.1.11"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-287", "CWE-288" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2026-12-01T21:45:52Z",
"nvd_published_at" : "2026-11-06T13:17:29Z"
}
}