CVE-2020-5240
HIGH 8.5CVSS 3.12FA bypass through deleting devices in wagtail-2fa
In wagtail-2fa before 1.4.1, any user with access to the CMS can view and delete other users 2FA devices by going to the correct path. The user does not require special permissions in order to do so. By deleting the other users device they can disable the target users 2FA devices and potentially compromise the account if they figure out their password. The problem has been patched in version 1.4.1.
- Published
- 13 Mar 2020
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-285CWE-863
- Also known as
- GHSA-9gjv-6qq6-v7qmPYSEC-2020-219
- Sources
- NVDJSONOSV GHSA-9gjv-6qq6-v7qmJSONOSV PYSEC-2020-219JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | 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 | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:N |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.6 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.6 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.5 | AV:N/AC:L/Au:S/C:P/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | labdigital | wagtail-2facpe:2.3:a:labdigital:wagtail-2fa:*:*:*:*:*:*:*:* |
< 1.4.1 | 1.4.1 |
| OSV | PyPI | wagtail-2fa | < 1.4.1 | 1.4.1 |
References
- https://github.com/labd/wagtail-2fa/commit/ac23550d33b7436e90e3beea904647907eba5b74 · Patch, Third Party Advisory, WEB, FIX
- https://github.com/labd/wagtail-2fa/security/advisories/GHSA-9gjv-6qq6-v7qm · Third Party Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2020-5240 · ADVISORY
- https://github.com/labd/wagtail-2fa · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/wagtail-2fa/PYSEC-2020-219.yaml · WEB
History
- 25 Nov 2026 20:31 UTC · NVD: first stored (published 13 Mar 2020)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 13 Mar 2020)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 13 Mar 2020)