GHSA-vq6g-g6c7-5f2j

Suggest an improvement
Source
https://github.com/advisories/GHSA-vq6g-g6c7-5f2j
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/09/GHSA-vq6g-g6c7-5f2j/GHSA-vq6g-g6c7-5f2j.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-vq6g-g6c7-5f2j
Aliases
Published
2026-09-24T19:54:48Z
Modified
2026-09-24T20:00:05Z
Severity
  • 6.4 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N CVSS Calculator
Summary
social-auth-core has an Improper Authentication issue
Details

Impact

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.

Patches

The issue has been fixed by validating SAML responses against stored AuthnRequest IDs.

Users should upgrade to a patched version.

Fix:

Workarounds

Applications that cannot upgrade immediately should disable SAML account association for already authenticated users.

If SAML login is not required, the SAML backend can also be disabled by removing it from SOCIAL_AUTH_AUTHENTICATION_BACKENDS.

There is no complete workaround while continuing to allow vulnerable SAML account association.

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:

Database specific
{
    "cwe_ids":  [
        "CWE-287"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-09-24T19:54:48Z",
    "nvd_published_at":  "2026-09-24T18:17:14Z",
    "severity":  "MODERATE"
}
References

Affected packages

PyPI / social-auth-core

Package

Name
social-auth-core
View open source insights on deps.dev
Purl
pkg:pypi/social-auth-core

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
5.0.0

Affected versions

0.*
0.0.1
0.1.0
0.2.0
0.2.1
1.*
1.0.0
1.0.1
1.1.0
1.2.0
1.3.0
1.4.0
1.5.0
1.6.0
1.7.0
2.*
2.0.0
3.*
3.0.0
3.1.0
3.2.0
3.3.0
3.3.1
3.3.2
3.3.3
3.4.0
4.*
4.0.2
4.0.3
4.1.0
4.2.0
4.3.0
4.4.0
4.4.1
4.4.2
4.5.0
4.5.1
4.5.2
4.5.3
4.5.4
4.5.5
4.5.6
4.6.0
4.6.1
4.7.0
4.8.0
4.8.1
4.8.2
4.8.3
4.8.4
4.8.5
4.8.6
4.8.7
4.9.0
4.9.1

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/09/GHSA-vq6g-g6c7-5f2j/GHSA-vq6g-g6c7-5f2j.json"