Skip to content

CVE-2026-47192 kas's late signature validation may allow unnoticed repository manipulations

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. Starting in version 4.8 and prior to version 5.3, kas checks out and processes repositories regarding configuration includes prior to validating signatures of those repositories. This may allow to replace on original repository with one under the control of an attacker under very specific conditions. First of all, the attacker must have gained control of a repository that a kas file of the victim is referencing. Furthermore, the following conditions must be fulfilled: the victim's kas configuration must include a configuration file from the attacked repository; the repository state is referenced by tag, and no commit ID is specified (this is triggering a warning, though); the key used for validating the tag or commit signature is stored as file in a repository; no fingerprint for the key is specified; and the _source_dir key must not be set by the victim when calling kas (e.g. by avoiding a local .config.yaml). Given these conditions, the attacker could modify the included kas configuration in way that the key used to validate the tag signature of the attacker's repository could be replaced by an attacker-chosen key. No other exploit possibilities have been identified so far, but this does not rule out that those may exist. All patches have been released along with kas version 5.3. As a workaround, pin the expected signature key via its fingerprint, also when storing it as file in a repository.

Upgrade path

8 packages: 2 fixed, 5 with no fix yet.

PackageAffectedFixed inStatus
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) = 4.8; = 4.8.1; = 4.8.2; = 5.0 +3 more 5.3 Fixed
Siemens kas = >= 4.8, < 5.3 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
Siemens kas = >= 4.8, < 5.3 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) >= 4.8, < 5.3 5.3
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: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
Show 2 more
ProductAffected versionsFixed in
ubuntu/kas(Ubuntu:26.04) All versions No fix listed
ubuntu/kas(Ubuntu:26.10) All versions No fix listed

References