Security mailing lists by PureSourceCode

CVE-2026-28807

HIGH 8.7CVSS 4.0

Path Traversal in wisp.serve_static allows arbitrary file read

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.

Published
10 Mar 2026
Last modified
25 Nov 2026
Assigned by
6b3ad84c-e1a6-4bf7-a703-f496b71e49db
NVD status
Modified
Weakness
CWE-22
Also known as
EEF-CVE-2026-28807GHSA-h7cj-j2vv-qw8r
Sources
NVDJSONCVE ListJSONOSV EEF-CVE-2026-28807JSONOSV GHSA-h7cj-j2vv-qw8rJSON

Scores

SourceScored byVersionScoreVector / decision
NVD 6b3ad84c-e1a6-4bf7-a703-f496b71e49db (Secondary) CVSS 4.0 HIGH 8.7 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
CVE List EEF CVSS 4.0 HIGH 8.7 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
OSV GitHub CVSS 4.0 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
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
OSV GitHub CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CVE List CISA-ADP SSVC Exploitation: none; Automatable: yes; Technical Impact: partial

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD gleam-wisp wisp
cpe:2.3:a:gleam-wisp:wisp:*:*:*:*:*:*:*:*
>= 2.1.1, < 2.2.1 2.2.1
CVE List https://repo.hex.pm wisp
cpe:2.3:a:gleam-wisp:wisp:*:*:*:*:*:*:*:*
>= 2.1.1, < 2.2.1 2.2.1
CVE List https://github.com gleam-wisp/wisp
cpe:2.3:a:gleam-wisp:wisp:*:*:*:*:*:*:*:*
>= 129dcb1fe10ab1e676145d91477535e1c90ab550
OSV Hex wisp >= 2.1.1, < 2.2.1 2.2.1

References

History

  • 25 Nov 2026 20:32 UTC · CVE List: first stored (published 10 Mar 2026)
  • 25 Nov 2026 20:15 UTC · OSV: first stored (published 10 Mar 2026)
  • 25 Nov 2026 20:15 UTC · OSV: first stored (published 11 Mar 2026)
  • 25 Nov 2026 20:10 UTC · NVD: first stored (published 10 Mar 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.