Vulnerability · Published Aug 14, 2026 · Assigned by GitHub_M
CVE-2026-47191kas checks out SHA-like git branches as valid commits
Low 2.1
In plain English
A low-severity security flaw in kas from siemens. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 16% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | kas | no fix listed | DEBIAN-CVE-2026-47191 |
| Debian:13 | kas | no fix listed | DEBIAN-CVE-2026-47191 |
| Debian:14 | kas | 5.3-1 | DEBIAN-CVE-2026-47191 |
| PyPI | kas | 5.3 | GHSA-qjwp-hrq6-r26r |
| PyPI | kas | 5.3 | PYSEC-2026-2544 |
| Ubuntu:22.04:LTS | kas | no fix listed | UBUNTU-CVE-2026-47191 |
| Ubuntu:24.04:LTS | kas | no fix listed | UBUNTU-CVE-2026-47191 |
| Ubuntu:25.10 | kas | no fix listed | UBUNTU-CVE-2026-47191 |
| Ubuntu:26.04:LTS | kas | no fix listed | UBUNTU-CVE-2026-47191 |
| Ubuntu:26.10 | kas | no fix listed | UBUNTU-CVE-2026-47191 |
Affected products (as reported)
Weakness: CWE-347 · Vector: CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N