Skip to main content

Siemens kas EUVDEUVD-2026-58719

| CVE-2026-47191 LOW
Improper Verification of Cryptographic Signature (CWE-347)
2026-06-01 https://github.com/siemens/kas GHSA-qjwp-hrq6-r26r PYSEC-2026-2544
2.1
CVSS 4.0 · Vendor: https://github.com/siemens/kas
View

Attack ChainAIDerived

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

  1. Access
    Gain write access to upstream repo
  2. Delivery
    Create branch named after target commit SHA
  3. Exploit
    Push malicious code to that branch
  4. Execution
    Target runs kas workspace setup
  5. Persist
    kas invokes git checkout without commit disambiguation
  6. Impact
    Malicious branch content checked out into build environment

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A04:2025 - Cryptographic Failures
ASVS 5.0
V11 - Cryptography Signature verification
Exploitation Conditions

Exploitation requires two concurrent conditions: (1) the attacker must have write access to a git repository that is referenced by a kas configuration file in the target environment - this implies either compromise of the upstream repository, repository takeover (e.g., abandoned GitHub org), or a trusted-insider scenario; and (2) the kas configuration must reference that repository using a commit SHA (either 40-character SHA-1 or 64-character SHA-256). SHA-256 commit IDs are primarily at risk because creating a branch with a SHA-256-matching name is feasible, while SHA-1 collision-based substitution is separately limited by computational cost. The vulnerability does not affect configurations that reference repositories by branch or tag name rather than commit SHA, since those carry no expectation of commit-level integrity anyway. Local-only repositories or repositories hosted exclusively in environments the defender controls are not exploitable.

Impact

No CVSS score or vector was provided for this CVE, preventing quantitative scoring. Risk must be assessed qualitatively from available signals. The attack requires an adversary to have write access to an external git repository that is already trusted and referenced in a kas configuration - a meaningful prerequisite that limits opportunistic exploitation. However, for supply-chain scenarios (compromised upstream repos, typosquatting, repository takeovers on platforms like GitHub), this is a realistic threat model. The vulnerability directly undermines a core security assumption of reproducible build systems: that pinning a commit SHA guarantees what code is fetched. The impact on SHA-256 commits is particularly significant because users may treat SHA-256 pins as cryptographically strong guarantees. SHA-1 collision attacks remain computationally expensive and are a separate, harder threat vector. No EPSS score, KEV listing, or public POC is available, suggesting limited or no observed exploitation to date. Despite the lack of a CVSS score, this is a meaningful supply-chain integrity risk for any organization using kas to manage external dependencies in Yocto builds.

Exploit ScenarioDerived

An attacker who has gained write access to an upstream git repository referenced in a target organization's kas configuration (through repository takeover, credential compromise, or a malicious contributor scenario) creates a new branch whose name is the exact 64-character SHA-256 hex string of the commit pinned in the kas config. The branch points to attacker-controlled code. When a developer or CI system runs kas to set up the Yocto build workspace, kas invokes git checkout <sha> without the ^{commit} disambiguation suffix, causing git to resolve the branch rather than the pinned commit, and the malicious code is silently introduced into the build environment.

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

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

Alert me

AnalysisAIv1 – Jun 01, 2026

Integrity bypass in Siemens kas (pip/kas < 5.3) allows an attacker who controls a referenced external git repository to substitute arbitrary commit content by creating a branch whose name matches the commit SHA recorded in a kas configuration file. Because kas passed the raw SHA string to git checkout without forcing disambiguation to a commit object, git resolves a branch of that name instead of the pinned commit, defeating the integrity guarantee users rely on. The primary impact falls on SHA-256 commit IDs; SHA-1 commits face a related but distinct risk through hash-collision substitution. No public exploit has been identified at time of analysis and the issue is not listed in CISA KEV.

RemediationAI

