# CVE-2026-44020: Docling: Unsafe XML Entity Expansion in USPTO Patent Backend

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- 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): 0.33%, higher than 28% of CVEs (2026-12-01)
- Published: 2026-06-03T21:14:15.000Z
- Modified: 2026-10-25T22:10:00.150Z
- Also known as: GHSA-m88r-rg27-5xfg, PYSEC-2026-240
- Weaknesses: CWE-611, CWE-776
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

Docling simplifies document processing by parsing diverse formats and providing integrations with the generative AI ecosystem. From 2.13.0 until 2.74.0, the USPTO patent XML parser used the standard xml.sax.parseString() without protection against XML External Entity (XXE) attacks. An attacker could craft malicious USPTO patent XML files with external entity references that could read arbitrary files from the server filesystem, perform Server-Side Request Forgery (SSRF) attacks, or cause denial of service through entity expansion (Billion Laughs attack). The vulnerability affects three USPTO patent format parsers: ICE (v4.x), Grant v2.5, and Application v1.x. This vulnerability is fixed in 2.74.0.

(As written by CVE List.)

## Affected

- docling-project docling: >= 2.13.0, < 2.74.0
- rhoai/odh-autorag-rhel9: no versions given (not affected: from 1786612637 before *)
- docling (PyPI): from 2.13.0 before 2.74.0
- docling docling: from 2.13.0 before 2.74.0

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- redhat-SADP: CVSS:3.1 9.4 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- PyPA Advisory Database: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/docling-project/docling/security/advisories/GHSA-m88r-rg27-5xfg> (fix, mitigation, patch, vendor-advisory, web)
- <https://access.redhat.com/security/cve/CVE-2026-44020> (vdb-entry, web)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2492456> (issue-tracking, web)
- <https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-44020.json> (web)
- <https://access.redhat.com/errata/RHSA-2026:60520> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-44020> (advisory)
- <https://github.com/docling-project/docling> (package)
- <https://github.com/docling-project/docling/releases/tag/v2.74.0> (web)
- <https://github.com/pypa/advisory-database/tree/main/vulns/docling/PYSEC-2026-240.yaml> (web)

## Sources

- CVE List: [CVE-2026-44020](https://www.cve.org/CVERecord?id=CVE-2026-44020), CVE Terms of Use, modified 2026-08-28
- GitHub Advisory Database: [GHSA-m88r-rg27-5xfg](https://github.com/advisories/GHSA-m88r-rg27-5xfg), CC-BY-4.0, modified 2026-08-28
- NVD: [CVE-2026-44020](https://nvd.nist.gov/vuln/detail/CVE-2026-44020), Public domain, modified 2026-10-25
- PyPA Advisory Database: [PYSEC-2026-240](https://osv.dev/vulnerability/PYSEC-2026-240), CC-BY-4.0, modified 2026-06-27

---

Page: https://cve.day/CVE-2026-44020 · Whole record: https://cve.day/CVE-2026-44020.json · Rebuilt by cve.day 2026-11-25T22:59:25.711Z
