All reports
Medium

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

Affected versions

Version ranges need review.

Affected versions
<5.4.1
Fixed version
5.4.1
Affected versions
< 5.4.1
Fixed version
5.4.1
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2024-32879

Probability of exploitation in the next 30 days: 0.58%

FIRST EPSS · 2026-11-20

Description

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

Links

Credits

  • bradenmacdonald
  • nijel