CVE-2026-8023
Last modified
CVE-2026-8023 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. Zephyr's HTTP server (subsys/net/lib/http) provides a static-filesystem resource type (HTTP_RESOURCE_TYPE_STATIC_FS, available when CONFIG_FILE_SYSTEM is enabled) that serves files from a configured root directory. Before this fix, both the HTTP/1 and HTTP/2 front-ends placed the raw, attacker-controlled request path into client->url_buffer (assembled in on_url() for HTTP/1 and copied verbatim from the :path pseudo-header for HTTP/2) without resolving ./.. EPSS estimates a 0.91% chance of exploitation in the next 30 days.
Description
Zephyr's HTTP server (subsys/net/lib/http) provides a static-filesystem resource type (HTTP_RESOURCE_TYPE_STATIC_FS, available when CONFIG_FILE_SYSTEM is enabled) that serves files from a configured root directory. Before this fix, both the HTTP/1 and HTTP/2 front-ends placed the raw, attacker-controlled request path into client->url_buffer (assembled in on_url() for HTTP/1 and copied verbatim from the :path pseudo-header for HTTP/2) without resolving ./.. segments. The static-FS handler then built the on-disk filename by directly concatenating the configured root with that raw URL (snprintk(fname, ..., "%s%s", static_fs_detail->fs_path, client->url_buffer) at http_server_http1.c:603 and http_server_http2.c:490) and opened it with fs_open(fname, FS_O_READ). Because the handler is reached via wildcard/leading-dir (fnmatch FNM_LEADING_DIR) or fallback resource matching, a request such as GET /<prefix>/../../<file> is dispatched to the handler and, after the underlying filesystem (e.g. LittleFS/FAT) resolves the .. segments, escapes the configured web root, letting an unauthenticated remote client read arbitrary readable files on the mounted volume (information disclosure). The HTTP server requires no TLS or authentication to reach this path. The fix adds http_server_remove_dot_segments(), which canonicalizes the path portion of the URL before resource lookup in both protocol handlers, neutralizing the traversal. Affects releases v4.0.0 through v4.4.0 for deployments that register a static-filesystem resource.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Zephyrproject | Zephyr | >= 4.0.0, <= 4.4.1 |
References
- https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-hch3-53g6-jj3hExploit, Patch, Vendor Advisory
- https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-hch3-53g6-jj3hExploit, Patch, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2026-8023?
How severe is CVE-2026-8023?
How do I fix CVE-2026-8023?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-80219Rejected reason: Red Hat Product Security has come to the co…
- CVE-2026-8022Inappropriate implementation in MHTML in Google Chrome prior…3.1
- CVE-2026-80223Incorrect Authorization vulnerability in ash-project ash_gra…7.1
- CVE-2026-80225In NLnetLabs Unbound up to and including 1.26.0, a degradati…7.5
- CVE-2026-80227Incorrect Comparison vulnerability in ash-project ash_sql al…2.1
- CVE-2026-80229When performing transfers via libcurl’s multi interface, poo…7.5
- CVE-2026-80230When `CURLOPT_PINNEDPUBLICKEY` is configured alongside optio…7.5
- CVE-2026-80231A flaw in libcurl makes it wrongly reuse an existing HTTPS c…7.5
- CVE-2026-80233CAYIN CMS-WS, CMS-SE, and SMP series products developed by C…7.2
- CVE-2026-80234CAYIN CMS-WS and CMS-SE developed by CAYIN Technology have a…5.3
- CVE-2026-80235EFence developed by Thinking Software Technology has an Arbi…9.8
- CVE-2026-80236Efence developed by Thinking Software Technology has a SQL I…8.2
Are you affected by CVE-2026-8023?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
