# CVE-2025-65431: django-allauth's Okta and NetIQ implementations used a mutable identifier for authorization decisions

- Severity: Medium 5.4 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 7% of CVEs (2026-12-01)
- Published: 2025-12-15T00:00:00.000Z
- Modified: 2026-10-14T13:10:00.187Z
- Also known as: GHSA-8m3c-c723-h4p4, PYSEC-2025-111
- Weaknesses: CWE-287
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: mitre

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

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- django-allauth (PyPI): before 65.13.0
- allauth allauth: before 65.13.0

## Every score

- CISA-ADP: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N`
- GitHub: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N`
- PyPA Advisory Database: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N`

## References

- <https://allauth.org/news/2025/10/django-allauth-65.13.0-released/> (advisory, release-notes)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-65431> (advisory)
- <https://github.com/pennersr/django-allauth/commit/8feef46e0e07b25fc5594c8f268afa247ebc3412> (web)
- <https://allauth.org/news/2025/10/django-allauth-65.13.0-released> (web)
- <https://codeberg.org/allauth/django-allauth> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/django-allauth/PYSEC-2025-111.yaml> (web)
- <https://github.com/advisories/GHSA-8m3c-c723-h4p4> (advisory)

## Sources

- CVE List: [CVE-2025-65431](https://www.cve.org/CVERecord?id=CVE-2025-65431), CVE Terms of Use, modified 2025-12-16
- GitHub Advisory Database: [GHSA-8m3c-c723-h4p4](https://github.com/advisories/GHSA-8m3c-c723-h4p4), CC-BY-4.0, modified 2026-06-05
- NVD: [CVE-2025-65431](https://nvd.nist.gov/vuln/detail/CVE-2025-65431), Public domain, modified 2026-10-14
- PyPA Advisory Database: [PYSEC-2025-111](https://osv.dev/vulnerability/PYSEC-2025-111), CC-BY-4.0, modified 2026-06-10

---

Page: https://cve.day/CVE-2025-65431 · Whole record: https://cve.day/CVE-2025-65431.json · Rebuilt by cve.day 2026-11-25T22:59:09.402Z
