CVE Explorer
CVE-2026-42574
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.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
1
Preserved source conflicts
No provider value was silently selected as the winner.
cwe · 2 assertions
{"cweId":"CWE-22","description":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:40de8fbb77c033bce43b74fcf5a9a063c6cfffebe247b482679367da1797312b · sha256:538011f81c285b3d… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-59","description":"CWE-59: Improper Link Resolution Before File Access ('Link Following')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:40de8fbb77c033bce43b74fcf5a9a063c6cfffebe247b482679367da1797312b · sha256:538011f81c285b3d… · /containers/cna/problemTypes/1/descriptions/0
Affected products and versions
1 source assertion{"product":"apko","vendor":"chainguard-dev","versions":[{"status":"affected","version":">= 0.14.8, < 1.2.5"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:40de8fbb77c033bce43b74fcf5a9a063c6cfffebe247b482679367da1797312b · sha256:538011f81c285b3d… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:40de8fbb77c033bce43b74fcf5a9a063c6cfffebe247b482679367da1797312b · sha256:538011f81c285b3d… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
2 source assertions{"cweId":"CWE-22","description":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:40de8fbb77c033bce43b74fcf5a9a063c6cfffebe247b482679367da1797312b · sha256:538011f81c285b3d… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-59","description":"CWE-59: Improper Link Resolution Before File Access ('Link Following')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:40de8fbb77c033bce43b74fcf5a9a063c6cfffebe247b482679367da1797312b · sha256:538011f81c285b3d… · /containers/cna/problemTypes/1/descriptions/0
Source references
4 source assertions{"name":"https://github.com/chainguard-dev/apko/commit/f5a96e1299ac81c7ea9441705ec467688086f442","tags":["x_refsource_MISC"],"url":"https://github.com/chainguard-dev/apko/commit/f5a96e1299ac81c7ea9441705ec467688086f442"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:40de8fbb77c033bce43b74fcf5a9a063c6cfffebe247b482679367da1797312b · sha256:538011f81c285b3d… · /containers/cna/references/2
{"name":"https://github.com/chainguard-dev/apko/pull/2187","tags":["x_refsource_MISC"],"url":"https://github.com/chainguard-dev/apko/pull/2187"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:40de8fbb77c033bce43b74fcf5a9a063c6cfffebe247b482679367da1797312b · sha256:538011f81c285b3d… · /containers/cna/references/1
{"name":"https://github.com/chainguard-dev/apko/releases/tag/v1.2.5","tags":["x_refsource_MISC"],"url":"https://github.com/chainguard-dev/apko/releases/tag/v1.2.5"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:40de8fbb77c033bce43b74fcf5a9a063c6cfffebe247b482679367da1797312b · sha256:538011f81c285b3d… · /containers/cna/references/3
{"name":"https://github.com/chainguard-dev/apko/security/advisories/GHSA-qq3r-w4hj-gjp6","tags":["x_refsource_CONFIRM"],"url":"https://github.com/chainguard-dev/apko/security/advisories/GHSA-qq3r-w4hj-gjp6"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:40de8fbb77c033bce43b74fcf5a9a063c6cfffebe247b482679367da1797312b · sha256:538011f81c285b3d… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.