{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "last_affected": "4.2.1"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "1a30fd6d47e9987474d6f928102142c30737eb07"
            }
          ],
          "repo": "https://github.com/thephpleague/glide",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-22"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142185.json"
  },
  "details": "Glide through 4.2.1 contains a path traversal vulnerability that allows remote unauthenticated attackers to read images outside configured prefixes by supplying encoded dot-dot sequences. When image URLs are not signed, attackers can send ..%2F sequences in request paths or the mark parameter to read images elsewhere on the filesystem and write cache files outside cache_path_prefix.",
  "id": "CVE-2026-142185",
  "modified": "2026-12-02T17:46:01.218028415Z",
  "published": "2026-12-02T16:51:06.203Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142185.json"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/thephpleague/glide"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/thephpleague/glide/blob/4.2.1/src/Manipulators/Watermark.php#L127-L152"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/thephpleague/glide/blob/4.2.1/src/Server.php#L174-L193"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-142185"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/glide-through-4.2.1-path-traversal-via-server-getsourcepath-and-watermark"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Glide through 4.2.1 Path Traversal via Server::getSourcePath and Watermark"
}