Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-8023— Path traversal in Zephyr HTTP server static-filesystem resource handler allows unauthenticated remote arbitrary file read

CVSS 7.5 · High EPSS 0.91% · P57

Possible ATT&CK Techniques 1AI

T1083 · File and Directory Discovery

Affected Version Matrix 1

VendorProductVersion RangeStatus
zephyrprojectzephyr4.0.0< 4.5.0affected
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2026-8023

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Path traversal in Zephyr HTTP server static-filesystem resource handler allows unauthenticated remote arbitrary file read
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
对路径名的限制不恰当(路径遍历)
Source: CVE Program / CVE List V5
Vulnerability Title
Zephyr 路径遍历漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Zephyr是Zephyr组织开源的一个可扩展的实时操作系统 (RTOS)。 Zephyr 4.0.0版本至4.4.0版本存在路径遍历漏洞,该漏洞源于HTTP服务器在处理静态文件系统资源时,未解析./..路径段,将攻击者控制的原始请求路径直接与配置的根目录拼接,导致路径遍历,可使未经身份验证的远程攻击者读取受影响的挂载卷上的任意可读文件。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
zephyrprojectzephyr 4.0.0 ~ 4.5.0 -

II. Public POCs for CVE-2026-8023

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-8023

登录查看更多情报信息。

Patches & Fixes for CVE-2026-8023 (1)

Vendor Advisories for CVE-2026-8023 (1)

Same Patch Batch · zephyrproject · 2026-06-29 · 4 CVEs total

CVE-2026-76568.1 HIGHBroken IPv6 Neighbor Discovery input validation allows spoofed RA/NS/NA acceptance in Zeph
CVE-2026-106486.2 MEDIUMNULL-pointer dereference in MCUmgr serial/console SMP transport on buffer-pool exhaustion
CVE-2026-106475.3 MEDIUMDeadlock denial of service in USB CDC-NCM device class on TX enqueue failure

IV. Related Vulnerabilities

V. Comments for CVE-2026-8023

No comments yet


Leave a comment