apko has incorrect permission (0666) in /etc/ld.so.cache and other files
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- High
- Impact type
- —
- Confidentiality · integrity · availability
- High · Low · Low
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.
Summary
apko allows users to build and publish OCI container images built from apk packages. Starting in version 0.27.0 and prior to version 0.29.5, critical files were inadvertently set to 0666, which could likely be abused for root escalation. Version 0.29.5 contains a fix for the issue.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| chainguard-dev | apko | 0.27.0 to before 0.29.5 | 0.29.5 | Patch available | CNA |
| — | chainguard.dev/apko (Go) | 0.27.0 to before 0.29.5 | 0.29.5 | Patch available | GHSA-x6ph-r535-3vjw |
- apko Vendorchainguard-dev Affected 0.27.0 to before 0.29.5 Fixed in 0.29.5 Patch available CNA
- chainguard.dev/apko (Go) Vendor— Affected 0.27.0 to before 0.29.5 Fixed in 0.29.5 Patch available GHSA-x6ph-r535-3vjw
CPE names Threatist (inferred) · 1
Inferred from how NVD named this product before; not given by a source.
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:chainguard:apko:*:*:*:*:*:*:*:* | — | — | chainguard-dev |
- cpe:2.3:a:chainguard:apko:*:*:*:*:*:*:*:* Versions — — ·chainguard-dev
Remediation
- Fix · CNA apko (chainguard-dev) Fixed in 0.29.5
- Fix · GHSA-x6ph-r535-3vjw chainguard.dev/apko (Go) Fixed in 0.29.5 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2025-53945
- 2026-10-03 Alias added: GHSA-x6ph-r535-3vjw
References
Other 6
- https://github.com/chainguard-dev/apko/security/advisories/GHSA-x6ph-r535-3vjw
- https://github.com/chainguard-dev/apko/commit/04f37e2d50d5a502e155788561fb7d40de705bd9
- https://github.com/chainguard-dev/apko/commit/aedb0772d6bf6e74d8f17690946dbc791d0f6af3
- https://github.com/chainguard-dev/apko/releases/tag/v0.27.0
- https://github.com/chainguard-dev/apko/releases/tag/v0.29.5
- https://github.com/chainguard-dev/apko
More chainguard-dev vulnerabilities
- TI-2024-23955 apko Exposure of HTTP basic auth credentials in log output CVSS 3.1HIGH 7.5
- TI-2026-22680 kaniko has tar archive path traversal in build context extraction allows writing files outside destination directory CVSS 3.1HIGH 8.2
- TI-2026-83911 kaniko sends Azure access tokens to lookalike ACR registry hosts CVSS 3.1CRITICAL 9.3
- TI-2026-30854 apko dirFS has a symlink-following path traversal that allows multiple entry points to escape the build root CVSS 3.1HIGH 7.5
- TI-2026-20302 apko affected by potential unbounded resource consumption in expandapk.ExpandApk on attacker-controlled .apk streams CVSS 3.1HIGH 7.5
- TI-2026-20284 apko is vulnerable to path traversal in apko dirFS which allows filesystem writes outside base CVSS 3.1HIGH 7.5
Sources
- CVE-2025-53945 · CVE Program
- CVE-2025-53945 · NVD
- FIRST EPSS
- GHSA-x6ph-r535-3vjw · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences