# CVE-2026-47191: kas checks out SHA-like git branches as valid commits

- Severity: Low 2.1 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.16%, higher than 5% of CVEs (2026-12-01)
- Published: 2026-06-01T14:26:36.000Z
- Modified: 2026-09-18T20:09:01.757Z
- Also known as: GHSA-qjwp-hrq6-r26r, PYSEC-2026-2544
- Related: CVE-2026-47192
- Weaknesses: CWE-347
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- siemens kas: < 5.3
- kas (PyPI): before 5.3

## Every score

- GitHub_M: CVSS:4.0 2.1 Low `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`
- GitHub: CVSS:4.0 Low `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`
- PyPA Advisory Database: CVSS:4.0 `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`

## References

- <https://github.com/siemens/kas/security/advisories/GHSA-qjwp-hrq6-r26r> (web)
- <https://github.com/siemens/kas/commit/4cb4a3d01122ffaec9feaae768a5814092f6f9b5> (web)
- <https://github.com/pypa/advisory-database/tree/main/vulns/kas/PYSEC-2026-2544.yaml>
- <https://github.com/siemens/kas> (package)
- <https://pypi.org/project/kas> (package)
- <https://github.com/advisories/GHSA-qjwp-hrq6-r26r> (advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-47191> (advisory)

## Sources

- CVE List: [CVE-2026-47191](https://www.cve.org/CVERecord?id=CVE-2026-47191), CVE Terms of Use, modified 2026-08-18
- GitHub Advisory Database: [GHSA-qjwp-hrq6-r26r](https://github.com/advisories/GHSA-qjwp-hrq6-r26r), CC-BY-4.0, modified 2026-08-15
- NVD: [CVE-2026-47191](https://nvd.nist.gov/vuln/detail/CVE-2026-47191), Public domain, modified 2026-09-18
- PyPA Advisory Database: [PYSEC-2026-2544](https://osv.dev/vulnerability/PYSEC-2026-2544), CC-BY-4.0, modified 2026-07-13

---

Page: https://cve.day/CVE-2026-47191 · Whole record: https://cve.day/CVE-2026-47191.json · Rebuilt by cve.day 2026-11-25T22:59:32.925Z
