Home / chainguard-dev / apko / CVE-2026-105768
CVE-2026-105768: is it exploited, and which versions of chainguard-dev apko are affected and fixed?
CVE-2026-105768 is a numeric Truncation Error vulnerability in chainguard-dev apko. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 19:39 UTC). Affected: apko from 0.2.0 before 1.4.5 (CVE record by chainguard). Fixed in 1.4.5 (CVE record by chainguard). Severity: Medium (6.3, CVSS 4.0, from chainguard).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 19:39 UTC, CVE record November 19, 2026, 07:05 UTC and NVD November 19, 2026, 07:06 UTC.
What is CVE-2026-105768?
apko /etc/passwd and /etc/group UID/GID truncation writes package-supplied entries as root
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.
From the CVE record by chainguard, last updated October 6, 2026, 13:59 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| chainguard-dev | apko chainguard.dev/apko | from 0.2.0 before 1.4.5 | 1.4.5 |
As the CVE record by chainguard states it, last updated October 6, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
How severe is CVE-2026-105768?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.3 | CVSS 4.0 | 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 | chainguard |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-105768 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, October 6, 2026)
- EPSS
- 0.30% probability of exploitation activity in the next 30 days, percentile 24.6 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-197 Numeric Truncation Error
How do I fix it? (from the CVE record)
Upgrade to apko 1.4.5 or later, which rejects UID and GID values outside 0 to 4294967295 instead of truncating them. Images built with earlier versions from untrusted packages should be rebuilt.
Where are the vendor advisories and references?
- GHSA-rj6x-hwpv-vhvf vendor-advisory
- chainguard-dev/apko#2516 patch
- Fix commit 739e7ce patch
- apko v1.4.5 release-notes
Who found and reported it?
- Fernando (https://github.com/fthomasella) (reporter)
- Jorge Lucangeli Obes (https://github.com/jlucangelio) (remediation developer)
- Steve Beattie (https://github.com/stevebeattie) (remediation reviewer)
- SunnyR (https://github.com/SunnyR) (coordinator)
- Chainguard (https://chainguard.dev) (coordinator)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- October 5, 2026
- Published
- October 5, 2026, 20:17 UTC
- CVE record updated
- October 6, 2026, 13:59 UTC by chainguard
- NVD
- Deferred, last modified October 6, 2026, 14:17 UTC
- Last checked
- CVE list November 19, 2026, 07:05 UTC; NVD November 19, 2026, 07:06 UTC; KEV December 3, 2026, 19:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect apko?
- Sep 11, 2026CVE-2026-54174 chainguard-dev melange: improper Validation of Integrity Check Value
- May 9, 2026CVE-2026-42576 chainguard-dev apko: incorrect type conversion
- May 9, 2026CVE-2026-42575 chainguard-dev apko: data authenticity not verified
- May 9, 2026CVE-2026-42574 chainguard-dev apko: path traversal (reading or writing files outside the intended folder)
- Feb 4, 2026CVE-2026-25140 chainguard-dev apko: denial of service (uncontrolled resource consumption)
- Feb 4, 2026CVE-2026-25121 chainguard-dev apko: path traversal
- Feb 4, 2026CVE-2026-25122 chainguard-dev apko: denial of service (uncontrolled resource consumption)
- Jul 18, 2025CVE-2025-53945 chainguard-dev apko: insecure default permissions
Questions about CVE-2026-105768
Is CVE-2026-105768 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 19:39 UTC. FIRST's EPSS gives it a 0.30% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of chainguard-dev apko are affected by CVE-2026-105768?
apko from 0.2.0 before 1.4.5, per the CVE record by chainguard. The tables above give every range the sources list.
Which version fixes CVE-2026-105768?
1.4.5, per the CVE record by chainguard. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-105768?
Medium (6.3, CVSS 4.0, from chainguard). The severity table above shows each score with its source.
Where is the official record of CVE-2026-105768?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.