{"id":"CVE-2020-5240","aliases":["GHSA-9gjv-6qq6-v7qm","PYSEC-2020-219"],"url":"https://o3.security/vulnerability/CVE-2020-5240","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)","published":"2020-03-13T22:15:11.217Z","modified":"2026-10-20T10:54:22.137374053Z","cvss":{"score":8.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:N"},"epss":{"score":0.0098,"percentile":0.60489,"asOf":"2026-09-16"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"PyPI","name":"wagtail-2fa","fixedVersion":"1.4.1"}],"fix":{"url":"https://github.com/labd/wagtail-2fa/commit/ac23550d33b7436e90e3beea904647907eba5b74","label":"labd/wagtail-2fa@ac23550"},"references":[{"type":"ADVISORY","url":"https://github.com/labd/wagtail-2fa/security/advisories/GHSA-9gjv-6qq6-v7qm"},{"type":"FIX","url":"https://github.com/labd/wagtail-2fa/commit/ac23550d33b7436e90e3beea904647907eba5b74"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-5240"},{"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"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-10-20T10:54:22.137374053Z"}}