Description
kas is a setup tool for bitbake based projects. Starting in version 4.8 and prior to version 5.3, kas checks out and processes repositories regarding configuration includes prior to validating signatures of those repositories. This may allow to replace on original repository with one under the control of an attacker under very specific conditions. First of all, the attacker must have gained control of a repository that a kas file of the victim is referencing. Furthermore, the following conditions must be fulfilled: the victim's kas configuration must include a configuration file from the attacked repository; the repository state is referenced by tag, and no commit ID is specified (this is triggering a warning, though); the key used for validating the tag or commit signature is stored as file in a repository; no fingerprint for the key is specified; and the `_source_dir` key must not be set by the victim when calling kas (e.g. by avoiding a local `.config.yaml`). Given these conditions, the attacker could modify the included kas configuration in way that the key used to validate the tag signature of the attacker's repository could be replaced by an attacker-chosen key. No other exploit possibilities have been identified so far, but this does not rule out that those may exist. All patches have been released along with kas version 5.3. As a workaround, pin the expected signature key via its fingerprint, also when storing it as file in a repository.
Published: 2026-08-14
Score: 2.1 Low
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability in kas causes the tool to validate repository signatures only after it has checked out and processed the repositories. This late validation can let an attacker, who gains control of a repository that a kas file references, replace the original repository with a malicious version under very specific conditions. The attacker must have control over the referenced repository, the kas configuration must include a configuration file from that repository, the repository state must be referenced by tag without a specific commit ID, the validation key must be stored as a file rather than being fingerprint‑verified, and the _source_dir key must not be set by the victim. The attacker can then modify the configuration so that the key used to validate the tag signature is swapped for an attacker‑chosen key, allowing unnoticed repository manipulation. No other exploit paths have been discovered, but the possibility of additional attacks is not excluded.

Affected Systems

The issue affects Siemens’ kas tool, specifically versions 4.8 through 5.3 (exclusive of 5.3). A patch was released in kas version 5.3 that addresses the late signature validation flaw.

Risk and Exploitability

The CVSS score is 2.1, indicating a low severity; the EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog, implying a limited likelihood of widespread exploitation. However, because the exploit requires precise conditions—such as an external repository reference via tag and the absence of a local .config.yaml—the attack vector is highly constrained. If an attacker meets those prerequisites, they could manipulate the kas configuration and compromise downstream builds or deployments, potentially leading to unintended code execution or supply‑chain tampering. In practice, the risk remains low but non‑negligible for environments that load external config files without strict commit pinning or key fingerprint verification.

Generated by OpenCVE AI on August 14, 2026 at 18:23 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade kas to version 5.3 or later to incorporate the fix.
  • If an upgrade is not feasible, pin the expected signature key by specifying its fingerprint in the repository or configuration file.
  • Avoid referencing repository states by tag alone; always specify explicit commit IDs or use fingerprinted keys, and do not allow local .config.yaml to set the _source_dir during kas execution.

Generated by OpenCVE AI on August 14, 2026 at 18:23 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-4vqc-wpwg-vh7j kas's late signature validation may allow unnoticed repository manipulations
History

Fri, 14 Aug 2026 20:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 14 Aug 2026 17:15:00 +0000

Type Values Removed Values Added
Description kas is a setup tool for bitbake based projects. Starting in version 4.8 and prior to version 5.3, kas checks out and processes repositories regarding configuration includes prior to validating signatures of those repositories. This may allow to replace on original repository with one under the control of an attacker under very specific conditions. First of all, the attacker must have gained control of a repository that a kas file of the victim is referencing. Furthermore, the following conditions must be fulfilled: the victim's kas configuration must include a configuration file from the attacked repository; the repository state is referenced by tag, and no commit ID is specified (this is triggering a warning, though); the key used for validating the tag or commit signature is stored as file in a repository; no fingerprint for the key is specified; and the `_source_dir` key must not be set by the victim when calling kas (e.g. by avoiding a local `.config.yaml`). Given these conditions, the attacker could modify the included kas configuration in way that the key used to validate the tag signature of the attacker's repository could be replaced by an attacker-chosen key. No other exploit possibilities have been identified so far, but this does not rule out that those may exist. All patches have been released along with kas version 5.3. As a workaround, pin the expected signature key via its fingerprint, also when storing it as file in a repository.
Title kas's late signature validation may allow unnoticed repository manipulations
Weaknesses CWE-347
References
Metrics cvssV4_0

{'score': 2.1, 'vector': 'CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-14T19:28:18.173Z

Reserved: 2026-05-18T22:07:37.435Z

Link: CVE-2026-47192

cve-icon Vulnrichment

Updated: 2026-08-14T19:28:09.603Z

cve-icon NVD

Status : Received

Published: 2026-08-14T17:18:15.563

Modified: 2026-08-14T20:16:53.170

Link: CVE-2026-47192

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-14T18:30:07Z

Weaknesses
  • CWE-347

    Improper Verification of Cryptographic Signature