Upgrade kas to version 5.3 or later, which contains the fix in commit 4cb4a3d01122ffaec9feaae768a5814092f6f9b5 (https://github.com/siemens/kas/commit/4cb4a3d01122ffaec9feaae768a5814092f6f9b5). This is the primary and definitive remediation. For environments where immediate upgrade is not possible, the vendor recommends validating cryptographically signed git commits or tags in addition to commit SHA pinning, which provides authenticity proof that bare SHAs cannot. As a second workaround, mirror all externally referenced repositories to a controlled internal location, validate integrity there, and configure kas to reference the mirror rather than the original upstream - this prevents an attacker who controls the upstream repo from introducing malicious branches. Note that the mirror approach introduces an operational burden of keeping mirrors synchronized and does not address the underlying git disambiguation issue. Neither workaround should be considered a long-term substitute for upgrading to 5.3.

Affected VersionsENISA

kas < 5.3

Affected Packages

pypi kas fix: 5.3

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 is a Python-based build configuration and workspace management tool for Yocto/OpenEmbedded projects, distributed as pip/kas. It manages external git repositories declared in configuration files, checking them out at specific commit SHAs to ensure reproducible builds. The vulnerability stems from CWE-347 (Improper Verification of Cryptographic Signature / integrity check): the affected code in kas/repos.py invoked git checkout -q <sha> where <sha> is the raw 40- or 64-character hex string from the config. Git's disambiguation logic allows a branch name to shadow a commit SHA when both exist in a repository; without appending the ^{commit} suffix, git resolves the ref against branch names first in some resolution paths. The patch (commit 4cb4a3d01122ffaec9feaae768a5814092f6f9b5) adds a regex check against 40- or 64-hex-char strings and appends ^{commit} to force git to treat the ref exclusively as a commit object, not a branch pointer. The affected CPE is pkg:pip/kas versions prior to 5.3.

Know when Jwt Attack 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 (https://github.com/siemens/kas) PRIMARY 2.1 LOW
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

Primary rating from Vendor (https://github.com/siemens/kas) · only source for this CVE.

CVSS VectorVendor: https://github.com/siemens/kas

Attack Vector
Network
Attack Complexity
High
Attack Requirements
Present
Privileges Required
Low
User Interaction
Passive
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

Impact

When relying solely on a git commit ID (SHA-1 or SHA-256) to qualify if a checkout of a repository is equivalent to the state validated while adding its commit ID to a kas configuration, users may be tricked to check out a branch of the same name from this repository. This implies that the referenced repository has been taken over by an attacker and modified to carry such a branch. SHA-1 commits may also be replaced by creating hash collisions, so the primary impact of this issue is on SHA-256 commit IDs.

Patches

Commit https://github.com/siemens/kas/commit/4cb4a3d01122ffaec9feaae768a5814092f6f9b5 is resolving this issue. It has been released along with kas version 5.3.

Workarounds

Avoid relying solely on the commit ID for integrity validation of a repository that might become under control of a malicious 3rd party. If available, additional validate cryptographically signed commits or tags. Alternatively, mirror the repository to a save place, validate its integrity, and use this instead of the original one.

Credits

That such issues exist was already reported 3 years ago by Aditya Sirish A Yelgundhalli. At this point, no strong integrity checks for external repositories were in place in kas, and Siemens stated in the kas documentation that such attacks are considered out of scope. This hasn't changed for SHA-1 commits as explained above. If a repo provides SHA-256 commits, though, those may be considered strong enough (even if not providing authenticity proof) and can be affected by this issue.

Threat Intelligence Overview

EPSS Score
0.0%
Top 95% exploitable
Threat Intel
1
1 source
Data Quality
5 sources
Confidence: Medium

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.0%
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· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Low

Priority Score

10
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
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.

CVE-2013-3900 MEDIUM
5.5 Dec 11

Why is Microsoft republishing a CVE from 2013? We are republishing CVE-2013-3900 in the Security Update Guide to update

CVE-2026-48558 CRITICAL POC
9.5 Jun 12

Authentication bypass in SimpleHelp 5.5.15 and prior (plus 6.0 pre-release builds) allows remote unauthenticated attacke

CVE-2026-5430 CRITICAL POC
10.0 Aug 06

Authentication bypass in WSO2 API Manager and related components (Universal Gateway, Traffic Manager, API Control Plane,

CVE-2025-59718 CRITICAL
9.8 Dec 09

Authentication bypass in Fortinet FortiOS, FortiProxy, and FortiSwitchManager allows unauthenticated remote attackers to

CVE-2025-25291 CRITICAL POC
9.3 Mar 12

ruby-saml provides security assertion markup language (SAML) single sign-on (SSO) for Ruby. Rated critical severity (CVS

CVE-2026-47304 CRITICAL POC
9.8 Jul 14

Security feature bypass in Microsoft .NET (shipped via Visual Studio 2022 17.12/17.14 and Visual Studio 2026 18.7) lets

CVE-2025-25292 CRITICAL POC
9.3 Mar 12

ruby-saml provides security assertion markup language (SAML) single sign-on (SSO) for Ruby. Rated critical severity (CVS

CVE-2022-25898 CRITICAL POC
9.8 Jul 01

The package jsrsasign before 10.5.25 are vulnerable to Improper Verification of Cryptographic Signature when JWS or JWT

CVE-2026-107722 CRITICAL POC
9.8 Oct 08

Authentication and authorization bypass in fast-jwt 6.2.0 through 6.2.4 (npm, NearForm) lets a remote, unauthenticated a

CVE-2024-42004 CRITICAL POC
9.8 Dec 18

A library injection vulnerability exists in Microsoft Teams (work or school) 24046.2813.2770.1094 for macOS. Rated criti

CVE-2024-41145 CRITICAL POC
9.8 Dec 18

A library injection vulnerability exists in the WebView.app helper app of Microsoft Teams (work or school) 24046.2813.27

CVE-2024-41138 CRITICAL POC
9.8 Dec 18

A library injection vulnerability exists in the com.microsoft.teams2.modulehost.app helper app of Microsoft Teams (work

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