ADVISORIES

PyPA Advisory Database

PYSEC-2026-1932

Python Social Auth - Django has unsafe account association

Details

Impact

Upon authentication, the user could be associated by e-mail even if the associate_by_email pipeline was not included. This could lead to account compromise when a third-party authentication service does not validate provided e-mail addresses or doesn't require unique e-mail addresses.

Patches

  • https://github.com/python-social-auth/social-app-django/pull/803

Workarounds

Review the authentication service policy on e-mail addresses; many will not allow exploiting this vulnerability.

Affected packages

EcosystemPackageAffected versions
PyPIsocial-auth-app-django
All versions before 5.6.0 (fixed in 5.6.0)

References