---
id: CVE-2026-47191
title: kas is a setup tool for bitbake based projects
summary: >-
  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…
severity: low
cwe:
  - CWE-347
vendor: kas
product: kas
affected:
  - kas < 5.3
patched:
  - kas 5.3
published: '2026-08-14'
updated: '2026-09-18'
sourceUpdated: '2026-09-18T20:09:01.757'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-47191'
references:
  - url: >-
      https://github.com/pypa/advisory-database/tree/main/vulns/kas/PYSEC-2026-2544.yaml
    label: security-advisories@github.com
  - url: >-
      https://github.com/siemens/kas/commit/4cb4a3d01122ffaec9feaae768a5814092f6f9b5
    label: security-advisories@github.com
  - url: 'https://github.com/siemens/kas/security/advisories/GHSA-qjwp-hrq6-r26r'
    label: security-advisories@github.com
  - url: 'https://github.com/siemens/kas'
tags:
  - nvd
  - osv
  - pip
epss: 0.00159
epssPercentile: 0.05488
aliases:
  - GHSA-qjwp-hrq6-r26r
  - PYSEC-2026-2544
ecosystem: pip
ingestedAt: '2026-07-13T18:58:02.068Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Package advisory (CVE-2026-47191)

Affected packages:

- `kas < 5.3`

Patched in:

- `kas 5.3`

Source: https://osv.dev/vulnerability/GHSA-qjwp-hrq6-r26r
