{"answers":{"affected":"3 open source packages ship an affected version, including django-allauth. It affects 1 product.","exploited":"There is no known exploitation of CVE-2025-65431 in the wild and no public exploit code.","fix":"Upgrade django-allauth to 65.13.0 or later.","what":"CVE-2025-65431 is a medium-severity authentication bypass vulnerability in n/a, published on 15 Dec 2025. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-65431 and fix it if it is affected.\n\nWhat it is: CVE-2025-65431 is a medium-severity authentication bypass vulnerability in n/a, published on 15 Dec 2025. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2025-65431 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- django-allauth (PyPI): affected all versions; fixed in 65.13.0\n- django-allauth (PyPI): affected all versions; fixed in 65.13.0\n- django-allauth (PyPI): affected all versions; fixed in 65.13.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-65431/ (Markdown: https://insights.sbomify.com/CVE-2025-65431/index.md)","id":"CVE-2025-65431","markdown":"https://insights.sbomify.com/CVE-2025-65431/index.md","name":"CVE-2025-65431","record":{"aliases":["DEBIAN-CVE-2025-65431","GHSA-8m3c-c723-h4p4","PYSEC-2025-111","UBUNTU-CVE-2025-65431"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"Django authentication library","requires_auth":"low_privilege","summary":"Attackers can hijack accounts by exploiting mutable preferred_username identifiers in Okta and NetIQ integrations within allauth-django.","user_interaction":"not_required","vuln_class":"auth_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"allauth","vendor":"allauth"}],"cvss":{"score":5.4,"severity":"medium","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-287","name":"Improper Authentication"}],"description":"An issue was discovered in allauth-django before 65.13.0. Both Okta and NetIQ were using preferred_username as the identifier for third-party provider accounts. That value may be mutable and should therefore be avoided for authorization decisions. The providers are now using sub instead.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"django-allauth's Okta and NetIQ implementations used a mutable identifier for authorization decisions","id":"CVE-2025-65431","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"auth_bypass","year":"2025"},"n_packages":3,"n_references":1,"next":{"headline":"DOM-based Cross-Site Scripting (XSS) vulnerability in 201206030 novel V3.5.0 allows remote attackers to execute arbitrary JavaScript code or","id":"CVE-2025-65442"},"packages":[{"ecosystem":"PyPI","fixed":["65.13.0"],"introduced":["0"],"last_affected":[],"package":"django-allauth","purl":null,"source":"GHSA-8m3c-c723-h4p4"},{"ecosystem":"PyPI","fixed":["65.13.0"],"introduced":["0"],"last_affected":[],"package":"django-allauth","purl":"pkg:pypi/django-allauth","source":"GHSA-8m3c-c723-h4p4"},{"ecosystem":"PyPI","fixed":["65.13.0"],"introduced":["0"],"last_affected":[],"package":"django-allauth","purl":"pkg:pypi/django-allauth","source":"PYSEC-2025-111"}],"prev":{"headline":"django-allauth does not reject access tokens for inactive users","id":"CVE-2025-65430"},"products":["n/a"],"published":"2025-12-15","related":[{"cvss_score":5.4,"headline":"django-allauth does not reject access tokens for inactive users","id":"CVE-2025-65430","kev_date_added":null,"published":"2025-12-15"},{"cvss_score":5.1,"headline":"django-allauth has an open redirect vulnerability","id":"CVE-2026-27982","kev_date_added":null,"published":"2026-03-05"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-12-16","vendors":["n/a"]},"summary":"Attackers can hijack accounts by exploiting mutable preferred_username identifiers in Okta and NetIQ integrations within allauth-django.","url":"https://insights.sbomify.com/CVE-2025-65431/"}