Read the docs
TI-2026-23001 Aliases CVE-2026-28807GHSA-h7cj-j2vv-qw8r

Path Traversal in wisp.serve_static allows arbitrary file read

Priority MEDIUM 46CWE-22Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
Information disclosure
Confidentiality · integrity · availability
High · None · None
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-22 and the CVSS impact.

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. 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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.01165 67th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed wisp (gleam-wisp): 2.2.1wisp (Hex): 2.2.1

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
gleam-wispwisp2.1.1 to before 2.2.12.2.1Patch availableCNA
—wisp (Hex)2.1.1 to before 2.2.12.2.1Patch availableGHSA-h7cj-j2vv-qw8r
  • wisp Vendorgleam-wisp Affected 2.1.1 to before 2.2.1 Fixed in 2.2.1 Patch available CNA
  • wisp (Hex) Vendor— Affected 2.1.1 to before 2.2.1 Fixed in 2.2.1 Patch available GHSA-h7cj-j2vv-qw8r

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:gleam-wisp:wisp:*:*:*:*:*:*:*:*2.1.1 to before 2.2.1Vulnerablegleam-wisp
  • cpe:2.3:a:gleam-wisp:wisp:*:*:*:*:*:*:*:* Versions 2.1.1 to before 2.2.1 Vulnerable ·gleam-wisp

Remediation

  • Fix · CNA wisp (gleam-wisp) Fixed in 2.2.1
  • Fix · GHSA-h7cj-j2vv-qw8r wisp (Hex) Fixed in 2.2.1 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-28807
  2. 2026-10-03 Alias added: GHSA-h7cj-j2vv-qw8r

References

  • TI-2026-24682 Multipart form body parser bypasses body size limits in wisp CVSS 4.0HIGH 8.7

Sources