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.
Published: 2026-09-04
Score: 8.7 High
EPSS: < 1% Very Low
KEV: No
Impact: Arbitrary File Read
Action: Immediate Patch
AI Analysis

Impact

The Screenshot server in Surya 0.22.1 accepts a raw file_path parameter on the /info, /page, and /process endpoints. Through the use of Image.open or pypdfium2.PdfDocument, the supplied path is opened and the resultant rendered content is returned as Base64. This allows an attacker to read any image or PDF file stored on the host, without authentication and with no additional prerequisites. The flaw is a classic path traversal vulnerability (CWE‑73) and can expose sensitive files or configuration data, leading to a compromise of confidentiality.

Affected Systems

The vulnerability exists in Surya version 0.22.1, the screenshot service maintained by datalab-to. Any deployment of this version, regardless of platform, is affected. No other versions are listed as affected, but systems using 0.22.1 or lower should be considered at risk until patched.

Risk and Exploitability

The CVSS score of 8.7 indicates a high severity. EPSS is not available and the vulnerability is not listed in the CISA KEV catalog, but the flaw allows remote, unauthenticated access to arbitrary files. Attackers need only send HTTP requests to the vulnerable endpoints with a crafted file_path parameter, making exploitation straightforward with readily available tools or scripts. The lack of authentication or directory restrictions further lowers the effort required to read sensitive host files.

Generated by OpenCVE AI on September 4, 2026 at 15:45 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Surya to the latest release that fixes the path traversal error.
  • Configure the /info, /page, and /process endpoints to validate or whitelist file paths, ensuring only allowed directories or file types are accessed.
  • If immediate upgrade is not possible, disable or restrict these endpoints through firewall or web server rules, or enable authentication to prevent unauthenticated access.

Generated by OpenCVE AI on September 4, 2026 at 15:45 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 04 Sep 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 04 Sep 2026 16:15:00 +0000

Type Values Removed Values Added
First Time appeared Datalab-to
Datalab-to surya
Vendors & Products Datalab-to
Datalab-to surya

Fri, 04 Sep 2026 14:45:00 +0000

Type Values Removed Values Added
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.
Title surya 0.22.1 Unauthenticated Arbitrary File Read via screenshot server
Weaknesses CWE-73
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'}

cvssV4_0

{'score': 8.7, 'vector': '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'}


Subscriptions

Datalab-to Surya
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-09-04T17:45:02.009Z

Reserved: 2026-09-04T13:51:43.257Z

Link: CVE-2026-85687

cve-icon Vulnrichment

Updated: 2026-09-04T17:44:56.268Z

cve-icon NVD

Status : Deferred

Published: 2026-09-04T15:17:46.507

Modified: 2026-09-10T15:53:23.707

Link: CVE-2026-85687

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-04T16:00:05Z

Weaknesses
  • CWE-73

    External Control of File Name or Path