CVE-2026-85687: External Control of File Name or Path in datalab-to 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
Affected software
datalab-to
surya
AI-Powered Analysis
Machine-generated threat intelligence
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.
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 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.