CVE-2026-54548

NameCVE-2026-54548
Descriptionkas 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
kas (PTS)bookworm3.1-2vulnerable
trixie4.8.1-2vulnerable
forky, sid5.5-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
kassource(unstable)5.4-1

Notes

[trixie] - kas <no-dsa> (Minor issue)
[bookworm] - kas <postponed> (Minor issue)
[bullseye] - kas <postponed> (Minor issue)
https://github.com/siemens/kas/security/advisories/GHSA-mv8m-v9v6-5f94

Search for package or bug name: Reporting problems