CVE-2026-85687: datalab-to surya · External Control of File Name or Path
Affects datalab-to suryaSource CVE Database V5
Not known to be exploited · CVSS 8.7 High.
Data as of 3 Dec 2026, 18:37 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 23% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 4 Sep 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 3 Dec 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| datalab-tosurya | Affected
| Fixed in– |
AI-suggested
Until a fix is available, restrict access to the affected endpoints (/info, /page, /process) to trusted users or networks. Implement input validation and sanitization on file_path parameters to prevent arbitrary file reads. Monitor for updates from the datalab-to project regarding an official fix.
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.
References
- github.com/datalab-to/surya/issues/518 (opens in a new tab)
- github.com/datalab-to/surya (opens in a new tab)
- github.com/datalab-to/surya/blob/v0.22.1/surya/scripts/screenshot_app.py (opens in a new tab)
- vulncheck.com/advisories/surya-0.22.1-unauthenticated-arbitrary-file-read-via-screenshot-server (opens in a new tab)