# CVE-2026-57175: social-auth-core has an Improper Authentication issue

- Severity: Medium 6.4 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 14% of CVEs (2026-12-01)
- Published: 2026-09-24T17:11:49.925Z
- Modified: 2026-10-05T16:17:14.443Z
- Also known as: GHSA-vq6g-g6c7-5f2j, PYSEC-2026-4167
- Weaknesses: CWE-287
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- python-social-auth social-core: < 5.0.0
- social-auth-core (PyPI): before 5.0.0

## Every score

- GitHub_M: CVSS:3.1 6.4 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N`
- GitHub: CVSS:3.1 6.4 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N`
- PyPA Advisory Database: CVSS:3.1 6.4 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N`

## References

- <https://github.com/python-social-auth/social-core/security/advisories/GHSA-vq6g-g6c7-5f2j> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-57175> (advisory)
- <https://github.com/python-social-auth/social-core/pull/1794> (web)
- <https://github.com/python-social-auth/social-core/commit/5c72f71125bc60e4411f09e2a9f998de5da7fcb6> (web)
- <https://github.com/python-social-auth/social-core> (package)
- <https://github.com/python-social-auth/social-core/releases/tag/5.0.0> (web)
- <https://pypi.org/project/social-auth-core> (package)
- <https://github.com/advisories/GHSA-vq6g-g6c7-5f2j> (advisory)

## Sources

- CVE List: [CVE-2026-57175](https://www.cve.org/CVERecord?id=CVE-2026-57175), CVE Terms of Use, modified 2026-10-05
- GitHub Advisory Database: [GHSA-vq6g-g6c7-5f2j](https://github.com/advisories/GHSA-vq6g-g6c7-5f2j), CC-BY-4.0, modified 2026-10-01
- NVD: [CVE-2026-57175](https://nvd.nist.gov/vuln/detail/CVE-2026-57175), Public domain, modified 2026-10-05
- PyPA Advisory Database: [PYSEC-2026-4167](https://osv.dev/vulnerability/PYSEC-2026-4167), CC-BY-4.0, modified 2026-10-01

---

Page: https://cve.day/CVE-2026-57175 · Whole record: https://cve.day/CVE-2026-57175.json · Rebuilt by cve.day 2026-11-25T22:59:40.877Z
