Skip to content

CVE-2026-85687 surya 0.22.1 Unauthenticated Arbitrary File Read via screenshot server

HighCVSS 8.7 EPSS 0.51%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial

Description

surya 0.22.1 screenshot server contains an unauthenticated arbitrary file read vulnerability in the /info, /page, and /process routes that accept raw file_path parameters. Attackers can read any image or PDF file on the host by supplying arbitrary file paths to Image.open or pypdfium2.PdfDocument, obtaining rendered contents as base64 and using /info as an existence oracle.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
pypi surya-ocr <= 0.22.1 after 0.22.1 Fixed

Affected products

ProductAffected versionsFixed in
pypi surya-ocr <= 0.22.1 No fix listed

References