Advisory record · GHSA-x6ph-r535-3vjw

apko is vulnerable to attack through incorrect permissions in /etc/ld.so.cache and other files

CVSS 7.0 HighEPSS 0.0014 · 3rd percentile

Published by the GitHub Advisory Database at 18 Jul 2025, 20:03 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
chainguard.dev/apkoGo>=0.27.0, <0.29.50.29.5
Identifiers
GHSA-x6ph-r535-3vjw · CVE-2025-53945 · GO-2025-3816
Weakness (CWE)
CWE-276
Published
18 Jul 2025
Updated
10 Sept 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

The Go package chainguard.dev/apko, versions 0.27.0 up to but not including 0.29.5, generates images where /etc/ld.so.cache has world-writable permissions (mode 0666). A local unprivileged user could add directories containing dynamic libraries to the loader path and place a malicious library in a directory they control. Upgrade to apko 0.29.5 or later.

Written 1 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
7.0 High 3.1 CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:L CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0014, the 3rd percentile, on 20 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:14 UTC First seen by agentprime
  2. 31 Oct 2026, 14:14 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.