# CVE-2025-53945: apko has incorrect permission (0666) in /etc/ld.so.cache and other files

- Severity: High 7.0 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.14%, higher than 3% of CVEs (2026-12-01)
- Published: 2025-07-18T15:35:17.325Z
- Modified: 2026-09-10T03:50:57.949Z
- Also known as: GHSA-x6ph-r535-3vjw, GO-2025-3816
- Related: CGA-3g3j-8396-2m48
- Weaknesses: CWE-276
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- chainguard-dev apko: >= 0.27.0, < 0.29.5
- chainguard.dev/apko (Go): from 0.27.0 before 0.29.5

## Every score

- GitHub_M: CVSS:3.1 7.0 High `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:L`
- GitHub: CVSS:3.1 7.0 High `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:L`

## References

- <https://github.com/chainguard-dev/apko/security/advisories/GHSA-x6ph-r535-3vjw> (advisory, web)
- <https://github.com/chainguard-dev/apko/commit/04f37e2d50d5a502e155788561fb7d40de705bd9> (web)
- <https://github.com/chainguard-dev/apko/commit/aedb0772d6bf6e74d8f17690946dbc791d0f6af3> (web)
- <https://github.com/chainguard-dev/apko/releases/tag/v0.27.0>
- <https://github.com/chainguard-dev/apko/releases/tag/v0.29.5> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-53945> (advisory)
- <https://github.com/chainguard-dev/apko> (package)

## Sources

- CVE List: [CVE-2025-53945](https://www.cve.org/CVERecord?id=CVE-2025-53945), CVE Terms of Use, modified 2025-07-22
- GitHub Advisory Database: [GHSA-x6ph-r535-3vjw](https://github.com/advisories/GHSA-x6ph-r535-3vjw), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2025-3816](https://pkg.go.dev/vuln/GO-2025-3816), CC-BY-4.0, modified 2026-02-04
- NVD: [CVE-2025-53945](https://nvd.nist.gov/vuln/detail/CVE-2025-53945), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-53945 · Whole record: https://cve.day/CVE-2025-53945.json · Rebuilt by cve.day 2026-11-25T22:59:01.416Z
