social-auth-app-django affected by Improper Handling of Case Sensitivity
Impact
Due to default case-insensitive collation in MySQL or MariaDB databases, third-party authentication user IDs are not case-sensitive and could cause different IDs to match.
Patches
This issue has been addressed by https://github.com/python-social-auth/social-app-django/pull/566 and fix released in 5.4.1.
Workarounds
An immediate workaround would be to change collation of the affected field:
ALTER TABLE `social_auth_usersocialauth` MODIFY `uid` varchar(255) COLLATE `utf8_bin`;
References
This issue was discovered by folks at https://opencraft.com/.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | social-auth-app-django | < 5.4.1 | 5.4.1 |
References
- https://github.com/python-social-auth/social-app-django/security/advisories/GHSA-2gr8-3wc7-xhj3
- https://nvd.nist.gov/vuln/detail/CVE-2024-32879
- https://github.com/python-social-auth/social-app-django/pull/566
- https://github.com/python-social-auth/social-app-django/commit/31c3e0c7edb187004d8abbde7e9c4f7ef9098138
- https://github.com/python-social-auth/social-app-django
- https://pypi.org/project/social-auth-app-django
- https://github.com/advisories/GHSA-2gr8-3wc7-xhj3
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N- Weakness (CWE)
CWE-178, CWE-303- Platform
- Python (PyPI)
- Package
social-auth-app-django- Disclosed
- 24.04.2024
- Updated
- 11.10.2026 15:17
Sources and licenses
OSV / GitHub Advisory Database - PYSEC-2026-1931 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-2gr8-3wc7-xhj3 - CC BY 4.0
Vulnerability history: social-auth-app-django
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 2
- First → latest
- 04.2024 10.2025
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- Medium 2
Disclosures per year
- 2024: 1
- 2025: 1
- 2026: 0
-
social-auth-app-django affected by Improper Handling of Case Sensitivity this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.