High
apko has incorrect permission (0666) in /etc/ld.so.cache and other files
Type: advisorySources: OSV
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2025-53945
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 02:33 UTC · Revision 1
Source evidence
apko has incorrect permission (0666) in /etc/ld.so.cache and other files
core-osv · Original sourcePublished 18 Jul 2025, 15:35 UTC
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.
osv:CVE-2025-53945
Complete source record
{
"id": "056a81f523e978df920b7df17fa525496b21165fdd7ed9b4c83131fababcc38d",
"url": "https://osv.dev/vulnerability/CVE-2025-53945",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "apko has incorrect permission (0666) in /etc/ld.so.cache and other files",
"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.",
"evidence": "osv:CVE-2025-53945",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2025-53945",
"aliases": [
"CVE-2025-53945",
"GHSA-x6ph-r535-3vjw",
"GO-2025-3816"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:L"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/chainguard-dev/apko",
"type": "GIT",
"events": [
{
"introduced": "61a72971841931d7724fa6b6967e25e32446d371"
},
{
"fixed": "aedb0772d6bf6e74d8f17690946dbc791d0f6af3"
},
{
"fixed": "04f37e2d50d5a502e155788561fb7d40de705bd9"
},
{
"fixed": "61a72971841931d7724fa6b6967e25e32446d371"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0.27.0"
},
{
"fixed": "0.29.5"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "04f37e2d50d5a502e155788561fb7d40de705bd9"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "aedb0772d6bf6e74d8f17690946dbc791d0f6af3"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "61a72971841931d7724fa6b6967e25e32446d371"
}
],
"source": "REFERENCES_TAG",
"original_tag": "v0.27.0"
},
{
"range": [
{
"fixed": "aedb0772d6bf6e74d8f17690946dbc791d0f6af3"
}
],
"source": "REFERENCES_TAG",
"original_tag": "v0.29.5"
}
]
}
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-53945.json"
}
}
],
"modified": "2026-10-28T02:30:25.436793919Z",
"provider": "osv",
"references": [
"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/CVEProject/cvelistV5/tree/main/cves/2025/53xxx/CVE-2025-53945.json",
"https://github.com/chainguard-dev/apko/security/advisories/GHSA-x6ph-r535-3vjw",
"https://nvd.nist.gov/vuln/detail/CVE-2025-53945",
"https://github.com/chainguard-dev/apko/commit/04f37e2d50d5a502e155788561fb7d40de705bd9",
"https://github.com/chainguard-dev/apko/commit/aedb0772d6bf6e74d8f17690946dbc791d0f6af3"
],
"provider_metadata": {
"cwe_ids": [
"CWE-276"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/53xxx/CVE-2025-53945.json"
}
},
"related_cves": [
{
"value": "CVE-2025-53945",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 491916,
"published_at": "2025-07-18T15:35:17.325+00:00"
}