CVE-2026-57175

social-auth-core has an Improper Authentication issue

Published Sep 24, 2026 CVSS 3.1 · 6.4 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

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
Type Values Removed Values Added
Metrics ssvc

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

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
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'}

Weaknesses
  • CWE-287

    Improper Authentication

  • CWE-303

    Incorrect Implementation of Authentication Algorithm

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Oct 5, 2026, 3:33 PM
Reserved
Jun 24, 2026, 1:47 AM
Status
Awaiting Analysis
Published
Sep 24, 2026, 6:17 PM
Modified
Oct 5, 2026, 4:17 PM
Severity
Moderate
Public date
Sep 24, 2026, 5:11 PM