CVE-2026-57179: Social auth core Social-auth-core Has A Session Fixation Vulnerability

MODERATE
Advisory Identifier: GHSA-vqg6-3fw6-j9jg
CVSS 4.2
CWE-384
Published
Advisory Summary

CVE-2026-57179 is a MODERATE (CVSS 4.2) social-auth-core has a session fixation vulnerability (CWE-384: Session Fixation) affecting Social auth core libraries in the PyPI ecosystem. The issue involves social-auth-core has a session fixation issue. Remediation is available by upgrading affected packages to version 5.0.0.

CVE-2026-57179 at a Glance

CVE Identifier CVE-2026-57179
GHSA Identifier GHSA-vqg6-3fw6-j9jg
Severity MODERATE
CVSS v3.1 Base Score 4.2
CWE Classification CWE-384: Session Fixation
Affected Product Social auth core
Package Ecosystem PyPI
Published Date
Last Updated

Security Impact

CVSS: 4.2

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N).

Attack Vector Network (AV:N)
Attack Complexity High (AC:H)
Privileges Required None (PR:N)
User Interaction Required (UI:R)
Scope Unchanged (S:U)
Confidentiality Low (C:L)
Integrity Low (I:L)
Availability None (A:N)

How to Fix CVE-2026-57179

To remediate this vulnerability, upgrade all affected Social auth core dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

social-auth-core fixed: 5.0.0
pip install social-auth-core>=5.0.0
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

pip show social-auth-core

How to Check if You Are Affected

To determine whether your Python environment is affected by CVE-2026-57179, inspect your installed packages using pip:

pip show social-auth-core

Analyze the terminal output to locate any version of Social auth core in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 5.0.0), your application is affected.

Note: The pip show social-auth-core command checks currently installed packages in your active Python environment.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-384: Session Fixation, where authenticating a user, or otherwise establishing a new user session, without invalidating any existing session identifier gives an attacker the opportunity to steal authenticated sessions. In Social auth core, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Impact The partial-pipeline resume mechanism accepted `partial_token` as a bearer credential without binding it to the browser session that created it. Applications using resumable partial pipeline steps could allow an attacker to start an authentication flow, obtain a valid partial token and verification data, and cause a victim's browser to resume that attacker-controlled flow. This could authenticate the victim's browser as the attacker's account. The issue affects applications using partial pipeline steps such as `mail_validation` or custom steps decorated with `@partial`. ### Patches The issue has been fixed by binding partial pipeline resumes to the originating browser session. Users should upgrade to a patched version. Fix: * https://github.com/python-social-auth/social-core/pull/1816 * https://github.com/python-social-auth/social-docs/pull/444 * https://github.com/python-social-auth/social-app-django/pull/1009 ### Workarounds Applications that cannot upgrade immediately should disable resumable partial pipeline steps, including `mail_validation` and custom steps decorated with `@partial`. If those flows are required, applications should avoid accepting partial resume links from untrusted contexts until a patched version can be deployed. There is no complete workaround while continuing to use the vulnerable partial-pipeline resume mechanism. ### Credits Reported through GitHub private vulnerability reporting by Liyi Zhou, Ziyue Wang, Strick, Maurice, and Chenchen Yu from the University of Sydney security research team. Reporter references: * https://lzhou1110.github.io/ * https://zyy0530.github.io/ * https://str1ckl4nd.github.io/ * https://maurice.busystar.org/ * https://7thparkk.github.io/

CVE-2026-57179 Affected Social auth core Versions

1 component(s)
Fixed Versions:
5.0.0
Product / Package Ecosystem Affected Versions Fixed Version
social-auth-core
PyPI
< 5.0.0
5.0.0

References

Frequently Asked Questions

What is CVE-2026-57179?
CVE-2026-57179 is a security vulnerability in Social auth core involving social-auth-core has a Session Fixation issue under CWE-384: Session Fixation.
Which Social auth core versions are affected?
Affected versions include releases prior to 5.0.0 across affected packages: social-auth-core.
What version fixes CVE-2026-57179?
Upgrading to 5.0.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is social-auth-core affected?
Yes, social-auth-core is affected in releases prior to 5.0.0. Upgrade your dependency to 5.0.0 or later.
What is the CVSS score of CVE-2026-57179?
CVE-2026-57179 has a CVSS v3.1 base score of 4.2 (MODERATE) with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N.
What CWE is associated with CVE-2026-57179?
CVE-2026-57179 is classified under CWE-384: Session Fixation (Authenticating a user, or otherwise establishing a new user session, without invalidating any existing session identifier gives an attacker the opportunity to steal authenticated sessions.).
How can I check PyPI dependencies for CVE-2026-57179?
Run the dependency tree command: 'pip show social-auth-core'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-vqg6-3fw6-j9jg",
  "modified" : "2026-09-24T19:58:14Z",
  "published" : "2026-09-24T19:58:14Z",
  "aliases" : [ "CVE-2026-57179" ],
  "summary" : "social-auth-core has a Session Fixation issue",
  "details" : "### Impact\n\nThe partial-pipeline resume mechanism accepted `partial_token` as a bearer credential without binding it to the browser session that created it.\n\nApplications using resumable partial pipeline steps could allow an attacker to start an authentication flow, obtain a valid partial token and verification data, and cause a victim's browser to resume that attacker-controlled flow. This could authenticate the victim's browser as the attacker's account.\n\nThe issue affects applications using partial pipeline steps such as `mail_validation` or custom steps decorated with `@partial`.\n\n### Patches\n\nThe issue has been fixed by binding partial pipeline resumes to the originating browser session.\n\nUsers should upgrade to a patched version.\n\nFix:\n\n* https://github.com/python-social-auth/social-core/pull/1816\n* https://github.com/python-social-auth/social-docs/pull/444\n* https://github.com/python-social-auth/social-app-django/pull/1009\n\n### Workarounds\n\nApplications that cannot upgrade immediately should disable resumable partial pipeline steps, including `mail_validation` and custom steps decorated with `@partial`.\n\nIf those flows are required, applications should avoid accepting partial resume links from untrusted contexts until a patched version can be deployed.\n\nThere is no complete workaround while continuing to use the vulnerable partial-pipeline resume mechanism.\n\n### Credits\n\nReported through GitHub private vulnerability reporting by Liyi Zhou, Ziyue Wang, Strick, Maurice, and Chenchen Yu from the University of Sydney security research team.\n\nReporter references:\n\n* https://lzhou1110.github.io/\n* https://zyy0530.github.io/\n* https://str1ckl4nd.github.io/\n* https://maurice.busystar.org/\n* https://7thparkk.github.io/",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "social-auth-core"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "5.0.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/python-social-auth/social-core/security/advisories/GHSA-vqg6-3fw6-j9jg"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-57179"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/python-social-auth/social-core/pull/1816"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/python-social-auth/social-core/commit/0418782454ac7bbc6a9230ea21f7f5066fe89686"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/python-social-auth/social-core"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/python-social-auth/social-core/releases/tag/5.0.0"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-384" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-09-24T19:58:14Z",
    "nvd_published_at" : "2026-09-24T18:17:15Z"
  }
}