2FA bypass through deleting devices in wagtail-2fa
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- Low · High · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-285.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Lab Digital | wagtail-2fa | before 1.4.1 | 1.4.1 | Patch available | CNA |
| — | wagtail-2fa (PyPI) | before 1.4.1 | 1.4.1 | Patch available | GHSA-9gjv-6qq6-v7qm |
- wagtail-2fa VendorLab Digital Affected before 1.4.1 Fixed in 1.4.1 Patch available CNA
- wagtail-2fa (PyPI) Vendor— Affected before 1.4.1 Fixed in 1.4.1 Patch available GHSA-9gjv-6qq6-v7qm
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:labdigital:wagtail-2fa:*:*:*:*:*:*:*:* | before 1.4.1 | Vulnerable | Lab Digital |
- cpe:2.3:a:labdigital:wagtail-2fa:*:*:*:*:*:*:*:* Versions before 1.4.1 Vulnerable ·Lab Digital
Remediation
- Fix · CNA wagtail-2fa (Lab Digital) Fixed in 1.4.1
- Fix · GHSA-9gjv-6qq6-v7qm wagtail-2fa (PyPI) Fixed in 1.4.1 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2020-5240
- 2026-10-03 Alias added: GHSA-9gjv-6qq6-v7qm
References
Advisory 2
More Lab Digital Wagtail-2fa vulnerabilities
- TI-2019-12547 2FA bypass in Wagtail through new device path CVSS 3.1HIGH 8.8
Sources
- CVE-2020-5240 · CVE Program
- CVE-2020-5240 · NVD
- FIRST EPSS
- GHSA-9gjv-6qq6-v7qm · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences