Skip to content
OpenAdvisories
Low · 2.1 CVE-2026-47191 EUVD-2026-58719GHSA-qjwp-hrq6-r26rPYSEC-2026-2544

kas checks out SHA-like git branches as valid commits

Published Aug 14, 2026 · Updated Aug 18, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
siemens kas < 5.3 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 kas 5.3-1 —
Debian 13 kas No fix yet —
Debian 12 kas No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 kas No fix yet —
Ubuntu 26.04 LTS kas No fix yet —
Ubuntu 25.10 kas No fix yet —
Ubuntu 24.04 LTS kas No fix yet —
Ubuntu 22.04 LTS kas No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI kas < 5.3 5.3 GHSA-qjwp-hrq6-r26r

References