7.5

CVE-2026-25121: chainguard-dev apko Relative Path Traversal

CVSS: 7.5v3.1HighAnalyzed
AliasesCGA-2pcx-c8xm-j9hgCGA-j7v7-gm63-rq7cGHSA-5g94-c2wx-8pxw
Published 04-02-2026Last modified 04-02-2026

Vulnerability summary

CVE-2026-25121 is a high (CVSS 7.5) Relative Path Traversal vulnerability in chainguard-dev apko. EPSS estimates a 0.42% chance of exploitation in the next 30 days, higher than 34.8% of scored vulnerabilities.

Overall risk
30/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.5/10
010
High · v3.1 (CVE.org)
EPSS score
0.42%
0%100%
Low · +0.04 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 2 · Related 3

Timeline

  1. 04-02-2026
    PublishedVulnerability first disclosed.
  2. 04-02-2026
    Last modifiedVulnerability information updated.

Description

apko allows users to build and publish OCI container images built from apk packages. From version 0.14.8 to before 1.1.1, a path traversal vulnerability was discovered in apko's dirFS filesystem abstraction. An attacker who can supply a malicious APK package (e.g., via a compromised or typosquatted repository) could create directories or symlinks outside the intended installation root. The MkdirAll, Mkdir, and Symlink methods in pkg/apk/fs/rwosfs.go use filepath.Join() without validating that the resulting path stays within the base directory. This issue has been patched in version 1.1.1.

CVSS metrics

5 scores · 5 sources · 1 version

EPSS trend

Probability

0.42%

Chance of exploitation in the next 30 days

Percentile

35%

Versus all other CVEs

30-day change

+0.04 pp

From 0.38% on 19-09-2026

19-09-202619-10-2026
EPSS score
0.42%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Chainguard6 products
  • amazon-ssm-agent< 3.3.3270.0-r5
  • amazon-ssm-agent-ecs-exec< 3.3.3270.0-r5
  • cg< 0.2.201-r0
  • chainctl< 0.2.206-r0
  • dagdotdev< 0.0.20-r6
Chainguard-dev1 product
  • apko≥ 0.14.8, < 1.1.1
Chainguard.dev1 product
  • apko≥ 0.14.8, < 1.1.0
Wolfi1 product
  • dagdotdev< 0.0.20-r6

4 vendors · 9 products

References

5 links