CVE-2026-28807
High 8.7No known exploitationFix availablePath Traversal in wisp.serve_static allows arbitrary file read
Record last updated
CVSS score
High on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
Higher than 70% of scored CVEs. A prediction, not evidence.
CISA remediation deadline
Not in the KEV catalog
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. The 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. An 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. This issue affects wisp: from 2.1.1 before 2.2.1.
Weakness: CWE-22
Patching and mitigation
- Patch status
- Fix available (source: NVD (reference tagged Patch))
- Fix documented (source date)
- Mitigation
- None documented
- Vendor guidance
- github.com (opens in a new tab)
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| gleam-wisp | wisp | from 2.1.1 before 2.2.1 | 2.2.1 | NIST NVD |
| gleam-wisp | wisp | from 2.1.1 before 2.2.1 | 2.2.1 | CVE Program |
| gleam-wisp | wisp | 129dcb1fe10ab1e676145d91477535e1c90ab550 | Not documented | CVE Program |
Timeline
Disclosure
CVE record published by EEF
Source: CVE Program (opens in a new tab)
Patch
Fix documented by NVD (reference tagged Patch)
Vendor guidance and references
- Fix commit 161118c in gleam-wisp/wisp (opens in a new tab)patch
- Fix commit 987d364 in gleam-wisp/wisp (opens in a new tab)patch
- Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in wisp (opens in a new tab)vendor-advisory, related
- EEF CNA record for CVE-2026-28807 (opens in a new tab)related, third party advisory
- Introducing commit 129dcb1 in gleam-wisp/wisp (opens in a new tab)related
- OSV record EEF-CVE-2026-28807 (opens in a new tab)related, third party advisory