# CVE-2019-16766: 2FA bypass in Wagtail through new device path

- Severity: High 8.7 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.46%, higher than 74% of CVEs (2026-12-01)
- Published: 2019-11-29T17:05:14.000Z
- Modified: 2026-09-10T03:49:24.668Z
- Also known as: GHSA-89px-ww3j-g2mm, PYSEC-2019-135
- Weaknesses: CWE-290, CWE-304
- Assigned by: GitHub_M

## Description

When using wagtail-2fa before 1.3.0, if someone gains access to someone's Wagtail login credentials, they can log into the CMS and bypass the 2FA check by changing the URL. They can then add a new device and gain full access to the CMS. This problem has been patched in version 1.3.0.

(As written by CVE List.)

## Affected

- Lab Digital wagtail-2fa: from < 1.3.0 before 1.3.0
- wagtail-2fa (PyPI): before 1.3.0; before 13b12995d35b566df08a17257a23863ab6efb0ca; before a6711b29711729005770ff481b22675b35ff5c81
- labdigital wagtail-2fa: before 1.3.0

## Every score

- GitHub_M: CVSS:3.1 8.7 High `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N`
- GitHub: CVSS:3.1 8.7 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 4.0 Medium `AV:N/AC:L/Au:S/C:P/I:N/A:N`

## References

- <https://github.com/LabD/wagtail-2fa/security/advisories/GHSA-89px-ww3j-g2mm> (advisory, third-party-advisory)
- <https://github.com/labd/wagtail-2fa/commit/a6711b29711729005770ff481b22675b35ff5c81> (fix, patch, third-party-advisory, web)
- <https://github.com/labd/wagtail-2fa/commit/13b12995d35b566df08a17257a23863ab6efb0ca> (fix, patch, third-party-advisory, web)
- <https://github.com/labd/wagtail-2fa/security/advisories/GHSA-89px-ww3j-g2mm> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2019-16766> (advisory)
- <https://github.com/labd/wagtail-2fa> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/wagtail-2fa/PYSEC-2019-135.yaml> (web)

## Sources

- CVE List: [CVE-2019-16766](https://www.cve.org/CVERecord?id=CVE-2019-16766), CVE Terms of Use, modified 2024-08-05
- GitHub Advisory Database: [GHSA-89px-ww3j-g2mm](https://github.com/advisories/GHSA-89px-ww3j-g2mm), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2019-16766](https://nvd.nist.gov/vuln/detail/CVE-2019-16766), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2019-135](https://osv.dev/vulnerability/PYSEC-2019-135), CC-BY-4.0, modified 2023-11-08

---

Page: https://cve.day/CVE-2019-16766 · Whole record: https://cve.day/CVE-2019-16766.json · Rebuilt by cve.day 2026-11-25T22:57:48.310Z
