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.
Published: 2026-09-24
Score: 6.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Account Impersonation
Action: Patch to v5.0
AI Analysis

Impact

Python Social Auth’s SAML backend accepted responses on the Assertion Consumer Service endpoint without first confirming that a previously requested AuthnRequest was present. This flaw allowed an attacker with a legitimate account on a trusted Identity Provider to link the attacker’s SAML identity to a victim’s local account. By doing so the attacker could authenticate as the victim through SAML and gain the victim’s privileges. The weakness is an Improper Authentication flaw (CWE-287).

Affected Systems

The vulnerability affects all deployments of python-social-auth: social-core that use the SAML backend with authenticated account association before version 5.0.0. The problem was fixed in version 5.0.0 by validating SAML responses against stored AuthnRequest IDs.

Risk and Exploitability

The CVSS score of 6.4 indicates moderate severity. The EPSS score is below 1%, suggesting a very low probability of exploitation. The vulnerability is not listed in the CISA KEV catalog. An attacker needs a valid account on a trusted IdP and the ability to send a crafted SAML response to the ACS endpoint; no additional internal privileges are required for the exploitation to succeed.

Generated by OpenCVE AI on September 26, 2026 at 02:06 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade python-social-auth to version 5.0.0 or later, ensuring that the change detecting AuthnRequest validation is in effect.
  • Verify that the SAML backend is correctly configured to only allow responses that match a stored AuthnRequest and that account association is limited to trusted IdPs.
  • If the application cannot be immediately updated, disable account association for SAML or restrict its usage to trusted IdPs until the upgrade is performed.

Generated by OpenCVE AI on September 26, 2026 at 02:06 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-vq6g-g6c7-5f2j social-auth-core has an Improper Authentication issue
History

Mon, 05 Oct 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Fri, 25 Sep 2026 14:45:00 +0000

Type Values Removed Values Added
First Time appeared Python-social-auth
Python-social-auth social-core
Vendors & Products Python-social-auth
Python-social-auth social-core

Fri, 25 Sep 2026 12:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-303
References
Metrics threat_severity

None

threat_severity

Moderate


Thu, 24 Sep 2026 17:30:00 +0000

Type Values Removed Values Added
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.
Title social-auth-core has an Improper Authentication issue
Weaknesses CWE-287
References
Metrics cvssV3_1

{'score': 6.4, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N'}


Subscriptions

Python-social-auth Social-core
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-10-05T15:33:16.020Z

Reserved: 2026-06-24T01:47:55.286Z

Link: CVE-2026-57175

cve-icon Vulnrichment

Updated: 2026-10-05T14:53:06.279Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-09-24T18:17:14.523

Modified: 2026-10-05T16:17:14.443

Link: CVE-2026-57175

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-09-24T17:11:49Z

Links: CVE-2026-57175 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-09-26T02:15:03Z

Weaknesses
  • CWE-287

    Improper Authentication

  • CWE-303

    Incorrect Implementation of Authentication Algorithm