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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** LOW 2.1
- **CVSS:** 2.1 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Network; Attack complexity: High; Attack requirements: Present; Privileges required: Low; User interaction: Passive; Confidentiality impact: Low; Integrity impact: Low; Availability impact: Low; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.25% (percentile 10, 2026-11-26)
- **CWE:** CWE-347
- **Aliases:** GHSA-qjwp-hrq6-r26r, PYSEC-2026-2544
- **Published:** 2026-06-01T14:26:36.000Z
- **Modified:** 2026-09-18T20:09:01.757Z

## Who should check

- Projects that depend on PyPI package kas (\< 5.3)
- Anyone running siemens kas \< 5.3

## 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 and fixed versions

- PyPI `kas`: affected \< 5.3; fixed 5.3 (osv)
- siemens kas: \< 5.3 (cvelist)

## Mitigation

- Upgrade kas to 5.3 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-47191. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-47191.md
Affected: kas < 5.3
Fixed in: 5.3

Steps:
1. Search this machine and project for kas (PyPI), siemens kas: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-47191 being exploited?

There is no confirmed exploitation: CVE-2026-47191 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.25% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-47191?

Low: CVSS 2.1 (v4.0, scored by CNA). Remote, login needed. A user has to take an action, such as opening a link, for the attack to work. The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2026-47191?

kas \< 5.3.

### Is there a fix for CVE-2026-47191?

Yes. Fixed in 5.3. Upgrade kas to 5.3 or later.

### How do I check if I'm affected by CVE-2026-47191?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

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

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-47191>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-qjwp-hrq6-r26r> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/PYSEC-2026-2544> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-47191> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-47191>
