CVE-2026-28807
Last modified
CVE-2026-28807 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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.. EPSS estimates a 1.06% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
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
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Gleam-Wisp | Wisp | >= 2.1.1, < 2.2.1 |
References
- https://cna.erlef.org/cves/CVE-2026-28807.htmlThird Party Advisory
- https://github.com/gleam-wisp/wisp/security/advisories/GHSA-h7cj-j2vv-qw8rExploit, Patch, Vendor Advisory
- https://osv.dev/vulnerability/EEF-CVE-2026-28807Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-28807?
How severe is CVE-2026-28807?
How do I fix CVE-2026-28807?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-28801Natro Macro is an open-source Bee Swarm Simulator macro writ…7.8
- CVE-2026-28802Authlib is a Python library which builds OAuth and OpenID Co…9.8
- CVE-2026-28803Open Forms allows users create and publish smart forms. Prio…6.5
- CVE-2026-28804pypdf is a free and open-source pure-python PDF library. Pri…5.3
- CVE-2026-28805OpenSTAManager is an open source management software for tec…8.8
- CVE-2026-28806Improper Authorization vulnerability in nerves-hub nerves_hu…8.8
- CVE-2026-28808Incorrect Authorization vulnerability in Erlang OTP (inets m…9.8
- CVE-2026-28809XML External Entity (XXE) vulnerability in esaml (and its fo…5.3
- CVE-2026-2881A vulnerability has been found in D-Link DWR-M960 1.01.07. T…8.8
- CVE-2026-28810Generation of Predictable Numbers or Identifiers vulnerabili…3.7
- CVE-2026-28811Debug Messages Revealing Unnecessary Information in Apache J…7.5
- CVE-2026-28812UserManager lack of checks allows impersonation in Apache JS…9.8
Are you affected by CVE-2026-28807?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
