Skip to main content
EPSS 0.5%top 58%

CVE-2026-85687: External Control of File Name or Path in datalab-to surya

0
High
VulnerabilityCVE-2026-85687cvecve-2026-85687
Published: 09/04/2026 (09/04/2026, 14:32:32 UTC)
Source: CVE Database V5
Vendor/Project: datalab-to
Product: surya

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.

CVSS v4.0

Score 8.7high

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
None
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Affected software

datalab-to

surya

Affected versions
>=0 <=0.22.1

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/07/2026, 12:03:54 UTC

Technical Analysis

The surya 0.22.1 screenshot server contains an unauthenticated arbitrary file read vulnerability in its /info, /page, and /process routes. These routes accept raw file_path parameters that are passed to Image.open or pypdfium2.PdfDocument without proper validation or sanitization. This flaw allows attackers to read arbitrary image or PDF files on the host system, retrieve their rendered contents encoded in base64, and use the /info endpoint to confirm file existence. The vulnerability has a CVSS 4.0 score of 8.7, indicating high severity, with network attack vector, no privileges or user interaction required, and high impact on confidentiality.

Potential Impact

An unauthenticated attacker can read arbitrary image or PDF files on the host running the surya 0.22.1 screenshot server. This can lead to disclosure of sensitive information contained in these files. The vulnerability does not require authentication, privileges, or user interaction, making exploitation straightforward if the server is accessible. The ability to use /info as an existence oracle can aid attackers in enumerating files on the system.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. 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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
VulnCheck
Date Reserved
2026-09-04T13:51:43.257Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6a9adb47acd9273b49bef5cf

Added to database: 09/04/2026, 14:52:55 UTC

Last enriched: 09/07/2026, 12:03:54 UTC

Last updated: 10/17/2026, 18:48:23 UTC

Views: 69

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses