CVE-2025-61783: Social auth app django Python Social Auth - Django Vulnerability
MODERATECVE-2025-61783 is a MODERATE python social auth - django vulnerability (CWE-303: Incorrect Implementation of Authentication Algorithm) affecting Social auth app django libraries in the PyPI ecosystem. The issue involves python social auth - django has unsafe account association. Remediation is available by upgrading affected packages to version 5.6.0.
CVE-2025-61783 at a Glance
How to Fix CVE-2025-61783
To remediate this vulnerability, upgrade all affected Social auth app django dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install social-auth-app-django>=5.6.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show social-auth-app-django
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2025-61783, inspect your installed packages using pip:
pip show social-auth-app-django
Analyze the terminal output to locate any version of Social auth app django in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 5.6.0), your application is affected.
Note: The pip show social-auth-app-django command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-303: Incorrect Implementation of Authentication Algorithm, where the requirements for the product dictate the use of an established authentication algorithm, but the implementation of the algorithm is incorrect. In Social auth app django, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-61783 Affected Social auth app django Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
social-auth-app-django
|
PyPI |
< 5.6.0
|
5.6.0
|
References
Frequently Asked Questions
What is CVE-2025-61783?
Which Social auth app django versions are affected?
What version fixes CVE-2025-61783?
Is social-auth-app-django affected?
What CWE is associated with CVE-2025-61783?
How can I check PyPI dependencies for CVE-2025-61783?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-wv4w-6qv2-qqfg",
"modified" : "2025-10-13T15:40:00Z",
"published" : "2025-10-09T17:08:05Z",
"aliases" : [ "CVE-2025-61783" ],
"summary" : "Python Social Auth - Django has unsafe account association ",
"details" : "### Impact\n\nUpon 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.\n\n### Patches\n\n* https://github.com/python-social-auth/social-app-django/pull/803\n\n### Workarounds\n\nReview the authentication service policy on e-mail addresses; many will not allow exploiting this vulnerability.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "social-auth-app-django"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "5.6.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/python-social-auth/social-app-django/security/advisories/GHSA-wv4w-6qv2-qqfg"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-61783"
}, {
"type" : "WEB",
"url" : "https://github.com/python-social-auth/social-app-django/issues/220"
}, {
"type" : "WEB",
"url" : "https://github.com/python-social-auth/social-app-django/issues/231"
}, {
"type" : "WEB",
"url" : "https://github.com/python-social-auth/social-app-django/issues/634"
}, {
"type" : "WEB",
"url" : "https://github.com/python-social-auth/social-app-django/pull/803"
}, {
"type" : "WEB",
"url" : "https://github.com/python-social-auth/social-app-django/commit/10c80e2ebabeccd4e9c84ad0e16e1db74148ed4c"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/python-social-auth/social-app-django"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-290", "CWE-303" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2025-10-09T17:08:05Z",
"nvd_published_at" : "2025-10-09T21:15:40Z"
}
}