CVE-2026-28807: gleam-wisp - Path Traversal
- Cve: CVE-2026-28807
- Name: gleam-wisp - Path Traversal
- 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.
- Impact: Unauthenticated attackers can read any file accessible by the application, exposing source code, configuration, secrets, and system files.
- Remediation: Upgrade to version 2.2.1 or later.
- Vulnerability type: path_traversal
- Vulnerability impact: file_system_read, information_disclosure
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Epss score: 0.01233
- Epss percentile: 0.69605
- Assignee: 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
- Published at: 2026-03-10T22:16:18Z
- Age in days: 259
- Modified at: 2026-11-20T06:17:23Z
- Patch available: yes
- Public exploits total: 1
- References total: 6
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-28807
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/gleam-wisp/wisp/security/advisories/GHSA-h7cj-j2vv-qw8r | nvd | 2026-03-10 |
References
Same in every row:
- Source: nvd
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| gleam-wisp:wisp | >= 2.1.1, < 2.2.1 | no | nvd | /v1/products/gleam-wisp/wisp |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| gleam-wisp/wisp | commit, package, security_advisory | yes | /v1/repositories/gleam-wisp/wisp |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2026-03-10
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts