CVE Catalog

CVE-2026-85687

HighCVSS 7.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.29%

22th percentile - higher than 22% of all known CVEs

Summary

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.

Risk Assessment

An attacker could read arbitrary image or PDF files on the server, potentially leading to sensitive data disclosure or confidentiality breach.

Recommendation

Upgrade surya to a version newer than 0.22.1 or apply path validation and file access restrictions.

Related vulnerabilities

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS