---
id: CVE-2026-57175
title: Python Social Auth is a social authentication/registration mechanism
summary: >-
  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 `Au…
severity: medium
cvss: 6.4
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N'
cwe:
  - CWE-287
  - CWE-303
vendor: python-social-auth
product: social-core
affected:
  - social-core < 5.0.0
patched:
  - social-auth-core 5.0.0
published: '2026-09-24'
updated: '2026-09-25'
sourceUpdated: '2026-09-25T13:27:31.790'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-57175'
references:
  - url: >-
      https://github.com/python-social-auth/social-core/security/advisories/GHSA-vq6g-g6c7-5f2j
    label: security-advisories@github.com
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-57175'
  - url: 'https://github.com/python-social-auth/social-core/pull/1794'
  - url: >-
      https://github.com/python-social-auth/social-core/commit/5c72f71125bc60e4411f09e2a9f998de5da7fcb6
  - url: 'https://github.com/python-social-auth/social-core/releases/tag/5.0.0'
  - url: 'https://github.com/advisories/GHSA-vq6g-g6c7-5f2j'
  - url: 'https://github.com/python-social-auth/social-core'
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-57175.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-57175'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2540587'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-57175'
tags:
  - nvd
  - cve.org
  - ghsa
  - pip
  - osv
  - csaf
  - vex
  - red-hat
aliases:
  - GHSA-vq6g-g6c7-5f2j
ecosystem: pip
ingestedAt: '2026-09-24T17:48:30.469Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Package advisory (CVE-2026-57175)

Affected packages:

- `social-auth-core < 5.0.0`

Patched in:

- `social-auth-core 5.0.0`

Source: https://github.com/advisories/GHSA-vq6g-g6c7-5f2j

## Vendor advisories

- **Red Hat VEX** · Moderate · affected: Red Hat Ansible Automation Platform 2 · no fix planned: Red Hat Ansible Automation Platform 2 · updated 2026-09-24 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-57175.json)
