CVE-2026-57175python-social-auth social-core
Medium 6.4
Follow: this CVE · python-social-auth · python-social-auth social-core We alert you by email or Slack (account required).
- Priority
- 38
- CVSS 3.1
- 6.4
- EPSS
- —
- Auth required
- Yes
- Published
- Sep 24, 2026
- Updated
- Oct 5, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-287
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N
What happens
Python Social Auth is a social authentication/registration mechanism. Prior to version 5.0.0, the SAML backend accepted SAML responses on the Assertion Consumer Service endpoint without verifying that they matched a previously issued `AuthnRequest`. Applications using SAML account association could allow an attacker with a valid account on a trusted IdP to link the attacker's SAML identity to a logged-in victim's local account. The attacker could then authenticate through SAML and gain access to the victim's account. The issue affects applications using the SAML backend together with authenticated account association. The issue has been fixed in version 5.0.0 by validating SAML responses against stored `AuthnRequest` IDs.
What to do
- Apply the vendor's security update for social-core.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | social-auth-core |
< 5.0.0 |
5.0.0 |
pip install "social-auth-core>=5.0.0" |
| PyPI | social-auth-core |
< 5.0.0 |
5.0.0 |
pip install "social-auth-core>=5.0.0" |
Per OSV / GitHub Advisories (GHSA-vq6g-g6c7-5f2j, PYSEC-2026-4167). Check the version in your lockfile before upgrading.
Affected products
- python-social-auth · social-core
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.