Skip to main content
VulnerabilityPublished

CVE-2026-114615: Kimi cli · Authlib incomplete algorithm-confusion fix permits HMAC forgery with prefixed public keys

Affects kimi-cliSource GCVE Database

0
Compare

Mentioned vulnerabilities

Authoritative record:CVE-2026-114615· High 7.4

Not known to be exploited · CVSS 7.4 High.

Data as of 30 Oct 2026, 06:59 UTC

CVSS 3.1 base score
7.4High
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 3.17.4
EPSS
0.1% chance of exploitation in 30 days – higher than 9% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 22 Oct 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.

What to do

Affected software

ProductAffectedFixed in
Homebrewkimi-clipkg:brew/kimi-cliOther threatsAffected
  • >=0.40
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

The vulnerability is due to an incomplete fix in authlib's key import logic. Until an official fix is released, users should avoid passing PEM or certificate keys with leading whitespace, newlines, BOMs, or comments to jwt.decode(). Additionally, callers should avoid using the documented jwt object that does not allow restricting algorithms and instead explicitly specify allowed algorithms to exclude symmetric HS* algorithms when verifying asymmetric signatures. Monitor the vendor advisory for updates and apply patches once available.

Description

A vulnerability in the kimi-cli product's use of authlib allows an attacker to forge HMAC-signed JWT tokens by exploiting an incomplete fix in the key import validation. The flaw arises because the check preventing asymmetric public keys from being used as HMAC secrets only matches keys starting exactly at byte 0, while the loader accepts keys with leading whitespace or comments. This discrepancy allows an attacker with only the issuer's public key to craft HS256 tokens with arbitrary claims that are accepted as authentic. The issue affects versions >=0.40 and was confirmed in authlib 1.8.0 and main branch as of August 2026.

References

Community reviews

Loading reviews…