Live threats

All CVEs / python-social-auth

CVE-2026-57175python-social-auth social-core

Medium 6.4

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for social-core.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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

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.