# CVE-2022-31471: untangle vulnerable to Improper Restriction of XML External Entity Reference

- Severity: High 7.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/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.74%, higher than 78% of CVEs (2026-12-01)
- Published: 2022-07-26T05:10:27.000Z
- Modified: 2026-06-17T04:45:29.990Z
- Also known as: GHSA-f83q-2cp7-qrjg, PYSEC-2022-244
- Weaknesses: CWE-611
- Assigned by: jpcert

## Description

untangle is a python library to convert XML data to python objects. untangle versions 1.2.0 and earlier improperly restricts XML external entity references. By exploiting this vulnerability, a remote unauthenticated attacker may read the contents of local files.

(As written by CVE List.)

## Affected

- Christian Stefanescu untangle: 1.2.0 and earlier
- untangle (PyPI): before 1.2.1
- untangle_project untangle: up to 1.2.0

## Every score

- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/stchris/untangle> (package, product, third-party-advisory, web)
- <https://github.com/stchris/untangle/releases/tag/1.2.1> (release-notes, third-party-advisory, web)
- <https://jvn.jp/en/jp/JVN30454777/> (third-party-advisory, web)
- <https://github.com/stchris/untangle/security/advisories/GHSA-f83q-2cp7-qrjg> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-31471> (advisory)
- <https://github.com/pypa/advisory-database/tree/main/vulns/untangle/PYSEC-2022-244.yaml> (web)
- <https://jvn.jp/en/jp/JVN30454777> (web)
- <https://github.com/advisories/GHSA-f83q-2cp7-qrjg> (advisory)

## Sources

- CVE List: [CVE-2022-31471](https://www.cve.org/CVERecord?id=CVE-2022-31471), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-f83q-2cp7-qrjg](https://github.com/advisories/GHSA-f83q-2cp7-qrjg), CC-BY-4.0, modified 2024-11-18
- NVD: [CVE-2022-31471](https://nvd.nist.gov/vuln/detail/CVE-2022-31471), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2022-244](https://osv.dev/vulnerability/PYSEC-2022-244), CC-BY-4.0, modified 2023-11-08

---

Page: https://cve.day/CVE-2022-31471 · Whole record: https://cve.day/CVE-2022-31471.json · Rebuilt by cve.day 2026-11-25T22:58:13.209Z
