---
id: CVE-2026-44017
aliases:
  - GHSA-cjqg-rq2h-2fvj
  - PYSEC-2026-2143
title: 'Docling: Unsafe Zip Extraction in EasyOCR Model Download'
summary: 'Docling: Unsafe Zip Extraction in EasyOCR Model Download'
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H'
vendor: docling
product: docling
ecosystem: pip
affected:
  - docling < 2.91.0
patched:
  - docling 2.91.0
published: '2026-06-03'
updated: '2026-07-13'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-cjqg-rq2h-2fvj'
references:
  - url: >-
      https://github.com/docling-project/docling/security/advisories/GHSA-cjqg-rq2h-2fvj
  - url: 'https://github.com/docling-project/docling'
  - url: 'https://github.com/docling-project/docling/releases/tag/v2.91.0'
tags:
  - osv
  - pip
epss: 0.00706
epssPercentile: 0.51287
ingestedAt: '2026-07-13T18:57:56.729Z'
---

## Overview

### Impact
In versions `< 2.91.0`, The EasyOCR model download functionality extracted ZIP archives without validating member paths, enabling Zip Slip attacks. If an attacker could compromise the model download source (via supply chain attack, DNS spoofing, or MITM), they could write arbitrary files to any location writable by the process, potentially achieving:
- Remote code execution by overwriting Python files or system binaries
- Persistent backdoors by modifying startup scripts or SSH keys
- Data corruption or system compromise

### Patches
Fixed in version 2.91.0. The extraction process now validates each archive member path using `os.path.realpath()` to ensure it remains within the target directory, raising a `SecurityError` for any path traversal attempts.

### Workarounds
Ensure model downloads occur over secure, authenticated channels. Use integrity verification (checksums) for downloaded models. Run the application with minimal file system permissions.

### References
- Fix release: [v2.91.0](https://github.com/docling-project/docling/releases/tag/v2.91.0)

## Affected packages

- `docling < 2.91.0`

## Remediation

Upgrade to a patched release:

- `docling 2.91.0`
