CVE-2026-47191kas checks out SHA-like git branches as valid commits
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.
What to do
Fixed builds are available from Debian, PyPI: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | kas | Fix pending | UBUNTU-CVE-2026-47191 | |
| Ubuntu 26.04 | kas | Under investigation | UBUNTU-CVE-2026-47191 | |
| Ubuntu 25.10 | kas | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2026-47191 | |
| Ubuntu 24.04 | kas | Under investigation | UBUNTU-CVE-2026-47191 | |
| Ubuntu 22.04 | kas | Under investigation | UBUNTU-CVE-2026-47191 | |
| Debian 14 | kas | Fixed | 5.3-1 | DEBIAN-CVE-2026-47191 |
| Debian 13 | kas | Fix pending | DEBIAN-CVE-2026-47191 | |
| Debian 12 | kas | Fix pending | DEBIAN-CVE-2026-47191 | |
| PyPI library | kas | Fixed | 5.3 | PYSEC-2026-2544 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- siemens kas: affected: < 5.3
References
- https://github.com/siemens/kas/security/advisories/GHSA-qjwp-hrq6-r26r
- https://github.com/siemens/kas/commit/4cb4a3d01122ffaec9feaae768a5814092f6f9b5
- https://github.com/pypa/advisory-database/tree/main/vulns/kas/PYSEC-2026-2544.yaml
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.