Skip to main content

Zephyr RTOS CVE-2026-8023

HIGH
Path Traversal (CWE-22)
2026-06-29 zephyr
7.5
CVSS 3.1 · Vendor: zephyr
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach device HTTP server (no auth)
  2. Delivery
    Send GET with ../ traversal path
  3. Exploit
    Handler concatenates path to web root
  4. Execution
    Filesystem resolves .. past web root
  5. Persist
    Read arbitrary file via fs_open
  6. Impact
    Exfiltrate 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.7% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Vendor (zephyr) PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
vuln.today AI 7.5 HIGH

Unauthenticated remote request with low complexity reads arbitrary files (PR:N, AC:L, C:H); no integrity or availability impact and scope unchanged.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (zephyr).

CVSS VectorVendor: zephyr

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

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

Why It Matters

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.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.7%
Top 52% exploitable
Prevalence
Medium
widely-used embedded/IoT RTOS, but vulnerable static-FS HTTP config is opt-in
Social Media
4
Sightings
Data Quality
6 sources
Confidence: High
NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.7%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

39
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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

cpe:2.3:a:zephyrproject:zephyr:*:*:*:*:*:*:*:*

More in Zephyr

View all
CVE-2023-4260 CRITICAL POC
10.0 Sep 27

Potential off-by-one buffer overflow vulnerability in the Zephyr fuse file system. Rated critical severity (CVSS 10.0),

CVE-2026-1678 CRITICAL POC
9.8 Mar 05

An out-of-bounds write in the Zephyr RTOS DNS resolver (dns_unpack_name()) lets a crafted DNS response corrupt memory on

CVE-2023-5055 CRITICAL POC
9.8 Nov 21

Possible variant of CVE-2021-3434 in function le_ecred_reconf_req. Rated critical severity (CVSS 9.8), this vulnerabilit

CVE-2023-4257 CRITICAL POC
9.8 Oct 13

Unchecked user input length in /subsys/net/l2/wifi/wifi_shell.c can cause buffer overflows. Rated critical severity (CVS

CVE-2023-3725 CRITICAL POC
9.8 Oct 06

Potential buffer overflow vulnerability in the Zephyr CAN bus subsystem. Rated critical severity (CVSS 9.8), this vulner

CVE-2021-3323 CRITICAL POC
9.8 Oct 12

Integer Underflow in 6LoWPAN IPHC Header Uncompression in Zephyr. Rated critical severity (CVSS 9.8), this vulnerability

CVE-2021-3625 CRITICAL POC
9.8 Oct 05

Buffer overflow in Zephyr USB DFU DNLOAD. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable

CVE-2021-3319 CRITICAL POC
9.8 Oct 05

DOS: Incorrect 802154 Frame Validation for Omitted Source / Dest Addresses. Rated critical severity (CVSS 9.8), this vul

CVE-2018-1000800 CRITICAL POC
9.8 Sep 06

zephyr-rtos version 1.12.0 contains a NULL base pointer reference vulnerability in sys_ring_buf_put(), sys_ring_buf_get(

CVE-2023-4264 CRITICAL POC
9.6 Sep 27

Potential buffer overflow vulnerabilities n the Zephyr Bluetooth subsystem. Rated critical severity (CVSS 9.6), this vul

CVE-2024-1638 CRITICAL POC
9.1 Feb 19

The documentation specifies that the BT_GATT_PERM_READ_LESC and BT_GATT_PERM_WRITE_LESC defines for a Bluetooth characte

CVE-2023-5753 HIGH POC
8.8 Oct 25

Potential buffer overflows in the Bluetooth subsystem due to asserts being disabled in /subsys/bluetooth/host/hci_core.c

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy