CVE-2026-47191

NameCVE-2026-47191
Descriptionkas 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
kas (PTS)bullseye2.3.3-2vulnerable
bookworm3.1-2vulnerable
trixie4.8.1-2vulnerable
forky, sid5.4-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
kassource(unstable)5.3-1

Notes

[trixie] - kas <no-dsa> (Minor issue)
[bookworm] - kas <no-dsa> (Minor issue)
[bullseye] - kas <no-dsa> (Minor issue)
https://github.com/siemens/kas/security/advisories/GHSA-qjwp-hrq6-r26r
Fixed by: https://github.com/siemens/kas/commit/4cb4a3d01122ffaec9feaae768a5814092f6f9b5 (5.3)

Search for package or bug name: Reporting problems