{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "0.22.1"
              }
            ],
            "source": "AFFECTED_FIELD"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "3a70081f6a60013dab818c82ab99451aa290f389"
            }
          ],
          "repo": "https://github.com/datalab-to/surya",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-73"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/85xxx/CVE-2026-85687.json"
  },
  "details": "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.",
  "id": "CVE-2026-85687",
  "modified": "2026-09-06T03:30:13.751729398Z",
  "published": "2026-09-04T14:32:32.430Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/85xxx/CVE-2026-85687.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-85687"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/surya-0.22.1-unauthenticated-arbitrary-file-read-via-screenshot-server"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/datalab-to/surya/issues/518"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/datalab-to/surya"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/datalab-to/surya/blob/v0.22.1/surya/scripts/screenshot_app.py"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "surya 0.22.1 Unauthenticated Arbitrary File Read via screenshot server"
}