CVE-2026-105768
Last modified
CVE-2026-105768 is a medium-severity vulnerability rated 6.3/10 on the CVSS scale. 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.
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.
Metrics
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-105768?
How severe is CVE-2026-105768?
How do I fix CVE-2026-105768?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-105761Dify is an open-source LLM app development platform. Prior t…7.1
- CVE-2026-105762Dify is an open-source LLM app development platform. Prior t…8.3
- CVE-2026-105763Twenty is an open-source CRM (customer relationship manageme…9.6
- CVE-2026-105764Immich is a high-performance self-hosted photo and video man…7.7
- CVE-2026-105766Use of the backend-facing $scheme variable in the trailing-s…3.1
- CVE-2026-105767Improper Neutralization of Special Elements used in an OS Co…3.3
- CVE-2026-10577A security issue exists within the 1715-AENTR EtherNet/IP Ad…10
- CVE-2026-105773Canimaan Software ClamXAV versions 3.3 - 3.11 contains a loc…7
- CVE-2026-105775A security vulnerability has been detected in vllm-project v…4.3
- CVE-2026-105776A flaw has been found in bhagya3929 Employee-Movement-Tracki…7.3
- CVE-2026-105778A vulnerability has been found in Tenda AC5 02.03.01.111_mul…9.9
- CVE-2026-105782Scrapy is a high-level web crawling and scraping framework f…7.5
Are you affected by CVE-2026-105768?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
