---
id: CVE-2026-57177
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 LoginRadius backend did not validate OAuth state during the
  authentication flow. Applications using this backend were vulnerable to login
  C…
severity: medium
cvss: 4.3
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N'
cwe:
  - CWE-352
  - CWE-358
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-57177'
references:
  - url: >-
      https://github.com/python-social-auth/social-core/security/advisories/GHSA-x7qq-23vw-7pfg
    label: security-advisories@github.com
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-57177'
  - url: 'https://github.com/python-social-auth/social-core/pull/1808'
  - url: >-
      https://github.com/python-social-auth/social-core/commit/4d332820e6b0583fde522956105a0e2beced5335
  - url: 'https://github.com/python-social-auth/social-core/releases/tag/5.0.0'
  - url: 'https://github.com/advisories/GHSA-x7qq-23vw-7pfg'
  - url: 'https://github.com/python-social-auth/social-core'
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-57177.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-57177'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2540597'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-57177'
tags:
  - nvd
  - cve.org
  - ghsa
  - pip
  - osv
  - csaf
  - vex
  - red-hat
aliases:
  - GHSA-x7qq-23vw-7pfg
ecosystem: pip
ingestedAt: '2026-09-24T17:48:30.405Z'
epss: 0.00108
epssPercentile: 0.01101
---

## Overview

Python Social Auth is a social authentication/registration mechanism. Prior to version 5.0.0, the LoginRadius backend did not validate OAuth state during the authentication flow. Applications using this backend were vulnerable to login CSRF. An attacker could cause a victim's browser session to complete authentication using an attacker-controlled LoginRadius token, making the victim authenticated as the attacker's LoginRadius identity. The issue affects only applications using the LoginRadius backend. The issue has been fixe in version 5.0.0 by enabling callback state validation for the LoginRadius backend.

## Remediation

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

## Package advisory (CVE-2026-57177)

Affected packages:

- `social-auth-core < 5.0.0`

Patched in:

- `social-auth-core 5.0.0`

Source: https://github.com/advisories/GHSA-x7qq-23vw-7pfg

## 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-57177.json)
