{"cve":"CVE-2022-42731","nvd":{"published":"2022-10-11T14:15:10.053","modified":"2026-06-17T05:05:12.303","status":"Modified","description":"mfa/FIDO2.py in django-mfa2 before 2.5.1 and 2.6.x before 2.6.1 allows a replay attack that could be used to register another device for a user. The device registration challenge is not invalidated after usage.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5},"cwes":["CWE-294"],"references":["https://github.com/mkalioby/django-mfa2/blob/0936ea253354dd95cb127f09d0efa31324caef27/mfa/FIDO2.py#L58","https://github.com/mkalioby/django-mfa2/releases/tag/v2.5.1-release","https://github.com/mkalioby/django-mfa2/releases/tag/v2.6.1-release","https://github.com/mkalioby/django-mfa2/blob/0936ea253354dd95cb127f09d0efa31324caef27/mfa/FIDO2.py#L58","https://github.com/mkalioby/django-mfa2/releases/tag/v2.5.1-release"],"products":["django-mfa2_project:django-mfa2"],"source":"nvd","synced_at":"2026-10-19T21:36:05.460296998+00:00"},"epss":{"cve":"CVE-2022-42731","score":0.01507,"percentile":0.74385,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-vw39-2wj9-4q86","url":"https://osv.dev/vulnerability/GHSA-vw39-2wj9-4q86","summary":"django-mfa2 vulnerable to MFA Replay attack","modified":"2026-06-10T18:44:18Z","packages":[{"ecosystem":"PyPI","name":"django-mfa2","purl":"pkg:pypi/django-mfa2","ranges":["<2.5.1"],"fixed":["2.5.1"]},{"ecosystem":"PyPI","name":"django-mfa2","purl":"pkg:pypi/django-mfa2","ranges":[">=2.6.0 <2.6.1"],"fixed":["2.6.1"]}]},{"id":"PYSEC-2022-303","url":"https://osv.dev/vulnerability/PYSEC-2022-303","summary":"","modified":"2026-06-10T17:00:49.634621035Z","packages":[{"ecosystem":"PyPI","name":"django-mfa2","purl":"pkg:pypi/django-mfa2","ranges":["<2.5.1",">=2.6.0 <2.6.1"],"fixed":["2.5.1","2.6.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}