Zephyr RTOS
CVE-2026-8023
HIGH
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach device HTTP server (no auth)
-
DeliverySend GET with ../ traversal path
-
ExploitHandler concatenates path to web root
-
ExecutionFilesystem resolves .. past web root
-
PersistRead arbitrary file via fs_open
-
ImpactExfiltrate sensitive file contents
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that the target firmware was built with CONFIG_FILE_SYSTEM enabled AND registers a static-filesystem HTTP resource (HTTP_RESOURCE_TYPE_STATIC_FS) reachable via wildcard/leading-directory or fallback resource matching, with the Zephyr HTTP server network-reachable by the attacker. Given those conditions, no authentication, TLS, or user interaction is needed (AV:N/AC:L/PR:N/UI:N) - an unauthenticated remote client simply sends a path containing ../ traversal sequences. The exploitation is limited by deployment specifics: devices without the static-FS resource, without a filesystem, or with the HTTP server isolated from attacker-reachable networks are not exploitable, and disclosure is bounded to files readable on the mounted volume. |
| Impact | Signals are largely consistent and point to a genuine, easy-to-exploit information-disclosure issue. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N, base 7.5) reflects unauthenticated network exploitation with low complexity and high confidentiality impact but no integrity or availability effect - appropriate for an arbitrary-read traversal. This is not in CISA KEV, and no POC has been published, so exploitation status is 'no public exploit identified at time of analysis'; the lack of an EPSS score in the input means probabilistic exploitation likelihood is unknown. The most important limiting factor is exposure: the vulnerable code path only exists when CONFIG_FILE_SYSTEM is enabled AND the application registers a static-filesystem HTTP resource, and the device's HTTP server must be network-reachable - so real-world impact depends heavily on deployment, which materially narrows the affected population below what the 7.5 score alone suggests. Where those conditions are met, however, exploitation is trivial and unauthenticated, making prompt patching warranted. No conflicting signals were observed; the chief gap is the absence of EPSS/KEV data to gauge in-the-wild interest. |
| Exploit ScenarioDerived | An attacker who can reach a Zephyr-based device's HTTP server (no TLS or authentication required) sends a crafted request such as GET /static/../../etc/secret against a registered static-FS resource. The HTTP server concatenates the raw path to the web root and the underlying filesystem resolves the .. segments, returning the contents of arbitrary readable files such as configuration, keys, or credentials. No POC is publicly available, but the low attack complexity makes the request straightforward to construct by hand. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 29, 2026
Arbitrary file read in the Zephyr RTOS HTTP server (subsys/net/lib/http) lets an unauthenticated remote client retrieve any readable file on the mounted filesystem volume by abusing path-traversal sequences against a registered static-filesystem resource. Affecting Zephyr v4.0.0 through v4.4.0 with CONFIG_FILE_SYSTEM enabled and a static-FS resource registered, the flaw stems from the raw request path being concatenated to the web root without canonicalization in both the HTTP/1 and HTTP/2 front-ends. No public exploit identified at time of analysis, but the bug is trivial to trigger (CVSS 7.5, AV:N/AC:L/PR:N/UI:N) and a vendor patch is available.
RemediationAI
Apply the vendor patch: upgrade to the fixed Zephyr release that includes commit f4a423c98554f209c5d2f22f041822422c9263b8, which adds http_server_remove_dot_segments() to canonicalize URL paths in both the HTTP/1 and HTTP/2 handlers (Patch available per vendor advisory; consult GHSA-hch3-53g6-jj3h for the exact released version, as the input provides the fix commit rather than a tagged release number - released patched version not independently confirmed). If immediate upgrade is not feasible, compensating controls include: disabling or unregistering the static-filesystem HTTP resource (HTTP_RESOURCE_TYPE_STATIC_FS) if file serving is not essential, which removes the vulnerable path entirely but disables static file hosting; restricting network reachability of the HTTP server to trusted management networks via firewall/ACLs, which limits remote access but does not stop authorized-segment attackers; and minimizing what is mounted on the served volume so that traversal cannot reach sensitive files, accepting that any readable file on the volume otherwise remains exposed. Advisory references: https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-hch3-53g6-jj3h and the patch commit https://github.com/zephyrproject-rtos/zephyr/commit/f4a423c98554f209c5d2f22f041822422c9263b8.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Zephyr is a widely-used real-time operating system for resource-constrained embedded and IoT devices. The affected component is its native HTTP server library, which supports an HTTP_RESOURCE_TYPE_STATIC_FS resource type (compiled in when CONFIG_FILE_SYSTEM is enabled) that serves files from a configured root directory backed by a filesystem such as LittleFS or FAT. The root cause is CWE-22 (Improper Limitation of a Pathname to a Restricted Directory / Path Traversal): both protocol front-ends place the 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 builds the on-disk filename via snprintk(fname, ..., "%s%s", static_fs_detail->fs_path, client->url_buffer) (http_server_http1.c:603 and http_server_http2.c:490) and calls fs_open(fname, FS_O_READ). Because the handler is reached through wildcard/leading-directory matching (fnmatch with FNM_LEADING_DIR) or fallback resource matching, traversal payloads are dispatched to it, and the underlying filesystem resolves the .. segments, escaping the web root. The CPE cpe:2.3:a:zephyrproject:zephyr identifies the affected project. The fix introduces http_server_remove_dot_segments() to canonicalize the URL path before resource lookup in both handlers.
Know when Zephyr gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Unauthenticated remote request with low complexity reads arbitrary files (PR:N, AC:L, C:H); no integrity or availability impact and scope unchanged.
Primary rating from Vendor (zephyr).
CVSS VectorVendor: zephyr
DescriptionCVE.org
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.
Executive ViewAI
Zephyr RTOS-based embedded systems and IoT devices (versions 4.0.0-4.4.0) are exposed to unauthenticated remote file-access attacks that could leak credentials, configurations, proprietary algorithms, and sensitive customer data without any protective authentication. Organizations operating Zephyr HTTP servers across industrial IoT, automotive, medical devices, or connected infrastructure face immediate data-breach and regulatory-compliance risk, particularly if systems contain PII or trade secrets. Remediation is straightforward: apply the available vendor patch within 48 hours to eliminate network-accessible file exposure.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Affected Products (CPE)CVE.org
Potential off-by-one buffer overflow vulnerability in the Zephyr fuse file system. Rated critical severity (CVSS 10.0),
An out-of-bounds write in the Zephyr RTOS DNS resolver (dns_unpack_name()) lets a crafted DNS response corrupt memory on
Possible variant of CVE-2021-3434 in function le_ecred_reconf_req. Rated critical severity (CVSS 9.8), this vulnerabilit
Unchecked user input length in /subsys/net/l2/wifi/wifi_shell.c can cause buffer overflows. Rated critical severity (CVS
Potential buffer overflow vulnerability in the Zephyr CAN bus subsystem. Rated critical severity (CVSS 9.8), this vulner
Integer Underflow in 6LoWPAN IPHC Header Uncompression in Zephyr. Rated critical severity (CVSS 9.8), this vulnerability
Buffer overflow in Zephyr USB DFU DNLOAD. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable
DOS: Incorrect 802154 Frame Validation for Omitted Source / Dest Addresses. Rated critical severity (CVSS 9.8), this vul
zephyr-rtos version 1.12.0 contains a NULL base pointer reference vulnerability in sys_ring_buf_put(), sys_ring_buf_get(
Potential buffer overflow vulnerabilities n the Zephyr Bluetooth subsystem. Rated critical severity (CVSS 9.6), this vul
The documentation specifies that the BT_GATT_PERM_READ_LESC and BT_GATT_PERM_WRITE_LESC defines for a Bluetooth characte
Potential buffer overflows in the Bluetooth subsystem due to asserts being disabled in /subsys/bluetooth/host/hci_core.c
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB