Skip to content
Heist/ feed
Back to feed
High

surya 0.22.1 Unauthenticated Arbitrary File Read via screenshot server

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-85687
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 22:11 UTC · Revision 1

Source evidence

surya 0.22.1 Unauthenticated Arbitrary File Read via screenshot server

core-osv · Original source

Published 4 Sept 2026, 14:32 UTC

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.

osv:CVE-2026-85687
Complete source record
{
  "id": "bb5a1858752c53aa60a3cb5c5d008b3ad689161455d8b78391fc72dc9d969ca9",
  "url": "https://osv.dev/vulnerability/CVE-2026-85687",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "surya 0.22.1 Unauthenticated Arbitrary File Read via screenshot server",
    "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.",
    "evidence": "osv:CVE-2026-85687",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-85687",
      "aliases": [
        "CVE-2026-85687"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "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": [
        {
          "ranges": [
            {
              "repo": "https://github.com/datalab-to/surya",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "3a70081f6a60013dab818c82ab99451aa290f389"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "0.22.1"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v0.22.1",
            "v0.22.0",
            "v0.21.2",
            "v0.21.1",
            "v0.21.0",
            "v0.20.0",
            "v0.17.1",
            "v0.16.7",
            "v0.17.0",
            "v0.16.6",
            "v0.16.5",
            "v0.16.4",
            "v0.16.3",
            "v0.16.2",
            "v0.16.1",
            "v0.16.0",
            "v0.15.4",
            "v0.14.1",
            "v0.15.3",
            "v0.15.2",
            "v0.15.1",
            "v0.15.0",
            "v0.14.7",
            "v0.14.6",
            "v0.14.5",
            "v0.14.4",
            "v0.14.3",
            "v0.14.2",
            "v0.14.0",
            "v0.13.1",
            "v0.13.0",
            "v0.13",
            "v0.12.1",
            "v0.12.0",
            "v0.11.1",
            "v0.11.0",
            "v0.10.3",
            "v0.10.2",
            "v0.10.1",
            "v0.10.0",
            "v0.9.3",
            "v0.9.2",
            "v0.9.1",
            "v0.9.0",
            "v0.8.3",
            "v0.8.2",
            "v0.8.1",
            "v0.8.0",
            "v0.7.0",
            "v0.6.13",
            "v0.6.12",
            "v0.6.11",
            "v0.6.10",
            "v0.6.9",
            "v0.6.8",
            "v0.6.7",
            "v0.6.6",
            "v0.6.5",
            "v0.6.4",
            "v0.6.3",
            "v0.6.2",
            "v0.6.1",
            "v0.6.0",
            "v0.5.0",
            "v0.4.15",
            "v0.4.14",
            "v0.4.12",
            "v0.4.11",
            "v0.4.10",
            "v0.4.9",
            "v0.4.8",
            "v0.4.7",
            "v0.4.6",
            "v0.4.5",
            "v0.4.4",
            "v0.4.3",
            "v0.4.2",
            "v0.4.1",
            "v0.4.0",
            "v0.3.0",
            "v0.2.4",
            "v0.2.3",
            "v0.2.2",
            "v0.2.1",
            "v0.2.0",
            "v0.1.6",
            "v0.1.5"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-85687.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:31.920507692Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/85xxx/CVE-2026-85687.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-85687",
        "https://www.vulncheck.com/advisories/surya-0.22.1-unauthenticated-arbitrary-file-read-via-screenshot-server",
        "https://github.com/datalab-to/surya/issues/518",
        "https://github.com/datalab-to/surya",
        "https://github.com/datalab-to/surya/blob/v0.22.1/surya/scripts/screenshot_app.py"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-73"
        ],
        "cna_assigner": "VulnCheck",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/85xxx/CVE-2026-85687.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-85687",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 499119,
  "published_at": "2026-09-04T14:32:32.43+00:00"
}