social-auth-core: VK App backend accepts unsigned callback data when auth_key is missingGHSA-3c93-f73f-qc9h
HIGHFix: python-social-auth/social-core#1811GHSA-3c93-f73f-qc9h is a high-severity (CVSS 7.4) Improper Authentication vulnerability in social-auth-core. A fix is available for social-auth-core — see the affected versions and patch details below.
Exploitation Status
No confirmed exploitation observed yet
- A successful exploit gives an attacker total control of the affected component, not partial access.
- CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.
Exploitation and automatability from CISA’s SSVC triage for GHSA-3c93-f73f-qc9h.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
GHSA-3c93-f73f-qc9h by exploitation likelihood (EPSS) against impact (CVSS). Outside the shaded patch-first corner.
Where this sits among everything scored
Of 394,803 CVEs with a current EPSS score, this one falls in the < 10% band (highlighted). Counts from FIRST.org, log-scaled.
Real-World Exposure
social-auth-coreReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects PyPI packages — download data is not available via public APIs for these ecosystems.
Description
Impact
The vk-app backend accepted VK application callback data without verifying the callback signature when the auth_key parameter was omitted.
Applications using this backend could treat unsigned attacker-controlled data as a verified VK identity. An attacker could choose callback fields such as viewer_id, access_token, api_id, and api_result, potentially allowing authentication as an arbitrary VK user ID.
The issue affects only applications using the vk-app backend.
Patches
The issue has been fixed by requiring auth_key to be present and valid before callback data is trusted.
Users should upgrade to a patched version.
Fix:
Workarounds
Applications that cannot upgrade immediately should disable the vk-app backend by removing social_core.backends.vk.VKAppOAuth2 from SOCIAL_AUTH_AUTHENTICATION_BACKENDS.
There is no complete workaround while continuing to use the vulnerable backend.
Credits
Reported by @lalalala5678 through GitHub private vulnerability reporting.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐍PyPI | social-auth-core | all versions | 5.0.0pip install --upgrade 'social-auth-core==5.0.0' |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for social-auth-core, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update social-auth-core to 5.0.0 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-3c93-f73f-qc9h is resolved across your whole dependency graph.
Workarounds
Put an independent control in front of the weakness: restrict the affected endpoint or interface to trusted networks, require an additional authentication factor or proxy-level check, and invalidate existing sessions and credentials in case the flaw has already been used.
Fixing This On Your OS
If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.
This vulnerability is rated as having an Important severity because an unauthenticated remote attacker could forge identity attributes and impersonate arbitrary users, compromising access controls without requiring privileged credentials. Exploitation is strictly contingent on the application explicitly enabling the…
To mitigate this vulnerability, ensure that the VK App authentication backend is disabled. If configured, remove `social_core.backends.vk.VKAppOAuth2` from the `SOCIAL_AUTH_AUTHENTICATION_BACKENDS` setting in your application configuration. Note that disabling this backend prevents users from authenticating through the VK App provider. A restart of the application services is required for configuration changes to take effect.Source: Red Hat security advisory for GHSA-3c93-f73f-qc9h (CC BY 4.0)
Frequently Asked Questions
Is GHSA-3c93-f73f-qc9h in your dependencies?
Find it across PyPI, including transitive dependencies.