CVE-2025-61783: Python Social Auth - Django has unsafe account association
Impact Upon authentication, the user could be associated by e-mail even if the associatebyemail 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.
Published Oct 9, 2025 · Updated Oct 13, 2025
Affected packages
social-auth-app-django
- Ecosystem
- PyPI
- Affected
- < 5.6.0
- Fixed in
- 5.6.0
- Check
pip show social-auth-app-django
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
Credited to mel-mason, vanya909, nijel.
References
- https://github.com/python-social-auth/social-app-django/security/advisories/GHSA-wv4w-6qv2-qqfg
- https://github.com/python-social-auth/social-app-django/issues/220
- https://github.com/python-social-auth/social-app-django/issues/231
- https://github.com/python-social-auth/social-app-django/issues/634
- https://github.com/python-social-auth/social-app-django/pull/803
- https://github.com/python-social-auth/social-app-django/commit/10c80e2ebabeccd4e9c84ad0e16e1db74148ed4c
- https://nvd.nist.gov/vuln/detail/CVE-2025-61783
- https://github.com/advisories/GHSA-wv4w-6qv2-qqfg
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
