Intel

AIKIDO-2026-818830

kas is vulnerable to Insufficient Verification of Data Authenticity

Insufficient Verification of Data AuthenticityGHSA-6p9r-86f2-f954 Published Today

21

Low Risk

This Affects:

PYTHONkas
0.0.1 - 5.4.0
Fixed in 5.5.0
Are you affected? Scan for Free

TL;DR

kas resolves git revisions requested by commit ID when cloning the repositories declared in its configuration. It only warns about commit IDs shorter than 40 characters, so abbreviated SHA-256 identifiers pass unchecked, and it does not confirm that the resolved commit matches the requested one. A referenced repository can therefore shadow the intended commit with a branch or tag of the same name, causing an unintended or malicious source revision to be checked out. The fix warns about all abbreviated commit hashes and fails when the read-back commit deviates from the specified value.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and your kas configuration checks out repositories pinned by an abbreviated or externally influenced git commit ID.

Background info

kas is vulnerable to Insufficient Verification of Data Authenticity in versions 0.0.1 - 5.4.0.

How to fix this

Upgrade the kas library to the patch version.