SecurityContext

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

IdName
CWE-22Improper Limitation of a Pathname to a Restricted Directory

Public exploits

UrlSourceAdded date
https://github.com/gleam-wisp/wisp/security/advisories/GHSA-h7cj-j2vv-qw8rnvd2026-03-10

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/gleam-wisp/wisp/commit/161118c431047f7ef1ff7cabfcc38981877fdd93Patch
https://github.com/gleam-wisp/wisp/security/advisories/GHSA-h7cj-j2vv-qw8rExploit, Patch, Vendor Advisory
https://cna.erlef.org/cves/CVE-2026-28807.htmlThird Party Advisory
https://osv.dev/vulnerability/EEF-CVE-2026-28807Third Party Advisory
https://github.com/gleam-wisp/wisp/commit/129dcb1fe10ab1e676145d91477535e1c90ab550
https://github.com/gleam-wisp/wisp/commit/987d3641fa038f749f68621a87b5e9a42ee9ef83

Products

ProductAffectedPlatform boundSourcesUrl
gleam-wisp:wisp>= 2.1.1, < 2.2.1nonvd/v1/products/gleam-wisp/wisp

Projects

RepositoryLink kindsIndexedUrl
gleam-wisp/wispcommit, package, security_advisoryyes/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