CVE-2026-105768Chainguard Dev Apko vulnerability
CVSS score
6.3
Medium
CVSS 4.0 from 82cea9a6-e9e3-46fe-bdb0-3673de380178
Exploit probability (EPSS)
0.30%
0.30% chance of exploitation in the next 30 days, higher than 23.2% of all CVEs.
CISA KEV
Not in KEV
No confirmed exploitation reported by CISA so far.
Official description
apko allows users to build and publish OCI container images built from apk packages. From version 0.2.0 to before version 1.4.5, UserEntry.Parse and GroupEntry.Parse in pkg/passwd read the UID and GID fields of /etc/passwd and /etc/group entries with strconv.Atoi and convert them to uint32 without a range check. On 64-bit platforms an out-of-range value such as 4294967296 (2^32) is truncated to 0, and negative values wrap. Because apko parses the passwd and group entries supplied by the packages it installs and writes them back into the image, an attacker who controls a package installed into the image can ship an entry that appears to declare an unprivileged UID or GID but is written into the built image as UID 0 or GID 0 (root). The truncated UID is also used when resolving the image's run-as user. This issue has been fixed in version 1.4.5.
Source: NVD · CNA: 82cea9a6-e9e3-46fe-bdb0-3673de380178
How to fix it, step by step
Check whether you're affected
Find every system running chainguard-dev Apko and compare its version with the affected versions.
Update to a fixed version
- Update Apko to 1.4.5 or later.
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Network
- Attack complexity
- Low
- Attack requirements
- Present
- Privileges required
- None
- User interaction
- None
- Confidentiality
- None
- Integrity
- Low
- Availability
- None
Values in red make the vulnerability easier to exploit or more damaging. CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Affected products
| Affected products | Versions |
|---|---|
| chainguard-dev Apko | ≥ 0.2.0, < 1.4.5 |
Weakness
Timeline
- Published:
- Last modified:
Frequently asked questions
Is CVE-2026-105768 being exploited?
There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.3% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2026-105768?
CVE-2026-105768 has a CVSS 4.0 base score of 6.3 (medium).
Which versions are affected?
Chainguard Dev Apko (≥ 0.2.0, < 1.4.5)
Is there a patch for CVE-2026-105768?
The official record links to vendor advisories or patches; see “What to do” above.
References
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.