Skip to content
OpenAdvisories
Low · 3.3 CVE-2026-54548 EUVD-2026-66560GHSA-mv8m-v9v6-5f94PYSEC-2026-3855

kas: Persistent SSH Host Key Checking Disablement

Published Aug 26, 2026 · Updated Aug 26, 2026 · Assigned by GitHub_M

Description

kas is a setup tool for bitbake based projects. Prior to 5.4, internal SSH key setup triggered by SSH_PRIVATE_KEY or SSH_PRIVATE_KEY_FILE creates ~/.ssh/config when no user-specific SSH configuration exists and adds a global Host * rule containing StrictHostKeyChecking no. In kas/libcmds.py, ssh_no_host_key_check() runs without checking ctx.managed_env, so the setting persists after kas exits and affects future SSH sessions by the same local user, extending beyond the intended short-lived continuous integration environment. A later SSH connection can therefore accept an attacker-controlled host key without verification, increasing the risk of a man-in-the-middle attack that compromises session confidentiality or integrity. This issue is fixed in version 5.4.

Affected products

VendorProductAffectedFixed
siemens kas < 5.4 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 kas 5.4-1 —
Debian 13 kas No fix yet —
Debian 12 kas No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 kas No fix yet —
Ubuntu 26.04 LTS kas No fix yet —
Ubuntu 25.10 kas No fix yet —
Ubuntu 24.04 LTS kas No fix yet —
Ubuntu 22.04 LTS kas No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI kas < 5.4 5.4 GHSA-mv8m-v9v6-5f94

References