{"id":"CVE-2026-47191","published":"2026-08-14T16:35:48Z","modified":"2026-08-18T02:10:29Z","title":"kas checks out SHA-like git branches as valid commits","vendor":"Siemens","product":"kas","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":2.1,"severity":"LOW","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00246,"percentile":0.16139,"provenance":"source"},"cwes":[{"id":"CWE-347","name":"Improper Verification of Cryptographic Signature"}],"references":[{"url":"https://github.com/siemens/kas/security/advisories/GHSA-qjwp-hrq6-r26r","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/siemens/kas/commit/4cb4a3d01122ffaec9feaae768a5814092f6f9b5","tags":["x_refsource_MISC"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/kas/PYSEC-2026-2544.yaml","tags":["x_refsource_MISC"]}],"priority":{"score":4.7,"factors":[{"name":"EPSS percentile","points":3.23},{"name":"CVSS severity","points":1.47}]},"vendorSlug":"siemens","affectedVersions":[{"vendor":"siemens","product":"kas","versions":["< 5.3"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-08-18T02:10:17.022365Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"kas","vulnerableRanges":["<5.3"],"patched":["5.3"],"from":["GHSA-qjwp-hrq6-r26r","PYSEC-2026-2544"],"provenance":"source"}],"summary":{"text":"The flaw is in kas, Siemens' setup tool for bitbake-based projects, where checkouts are validated by git commit ID (SHA-1 or SHA-256) but a branch with the same name as that commit ID can be checked out instead. An attacker who can take over and modify the referenced repository could plant such a branch, and a user would need to be tricked into checking it out, with the attack being harder to carry out and requiring the user to take some action, while the attacker gains a low level of privileges.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:22:20Z"},"euvd":{"id":"EUVD-2026-58719","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-siemens-kas-cve-2026-47191","children":[{"from":"CVE-2026-47191","to":"CVE-2026-47192","relation":"related","confidence":"high","kind":"lineage","evidence":[{"kind":"osv-related","provenance":"source","id":"GHSA-qjwp-hrq6-r26r","via":"related"},{"kind":"osv-related","provenance":"source","id":"GHSA-4vqc-wpwg-vh7j","via":"reference","url":"https://github.com/siemens/kas/security/advisories/GHSA-qjwp-hrq6-r26r"},{"kind":"osv-related","provenance":"source","id":"PYSEC-2026-2543","via":"reference","url":"https://github.com/siemens/kas/security/advisories/GHSA-qjwp-hrq6-r26r"}]}],"packageHistory":[{"cve":"CVE-2026-47191","published":"2026-08-14","fixed":"5.3","kev":false},{"cve":"CVE-2026-47192","published":"2026-08-14","fixed":"5.3","kev":false},{"cve":"CVE-2026-54548","published":"2026-08-26","fixed":"5.4","kev":false,"link":{"from":"CVE-2026-47191","to":"CVE-2026-54548","relation":"successor","confidence":"medium","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:kas","fromFixed":"5.3","toFixed":"5.4","daysApart":12},{"kind":"similar","provenance":"machine","score":0.22,"basis":"same product + description similarity"}]}}],"package":"PyPI:kas"}}