{"id":"GHSA-9gjv-6qq6-v7qm","summary":"2FA bypass through deleting devices in wagtail-2fa","details":"### Impact\nAny user with access to the CMS can view and delete other users&#39; 2FA devices by going to the correct path. The user does not require special permissions in order to do so. By deleting the other user&#39;s device they can disable the target user&#39;s 2FA devices and potentially compromise the account if they figure out their password.\n\n### Patches\nThe problem has been patched in version 1.4.1.\n\n### Workarounds\nThere is no workaround for this issue.\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [github.com/labd/wagtail-2fa](https://github.com/labd/wagtail-2fa)\n* Email us at [security@labdigital.nl](mailto:security@labdigital.nl)","aliases":["CVE-2020-5240","PYSEC-2020-219"],"modified":"2026-09-10T03:48:29.719471847Z","published":"2020-03-13T21:18:55Z","database_specific":{"cwe_ids":["CWE-285"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2020-03-13T21:18:19Z","nvd_published_at":null},"references":[{"type":"WEB","url":"https://github.com/labd/wagtail-2fa/security/advisories/GHSA-9gjv-6qq6-v7qm"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-5240"},{"type":"WEB","url":"https://github.com/labd/wagtail-2fa/commit/ac23550d33b7436e90e3beea904647907eba5b74"},{"type":"PACKAGE","url":"https://github.com/labd/wagtail-2fa"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/wagtail-2fa/PYSEC-2020-219.yaml"}],"affected":[{"package":{"name":"wagtail-2fa","ecosystem":"PyPI","purl":"pkg:pypi/wagtail-2fa"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.1"}]}],"versions":["0.0.1","0.0.2","0.0.3","0.1.0","1.0.0","1.0.1","1.1.0","1.2.0","1.3.0","1.3.1","1.3.2","1.3.3","1.3.4","1.4.0"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/03/GHSA-9gjv-6qq6-v7qm/GHSA-9gjv-6qq6-v7qm.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:H/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:H/SA:N"}]}