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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-42574— apko dirFS has a symlink-following path traversal that allows multiple entry points to escape the build root

Quick assessment

Affected
chainguard-dev apko
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

apko是apko开源的一个基于 apk 的 OCI 镜像构建器。 apko 0.14.8版本至1.2.5之前版本存在路径遍历漏洞,该漏洞源于特制.apk包可能安装指向构建根目录外的TypeSymlink tar条目,可能导致后续操作遍历符号链接访问主机路径。

CVSS 7.5 · High EPSS 0.51% · P42

Affected Version Matrix 1

VendorProduct Version RangeStatus
chainguard-dev apko >= 0.14.8, < 1.2.5 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-42574

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
apko dirFS has a symlink-following path traversal that allows multiple entry points to escape the build root
Source: CVE Program / CVE List V5
Vulnerability Description
apko allows users to build and publish OCI container images built from apk packages. From version 0.14.8 to before version 1.2.5, a crafted .apk could install a TypeSymlink tar entry whose target pointed outside the build root, and a subsequent directory-creation or file-write entry in the same or later archive could traverse that symlink to reach host paths the build user could write to. This issue has been patched in version 1.2.5.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
对路径名的限制不恰当(路径遍历)
Source: CVE Program / CVE List V5
Vulnerability Title
apko 路径遍历漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
apko是apko开源的一个基于 apk 的 OCI 镜像构建器。 apko 0.14.8版本至1.2.5之前版本存在路径遍历漏洞,该漏洞源于特制.apk包可能安装指向构建根目录外的TypeSymlink tar条目,可能导致后续操作遍历符号链接访问主机路径。
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

Vendor Product Affected Versions CPE Subscribe
chainguard-dev apko >= 0.14.8, < 1.2.5 -

II. Public POCs for CVE-2026-42574

# POC Description Source Link Shenlong Link
AI-Generated POC Premium
Qwen3.6-35B-A3B · 7330 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2026-42574

请登录查看更多情报信息。

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

Vendor Advisories for CVE-2026-42574 (1)

Vendor Pages for CVE-2026-42574 (1)

Same Patch Batch · chainguard-dev · 2026-05-09 · 3 CVEs total

CVE-2026-42575 7.5 HIGH apko doesn't verify downloaded apk packages against APKINDEX checksum (package substitutio
CVE-2026-42576 6.5 MEDIUM apko `DiscoverKeys` has a panic on non-rsa jwks key that causes crash during key discovery

IV. Related Vulnerabilities

V. Comments for CVE-2026-42574

No comments yet


Leave a comment