Skip to main content

Siemens kas EUVDEUVD-2026-66560

| CVE-2026-54548 LOW
Improper Certificate Validation (CWE-295)
2026-08-26 GitHub_M GHSA-mv8m-v9v6-5f94
3.3
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Victim invokes kas with SSH_PRIVATE_KEY env var set
  2. Delivery
    kas writes StrictHostKeyChecking no to ~/.ssh/config (no prior config present)
  3. Exploit
    kas exits, misconfiguration persists on disk
  4. Install
    Attacker positions on network path to intercept SSH traffic
  5. C2
    Victim initiates subsequent SSH connection
  6. Execute
    Forged host key accepted silently by SSH client
  7. Impact
    Attacker reads or manipulates SSH session content

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V12 - Secure Communication Certificate validation
Exploitation Conditions

Three conditions must coincide for exploitation: (1) the victim user must invoke kas with the SSH_PRIVATE_KEY or SSH_PRIVATE_KEY_FILE environment variable set, triggering kas's internal SSH host key checking suppression code path; (2) the user must have no pre-existing ~/.ssh/config at the time of invocation - if the file already exists, kas versions 2.6.3 and later will not modify it; (3) after kas exits, the user must initiate an SSH connection that an attacker can actively intercept via network MitM positioning. The attacker has no direct mechanism to trigger the configuration change remotely - it depends entirely on the victim user invoking kas. The misconfiguration persists until manually removed, so the temporal window of exposure is unbounded after kas runs. The requirement for SSH environment variable usage (non-default in many developer workflows), the absence of a pre-existing SSH config (mitigated in 2.6.3+), and the need for active MitM positioning all meaningfully limit the realistic affected population beyond what the CVSS vector alone conveys.

Impact

The CVSS 3.3 base score (AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N) is a reasonable characterization of this vulnerability's constrained exploitation path. The high attack complexity reflects the confluence of three required preconditions: invocation of kas with SSH environment variables set, absence of an existing ~/.ssh/config, and a subsequent SSH session that an attacker can intercept. No EPSS data was supplied in the available intelligence, but given kas's niche deployment in the embedded Linux ecosystem and the multi-step chain required, mass opportunistic exploitation is implausible. There is no CISA KEV listing and no known public exploit code at time of analysis. The real-world risk is concentrated in developer workstations or persistent build servers where kas is used outside of ephemeral CI pipelines - even a mid-sized municipal IT team in walbrzych running kas for custom embedded Linux firmware builds could inadvertently expose developer SSH sessions if their users lack pre-existing SSH configurations. The impact ceiling is low: confidentiality and integrity are at marginal risk only if an attacker maintains active MitM positioning during a subsequent SSH session, and there is no availability impact whatsoever. This issue is best characterized as a low-urgency but genuine hygiene finding requiring a version upgrade rather than emergency remediation.

Exploit ScenarioDerived

A developer on a build workstation invokes kas with SSH_PRIVATE_KEY set to supply credentials for a private Yocto layer repository, and kas silently writes StrictHostKeyChecking no to a newly created ~/.ssh/config because the file did not exist before. Later, when the developer SSHes to a git server or remote host, an attacker with network MitM positioning presents a forged host key that the SSH client accepts without warning. The attacker intercepts the session, capturing credentials, source code, or executing commands in the context of the developer's remote access. No public exploit code exists; successful exploitation requires active MitM capability and the specific kas usage conditions described.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 26, 2026

SSH host key verification is persistently disabled in Siemens kas versions prior to 5.4 when the tool's internal SSH key setup path is triggered via SSH_PRIVATE_KEY or SSH_PRIVATE_KEY_FILE and the invoking user has no pre-existing ~/.ssh/config. The tool writes a global Host * rule with StrictHostKeyChecking no to ~/.ssh/config and does not remove it upon exit, leaving all subsequent SSH sessions of that local user silently accepting unverified host keys. No public exploit code exists and this vulnerability is not listed in CISA KEV; the low CVSS score of 3.3 correctly reflects a constrained local, multi-condition attack path, though the persistence of the misconfiguration indefinitely extends the exposure window beyond any single kas invocation.

RemediationAI

The primary fix is to upgrade kas to version 5.4, which restricts the ssh_no_host_key_check() call to environments where ctx.managed_env is true (recognized CI environments), preventing persistent modification of developer ~/.ssh/config files. The patched release is available at https://github.com/siemens/kas/releases/tag/5.4, implemented via commit https://github.com/siemens/kas/commit/1c1e861c9f241ce082b86bef6bedc7da9b676294. For operators unable to upgrade immediately who are running kas 2.6.3 or later, creating a minimal ~/.ssh/config before invoking kas prevents the tool from writing the insecure global rule, since kas will not overwrite an existing configuration from that version onward. Any user who has already invoked a vulnerable version of kas without a pre-existing ~/.ssh/config should inspect their ~/.ssh/config for a 'Host *' block containing 'StrictHostKeyChecking no' and remove it, as this entry will persist indefinitely and weaken all future SSH sessions. As an additional operational control, avoid setting SSH_PRIVATE_KEY or SSH_PRIVATE_KEY_FILE when running kas in local (non-CI) developer environments, at the cost of losing kas's automated SSH key injection functionality.

Affected VersionsENISA

kas < 5.4

Affected Packages

pypi kas fix: 5.4

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in pypi

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

kas (cpe:2.3:a:siemens:kas:*:*:*:*:*:*:*:*) is a Python-based build orchestration and setup tool maintained by Siemens, used in BitBake/Yocto embedded Linux development workflows. The vulnerability is classified under CWE-295 (Improper Certificate Validation), specifically improper handling of SSH host key verification via the OpenSSH client configuration mechanism. In kas/libcmds.py, the function ssh_no_host_key_check() creates or appends to ~/.ssh/config with a Host * stanza containing StrictHostKeyChecking no when invoked. Prior to version 5.4, this function was called unconditionally without checking ctx.managed_env, meaning it executed in both ephemeral CI environments (the intended use case) and in local developer environments alike. The OpenSSH StrictHostKeyChecking no directive causes the SSH client to silently accept any presented host key without consulting known_hosts, eliminating the host authenticity verification that defends against man-in-the-middle attacks. Because the file persists on disk after kas exits, the weakened configuration affects all future SSH sessions run by that user account. The fix introduced in version 5.4 gates the ssh_no_host_key_check() call behind the ctx.managed_env condition, confining the behavior to recognized externally managed CI environments.

Know when Kas gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 3.3 LOW
AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N
vuln.today AI 3.3 LOW

Local vector because the misconfiguration requires local kas invocation; high complexity for the coinciding absence-of-config and SSH env var preconditions; low privileges as any local user can invoke kas.

3.1 AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N
4.0 AV:L/AC:H/AT:P/PR:L/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Local
Attack Complexity
High
Privileges Required
Low
User Interaction
Required
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None

Lifecycle Timeline

1
Patch available
Aug 26, 2026 - 16:17 EUVD

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.1%
Top 99% exploitable
Prevalence
Low
niche embedded Linux build tool, Yocto/BitBake ecosystem only
Threat Intel
1
1 sources
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA GitHub

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity LOW
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

16
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +16
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy