8.7
HIGH CVSS 4.0
CVE-2026-28807
Path Traversal in wisp.serve_static allows arbitrary file read
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.

INFO

Published Date :

March 10, 2026, 10:16 p.m.

Last Modified :

Nov. 20, 2026, 6:17 a.m.

Remotely Exploit :

Yes !

Source :

6b3ad84c-e1a6-4bf7-a703-f496b71e49db
Affected Products

The following products are affected by CVE-2026-28807 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Gleam-wisp wisp
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 134c704f-9b21-4f2e-91b3-4a467353bcc0
CVSS 3.1 HIGH [email protected]
CVSS 4.0 HIGH 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
CVSS 4.0 HIGH 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
Solution
Update wisp to version 2.2.1 or later to fix path traversal.
  • Update wisp to version 2.2.1.
  • Verify patch applies correctly.
  • Scan for file integrity issues.
References to Advisories, Solutions, and Tools
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-28807 is associated with the following CWEs:

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-28807 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-28807 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by 6b3ad84c-e1a6-4bf7-a703-f496b71e49db

    Nov. 20, 2026

    Action Type Old Value New Value
    Added Affected Affected value modified. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/28xxx/CVE-2026-28807.json">CVE-2026-28807</a>
  • CVE Modified by 6b3ad84c-e1a6-4bf7-a703-f496b71e49db

    Nov. 20, 2026

    Action Type Old Value New Value
    Added Affected Affected value modified. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/28xxx/CVE-2026-28807.json">CVE-2026-28807</a>
    Added Reference https://cna.erlef.org/cves/CVE-2026-28807.html
    Added Reference https://github.com/gleam-wisp/wisp/commit/129dcb1fe10ab1e676145d91477535e1c90ab550
    Added Reference https://github.com/gleam-wisp/wisp/commit/161118c431047f7ef1ff7cabfcc38981877fdd93
    Added Reference https://github.com/gleam-wisp/wisp/commit/987d3641fa038f749f68621a87b5e9a42ee9ef83
    Added Reference https://github.com/gleam-wisp/wisp/security/advisories/GHSA-h7cj-j2vv-qw8r
    Added Reference https://osv.dev/vulnerability/EEF-CVE-2026-28807
    Removed Reference https://cna.erlef.org/cves/CVE-2026-28807.html
    Removed Reference https://github.com/gleam-wisp/wisp/commit/161118c431047f7ef1ff7cabfcc38981877fdd93
    Removed Reference https://github.com/gleam-wisp/wisp/security/advisories/GHSA-h7cj-j2vv-qw8r
    Removed Reference https://osv.dev/vulnerability/EEF-CVE-2026-28807
    Removed Reference Type https://cna.erlef.org/cves/CVE-2026-28807.html Types: Third Party Advisory
    Removed Reference Type https://github.com/gleam-wisp/wisp/commit/161118c431047f7ef1ff7cabfcc38981877fdd93 Types: Patch
    Removed Reference Type https://github.com/gleam-wisp/wisp/security/advisories/GHSA-h7cj-j2vv-qw8r Types: Exploit, Patch, Vendor Advisory
    Removed Reference Type https://osv.dev/vulnerability/EEF-CVE-2026-28807 Types: Third Party Advisory
  • CVE Modified by 6b3ad84c-e1a6-4bf7-a703-f496b71e49db

    Jun. 17, 2026

    Action Type Old Value New Value
    Added Affected [{'cpes': ['cpe:2.3:a:gleam-wisp:wisp:*:*:*:*:*:*:*:*'], 'repo': 'https://github.com/gleam-wisp/wisp', 'vendor': 'gleam-wisp', 'product': 'wisp', 'versions': [{'status': 'affected', 'version': '2.1.1', 'lessThan': '2.2.1', 'versionType': 'semver'}], 'packageURL': 'pkg:hex/wisp', 'packageName': 'wisp', 'collectionURL': 'https://repo.hex.pm', 'defaultStatus': 'unaffected'}, {'cpes': ['cpe:2.3:a:gleam-wisp:wisp:*:*:*:*:*:*:*:*'], 'repo': 'https://github.com/gleam-wisp/wisp.git', 'vendor': 'gleam-wisp', 'product': 'wisp', 'versions': [{'status': 'affected', 'version': '129dcb1fe10ab1e676145d91477535e1c90ab550', 'lessThan': '161118c431047f7ef1ff7cabfcc38981877fdd93', 'versionType': 'git'}], 'packageURL': 'pkg:github/gleam-wisp/wisp', 'packageName': 'gleam-wisp/wisp', 'collectionURL': 'https://github.com', 'defaultStatus': 'unaffected'}]
  • CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0

    Jun. 17, 2026

    Action Type Old Value New Value
    Added SSVC {'id': 'CVE-2026-28807', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'none'}, {'automatable': 'yes'}, {'technicalImpact': 'partial'}], 'version': '2.0.3', 'timestamp': '2026-03-11T14:20:19.768057Z'}
  • Initial Analysis by [email protected]

    May. 27, 2026

    Action Type Old Value New Value
    Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
    Added CPE Configuration OR *cpe:2.3:a:gleam-wisp:wisp:*:*:*:*:*:*:*:* versions from (including) 2.1.1 up to (excluding) 2.2.1
    Added Reference Type EEF: https://cna.erlef.org/cves/CVE-2026-28807.html Types: Third Party Advisory
    Added Reference Type EEF: https://github.com/gleam-wisp/wisp/commit/161118c431047f7ef1ff7cabfcc38981877fdd93 Types: Patch
    Added Reference Type EEF: https://github.com/gleam-wisp/wisp/security/advisories/GHSA-h7cj-j2vv-qw8r Types: Exploit, Patch, Vendor Advisory
    Added Reference Type EEF: https://osv.dev/vulnerability/EEF-CVE-2026-28807 Types: Third Party Advisory
  • CVE Modified by 6b3ad84c-e1a6-4bf7-a703-f496b71e49db

    Apr. 06, 2026

    Action Type Old Value New Value
    Added Reference https://cna.erlef.org/cves/CVE-2026-28807.html
    Added Reference https://osv.dev/vulnerability/EEF-CVE-2026-28807
  • New CVE Received by 6b3ad84c-e1a6-4bf7-a703-f496b71e49db

    Mar. 10, 2026

    Action Type Old Value New Value
    Added 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.
    Added CVSS V4.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
    Added CWE CWE-22
    Added Reference https://github.com/gleam-wisp/wisp/commit/161118c431047f7ef1ff7cabfcc38981877fdd93
    Added Reference https://github.com/gleam-wisp/wisp/security/advisories/GHSA-h7cj-j2vv-qw8r
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.