CVE-2025-61783: Social auth app django Python Social Auth - Django Vulnerability

MODERATE
Advisory Identifier: GHSA-wv4w-6qv2-qqfg
CWE-303 CWE-290
Published
Advisory Summary

CVE-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

CVE Identifier CVE-2025-61783
GHSA Identifier GHSA-wv4w-6qv2-qqfg
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-303: Incorrect Implementation of Authentication Algorithm
Affected Product Social auth app django
Package Ecosystem PyPI
Published Date
Last Updated

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.

social-auth-app-django fixed: 5.6.0
pip install social-auth-app-django>=5.6.0
Verify Direct and Transitive Dependencies

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

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

CVE-2025-61783 Affected Social auth app django Versions

1 component(s)
Fixed Versions:
5.6.0
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?
CVE-2025-61783 is a security vulnerability in Social auth app django involving Python Social Auth - Django has unsafe account association under CWE-303: Incorrect Implementation of Authentication Algorithm.
Which Social auth app django versions are affected?
Affected versions include releases prior to 5.6.0 across affected packages: social-auth-app-django.
What version fixes CVE-2025-61783?
Upgrading to 5.6.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is social-auth-app-django affected?
Yes, social-auth-app-django is affected in releases prior to 5.6.0. Upgrade your dependency to 5.6.0 or later.
What CWE is associated with CVE-2025-61783?
CVE-2025-61783 is classified under CWE-303: Incorrect Implementation of Authentication Algorithm (The requirements for the product dictate the use of an established authentication algorithm, but the implementation of the algorithm is incorrect.).
How can I check PyPI dependencies for CVE-2025-61783?
Run the dependency tree command: 'pip show social-auth-app-django'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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"
  }
}