{"vuln_id":"CVE-2026-28807","aliases":["GHSA-h7cj-j2vv-qw8r"],"description":"Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in gleam-wisp wisp allows arbitrary file read via percent-encoded path traversal.\n\nThe wisp.serve_static function is vulnerable to path traversal because sanitization runs before percent-decoding. The encoded sequence %2e%2e passes through string.replace unchanged, then uri.percent_decode converts it to .., which the OS resolves as directory traversal when the file is read.\n\nAn unauthenticated attacker can read any file readable by the application process in a single HTTP request, including application source code, configuration files, secrets, and system files.\n\nThis issue affects wisp: from 2.1.1 before 2.2.1.","published_at":"2026-03-10T22:16:18.640000Z","modified_at":"2026-11-20T06:17:23.230000Z","first_seen_at":"2026-11-21T19:15:46.144830Z","severity":"high","severity_source":"nvd","cvss_score":8.7,"cvss_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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","cwe":["CWE-22"],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":0.01233,"epss_percentile":0.69758,"nvd_status":"Modified","enriched_at":null,"links":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-28807"},"matched_alias":null,"items":[{"id":3062,"source":{"id":"nvd","name":"NVD CVE API 2.0"},"title":"CVE-2026-28807: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in gleam-wisp wisp allows arbitrary file read via percent-encoded…","summary":"Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in gleam-wisp wisp allows arbitrary file read via percent-encoded path traversal.\n\nThe wisp.serve_static function is vulnerable to path traversal because sanitization runs before percent-decoding. The encoded sequence %2e%2e passes through string.replace unchanged, then uri.percent_decode converts it to .., which the OS resolves as directory traversal when the file is read.\n\nAn unauthenticated attacker can read any file readable by the application process in a single HTTP request, including application source code, configuration files, secrets, and system files.\n\nThis issue affects wisp: from 2.1.1 before 2.2.1.\n\nReferences:\nhttps://cna.erlef.org/cves/CVE-2026-28807.html\nhttps://github.com/gleam-wisp/wisp/commit/129dcb1fe10ab1e676145d91477535e1c90ab550\nhttps://github.com/gleam-wisp/wisp/commit/161118c431047f7ef1ff7cabfcc38981877fdd93\nhttps://github.com/gleam-wisp/wisp/commit/987d3641fa038f749f68621a87b5e9a42ee9ef83\nhttps://github.com/gleam-wisp/wisp/security/advisories/GHSA-h7cj-j2vv-qw8r\nhttps://osv.dev/vulnerability/EEF-CVE-2026-28807","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-28807","published_at":"2026-03-10T22:16:18.640000Z","updated_at":"2026-11-20T06:17:23.230000Z","fetched_at":"2026-11-21T19:15:31.478677Z","severity":"high","cvss_score":8.7,"epss":0.01233,"is_kev":false,"has_exploit":true,"kev_due_date":null,"vendor":null,"product":null,"vuln_id":"CVE-2026-28807","vuln_ids":["CVE-2026-28807","GHSA-H7CJ-J2VV-QW8R"],"tags":["CWE-22"],"cluster_id":3065,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/3062","html":"https://vulnwatch.ve1ve2.com/item/3062"}}]}