Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. kas
  4. ›
  5. CVE-2026-47191

CVE-2026-47191: kas checks out SHA-like git branches as valid commits

June 1, 2026 (updated June 4, 2026)

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.

References

  • github.com/advisories/GHSA-qjwp-hrq6-r26r
  • github.com/siemens/kas/commit/4cb4a3d01122ffaec9feaae768a5814092f6f9b5
  • github.com/siemens/kas/security/advisories/GHSA-qjwp-hrq6-r26r
  • nvd.nist.gov/vuln/detail/CVE-2026-47191

Code Behaviors & Features

Detect and mitigate CVE-2026-47191 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 5.3.0

Fixed versions

  • 5.3.0

Solution

Upgrade to version 5.3.0 or above.

Impact 4.6 MEDIUM

CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:L

Learn more about CVSS

Weakness

  • CWE-347: Improper Verification of Cryptographic Signature

Source file

pypi/kas/CVE-2026-47191.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 23 Jun 2026 12:23:42 +0000.