Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconCompromise upstream referenced repository
-
DeliveryModify included kas config to redirect key file path
-
ExploitVictim runs kas with tag-pinned, fingerprint-less config
-
Installkas checks out attacker repo and parses config before signature validation
-
C2Attacker-controlled key replaces legitimate validation key
-
ExecuteTag signature validation passes with attacker key
-
ImpactArbitrary build configuration injected silently
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A04:2025 - Cryptographic Failures
ASVS 5.0
V11 - Cryptography Signature verification
|
| Exploitation Conditions | Exploitation requires all five of the following conditions to be met simultaneously: (1) The attacker must have already obtained write access to a Git repository that the victim's kas configuration references as an include source - this is a hard prerequisite requiring prior supply-chain compromise. (2) The victim's kas configuration file must include a configuration file sourced from that attacker-controlled repository. (3) The repository reference in the victim's kas file must use a tag rather than a full commit hash (kas warns about this but does not prevent it). (4) The cryptographic key used to validate the tag or commit signature must be stored as a file within a repository (not specified out-of-band or via fingerprint). (5) No key fingerprint must be configured, and the victim must not set the '_source_dir' key. Exploitation is limited by the requirement for prior upstream repository compromise, the non-default key-storage pattern, the absence of a pinned fingerprint, and tag-based (rather than commit-hash-based) pinning - each condition independently reduces the attack surface. |
| Impact | No CVSS vector or EPSS score is provided for this CVE, so severity cannot be formally graded; all risk signals must be inferred from the description and advisory data. The attack requires a highly specific convergence of five independent conditions: the attacker must have already compromised a referenced upstream repository, that repository must be pinned by tag rather than commit hash, the signature key must be stored as a file within a repository (not out-of-band), no fingerprint must be configured, and the victim must not set |
| Exploit ScenarioDerived | An attacker who has compromised an upstream Git repository referenced in a victim's kas build configuration modifies that repository's included kas configuration file to redirect the signature validation key path to an attacker-controlled key. Because kas checks out and parses this configuration before validating the tag signature, the substituted key is loaded, allowing the attacker's tag signatures to pass validation - effectively granting silent control over the build inputs. No public proof-of-concept code has been identified at time of analysis, but the attack is logically constructable from the advisory description alone. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 04, 2026
Late signature validation in Siemens kas (pip/kas >= 4.8, < 5.3) allows an attacker who has already compromised a referenced upstream repository to substitute the cryptographic key used to validate that repository's tag signatures, effectively bypassing integrity checks entirely. Because kas processes and applies configuration includes from external repositories before verifying their signatures, a malicious repository can redirect the signature-validation key to one under attacker control. No public exploit code has been identified at time of analysis, and exploitation requires a highly specific multi-condition scenario including prior supply-chain access to a referenced upstream repo. Vendor-released patch version 5.3 resolves all related attack vectors.
RemediationAI
The primary remediation is to upgrade to kas version 5.3, which includes all three patches: commit 5b2114b (late validation ordering fix), commit c443c0a (misuse of _source_dir), and commit 4cb4a3d (branch-shadowing commit disambiguation). Upgrade via pip: 'pip install --upgrade kas>=5.3'. If an immediate upgrade is not feasible, the vendor-documented workaround is to pin the expected signature key via its fingerprint rather than relying on a key file stored inside a repository - this breaks the attacker's ability to substitute the key even if they control the upstream repo. Additionally, operators should pin all repository references to explicit commit hashes rather than tags, which both eliminates the tag-shadowing vector and triggers kas's existing warning mechanism when tags are used without commit IDs. Advisory references: https://github.com/siemens/kas/security/advisories/GHSA-4vqc-wpwg-vh7j and https://github.com/siemens/kas/security/advisories/GHSA-qjwp-hrq6-r26r.
Affected VersionsENISA
Affected Packages
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 Siemens-maintained Python tool (pip/kas) for managing Yocto/OpenEmbedded build environment configurations, typically used in embedded Linux workflows. It supports multi-repository builds by fetching and composing configuration from referenced Git repositories. The root cause is CWE-347 (Improper Verification of Cryptographic Signature): kas performs Git checkout and configuration parsing of included repositories prior to validating their cryptographic signatures. This ordering flaw means that attacker-controlled content from an upstream repository is parsed and applied - including key file paths - before any trust assertion is made. A secondary issue (addressed by the GHSA-qjwp-hrq6-r26r advisory) involves branch names shadowing commit refs: when a repository is pinned by tag rather than full commit hash, git checkout could silently resolve to a branch of the same name as the tag. The patch (commit 4cb4a3d) guards against this by appending '^{commit}' to any 40/64-character hex ref, ensuring only actual commit objects are resolved.
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
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
Lifecycle Timeline
1DescriptionCVE.org
Impact
So far, 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
- the
_source_dirkey 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.
Patches
The vulnerability was introduced with a2480fe59b6421eb96cf3bd86527ae6e412a331e, commit https://github.com/siemens/kas/commit/5b2114becfc154b16ef496d24f8c2191a2297f57 is resolving this issue. A misuse of _source_dir is resolved by commit https://github.com/siemens/kas/commit/c443c0a1fd0f9bd6a689a44d95a252085fc6da88. Shadowing a commit by a branch of the same name is described in advisory https://github.com/siemens/kas/security/advisories/GHSA-qjwp-hrq6-r26r and is addressed by commit https://github.com/siemens/kas/commit/4cb4a3d01122ffaec9feaae768a5814092f6f9b5. All patches have been released along with kas version 5.3.
Workarounds
Pin the expected signature key via its fingerprint, also when storing it as file in a repository.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
More in Jwt Attack
View allWhy is Microsoft republishing a CVE from 2013? We are republishing CVE-2013-3900 in the Security Update Guide to update
Authentication bypass in SimpleHelp 5.5.15 and prior (plus 6.0 pre-release builds) allows remote unauthenticated attacke
Authentication bypass in WSO2 API Manager and related components (Universal Gateway, Traffic Manager, API Control Plane,
Authentication bypass in Fortinet FortiOS, FortiProxy, and FortiSwitchManager allows unauthenticated remote attackers to
ruby-saml provides security assertion markup language (SAML) single sign-on (SSO) for Ruby. Rated critical severity (CVS
Security feature bypass in Microsoft .NET (shipped via Visual Studio 2022 17.12/17.14 and Visual Studio 2026 18.7) lets
ruby-saml provides security assertion markup language (SAML) single sign-on (SSO) for Ruby. Rated critical severity (CVS
The package jsrsasign before 10.5.25 are vulnerable to Improper Verification of Cryptographic Signature when JWS or JWT
Authentication and authorization bypass in fast-jwt 6.2.0 through 6.2.4 (npm, NearForm) lets a remote, unauthenticated a
A library injection vulnerability exists in Microsoft Teams (work or school) 24046.2813.2770.1094 for macOS. Rated criti
A library injection vulnerability exists in the WebView.app helper app of Microsoft Teams (work or school) 24046.2813.27
A library injection vulnerability exists in the com.microsoft.teams2.modulehost.app helper app of Microsoft Teams (work
EUVD-2026-58723
GHSA-4vqc-wpwg-vh7j
NVD
CVE.org
EPSS
Exploit-DB