CVE-2025-53945: chainguard-dev apko · Incorrect Default Permissions
Affects chainguard-dev apkoSource CVE Database V5
Not known to be exploited · CVSS 7.0 High : upgrade to 0.29.5 soon.
Data as of 25 Oct 2026, 19:02 UTC
- EPSS
- 0.1% chance of exploitation in 30 days – higher than 3% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 0.29.5
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:LExploitation evidence
Disclosed: evidence found.
CVE published 18 Jul 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.
What to do
Upgrade chainguard-dev/apko to 0.29.5.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
GitHubchainguard-dev/apkopkg:github/chainguard-dev/apkoOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
European organizations should immediately audit their use of apko to identify any deployments running affected versions (>=0.27.0 and <0.29.5). The primary mitigation is to upgrade apko to version 0.29.5 or later, where the incorrect permissions issue is resolved. Additionally, organizations should review file permission policies within their container build environments to ensure critical files are not globally writable. Implement strict access controls and monitoring on build servers to detect unauthorized modifications. Employ container image signing and verification to detect tampering. Integrate security scanning tools in CI/CD pipelines to identify vulnerable apko versions and misconfigurations early. Limit local user access to build environments to trusted personnel only, and consider using container runtime security tools to monitor for privilege escalation attempts. Regularly review and harden host OS security settings to reduce the impact of potential container breakout attempts. Finally, maintain an incident response plan tailored for container security incidents.
Description
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.
References
- github.com/chainguard-dev/apko/security/advisories/GHSA-x6ph-r535-3vjw (opens in a new tab)
- github.com/chainguard-dev/apko/commit/04f37e2d50d5a502e155788561fb7d40de705bd9 (opens in a new tab)
- github.com/chainguard-dev/apko/commit/aedb0772d6bf6e74d8f17690946dbc791d0f6af3 (opens in a new tab)
- github.com/chainguard-dev/apko/releases/tag/v0.27.0 (opens in a new tab)
- github.com/chainguard-dev/apko/releases/tag/v0.29.5 (opens in a new tab)