Medium

social-auth-app-django affected by Improper Handling of Case Sensitivity

  • Disclosed: 24.04.2024
  • Updated: 11.10.2026 15:17

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:

mysql
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.

PlatformPackageVulnerable versionsFixed in
Python (PyPI) social-auth-app-django < 5.4.1 5.4.1

References

CVSS score 4.9/10
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

  1. 2024: 1
  2. 2025: 1
  3. 2026: 0
  1. social-auth-app-django affected by Improper Handling of Case Sensitivity this entry
    Medium · 4.9 CVE-2024-32879 < 5.4.1 5.4.1

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.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.