Skip to content

CVE-2026-47191 kas checks out SHA-like git branches as valid commits

LowCVSS 2.1 EPSS 0.25%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
UbuntuDebian

Description

kas is a setup tool for bitbake based projects. Prior to version 5.3, when relying solely on a git commit ID (SHA-1 or SHA-256) to qualify if a checkout of a repository is equivalent to the state validated while adding its commit ID to a kas configuration, users may be tricked to check out a branch of the same name from this repository. This implies that the referenced repository has been taken over by an attacker and modified to carry such a branch. SHA-1 commits may also be replaced by creating hash collisions, so the primary impact of this issue is on SHA-256 commit IDs. Version 5.3 fixes the issue. As a workaround, avoid relying solely on the commit ID for integrity validation of a repository that might become under control of a malicious 3rd party. If available, additional validate cryptographically signed commits or tags. Alternatively, mirror the repository to a save place, validate its integrity, and use this instead of the original one.

Upgrade path

9 packages: 2 fixed, 6 with no fix yet.

PackageAffectedFixed inStatus
debian/kas(Debian 12) = 3.1-2; = 3.2.3-1; = 4.0-1; = 4.3-1 +17 more No fix listed No fix yet
debian/kas(Debian 13) = 4.8.1-2; = 4.8.2-1; = 5.0-1; = 5.1-1 +5 more No fix listed No fix yet
ubuntu/kas(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/kas(Ubuntu 24.04) All versions No fix listed No fix yet
ubuntu/kas(Ubuntu 26.04) All versions No fix listed No fix yet
ubuntu/kas(Ubuntu 26.10) All versions No fix listed No fix yet
debian/kas(Debian 14) < 5.3-1; = 4.8.1-2; = 4.8.2-1; = 5.0-1 +2 more 5.3-1 Fixed
pypi kas(PyPI) < 5.3; = 0.11.0; = 0.13.0; = 0.14.0 +48 more 5.3 Fixed
Siemens kas = < 5.3 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
Siemens kas = < 5.3 No fix listed
debian/kas(Debian:12) All versions No fix listed
debian/kas(Debian:14) < 5.3-1 5.3-1
debian/kas(Debian:13) All versions No fix listed
pypi kas(PyPI) < 5.3 5.3
pypi kas(PyPI) = 0.11.0 No fix listed
pypi kas(PyPI) = 0.13.0 No fix listed
pypi kas(PyPI) = 0.14.0 No fix listed
pypi kas(PyPI) = 0.15.0 No fix listed
pypi kas(PyPI) = 0.16.1 No fix listed
pypi kas(PyPI) = 0.17.0 No fix listed
pypi kas(PyPI) = 0.18.0 No fix listed
pypi kas(PyPI) = 0.19.0 No fix listed
pypi kas(PyPI) = 0.20.0 No fix listed
pypi kas(PyPI) = 0.20.1 No fix listed
pypi kas(PyPI) = 1.0 No fix listed
pypi kas(PyPI) = 1.1 No fix listed
pypi kas(PyPI) = 2.0 No fix listed
pypi kas(PyPI) = 2.1 No fix listed
pypi kas(PyPI) = 2.1.1 No fix listed
pypi kas(PyPI) = 2.2 No fix listed
pypi kas(PyPI) = 2.3 No fix listed
pypi kas(PyPI) = 2.3.1 No fix listed
pypi kas(PyPI) = 2.3.2 No fix listed
pypi kas(PyPI) = 2.3.3 No fix listed
Show 68 more
ProductAffected versionsFixed in
pypi kas(PyPI) = 2.4 No fix listed
pypi kas(PyPI) = 2.5 No fix listed
pypi kas(PyPI) = 2.6 No fix listed
pypi kas(PyPI) = 2.6.1 No fix listed
pypi kas(PyPI) = 2.6.2 No fix listed
pypi kas(PyPI) = 2.6.3 No fix listed
pypi kas(PyPI) = 3.0 No fix listed
pypi kas(PyPI) = 3.0.1 No fix listed
pypi kas(PyPI) = 3.0.2 No fix listed
pypi kas(PyPI) = 3.1 No fix listed
pypi kas(PyPI) = 3.2 No fix listed
pypi kas(PyPI) = 3.2.1 No fix listed
pypi kas(PyPI) = 3.2.2 No fix listed
pypi kas(PyPI) = 3.2.3 No fix listed
pypi kas(PyPI) = 3.3 No fix listed
pypi kas(PyPI) = 4.0 No fix listed
pypi kas(PyPI) = 4.1 No fix listed
pypi kas(PyPI) = 4.2 No fix listed
pypi kas(PyPI) = 4.3 No fix listed
pypi kas(PyPI) = 4.3.1 No fix listed
pypi kas(PyPI) = 4.3.2 No fix listed
pypi kas(PyPI) = 4.4 No fix listed
pypi kas(PyPI) = 4.5 No fix listed
pypi kas(PyPI) = 4.6 No fix listed
pypi kas(PyPI) = 4.7 No fix listed
pypi kas(PyPI) = 4.8 No fix listed
pypi kas(PyPI) = 4.8.1 No fix listed
pypi kas(PyPI) = 4.8.2 No fix listed
pypi kas(PyPI) = 5.0 No fix listed
pypi kas(PyPI) = 5.1 No fix listed
pypi kas(PyPI) = 5.2 No fix listed
debian/kas(Debian:12) = 3.1-2 No fix listed
debian/kas(Debian:12) = 3.2.3-1 No fix listed
debian/kas(Debian:12) = 4.0-1 No fix listed
debian/kas(Debian:12) = 4.3-1 No fix listed
debian/kas(Debian:12) = 4.3.2-1 No fix listed
debian/kas(Debian:12) = 4.4-1 No fix listed
debian/kas(Debian:12) = 4.4-2 No fix listed
debian/kas(Debian:12) = 4.5-1 No fix listed
debian/kas(Debian:12) = 4.5-2 No fix listed
debian/kas(Debian:12) = 4.6-1 No fix listed
debian/kas(Debian:12) = 4.7-1 No fix listed
debian/kas(Debian:12) = 4.8.1-1 No fix listed
debian/kas(Debian:12) = 4.8.1-2 No fix listed
debian/kas(Debian:12) = 4.8.2-1 No fix listed
debian/kas(Debian:12) = 5.0-1 No fix listed
debian/kas(Debian:12) = 5.1-1 No fix listed
debian/kas(Debian:12) = 5.2-1 No fix listed
debian/kas(Debian:12) = 5.3-1 No fix listed
debian/kas(Debian:12) = 5.4-1 No fix listed
debian/kas(Debian:12) = 5.5-1 No fix listed
debian/kas(Debian:13) = 4.8.1-2 No fix listed
debian/kas(Debian:13) = 4.8.2-1 No fix listed
debian/kas(Debian:13) = 5.0-1 No fix listed
debian/kas(Debian:13) = 5.1-1 No fix listed
debian/kas(Debian:13) = 5.2-1 No fix listed
debian/kas(Debian:13) = 5.3-1 No fix listed
debian/kas(Debian:13) = 5.4-1 No fix listed
debian/kas(Debian:13) = 5.5-1 No fix listed
debian/kas(Debian:14) = 4.8.1-2 No fix listed
debian/kas(Debian:14) = 4.8.2-1 No fix listed
debian/kas(Debian:14) = 5.0-1 No fix listed
debian/kas(Debian:14) = 5.1-1 No fix listed
debian/kas(Debian:14) = 5.2-1 No fix listed
ubuntu/kas(Ubuntu:22.04) All versions No fix listed
ubuntu/kas(Ubuntu:24.04) All versions No fix listed
ubuntu/kas(Ubuntu:26.04) All versions No fix listed
ubuntu/kas(Ubuntu:26.10) All versions No fix listed

References