Skip to main content
EPSS 0.3%top 84%

Kimi cli: Authlib OAuth 2.0 has Open Redirect in Authorization API that allows attacker-controlled redirect_uri through unsupported response_type (CVE-2026-41479)

0
Medium
Published: 08/13/2026 (08/13/2026, 17:01:40 UTC)
Source: GCVE Database
Product: kimi-cli

Description

Authlib's OAuth 2.0 authorization endpoint in kimi-cli versions prior to 1.6.10, certain 1.7.x versions, and some 2.x versions contains an open redirect vulnerability. This occurs when an unsupported response_type is used along with an attacker-controlled redirect_uri, allowing redirection without client validation or user authentication. The flaw exists because the server returns a redirect response to the supplied redirect_uri before validating the client or redirect URI. This vulnerability has a CVSS score of 5.4 (medium severity) and affects multiple versions as specified. A patch is available to address this issue.

CVSS v3.1

Score 5.4medium

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N

Affected software

PyPIghsa
authlib
Affected versions
>=1.7.0 <1.7.1=1.7.0
Homebrewmore threats →ghsa
mcpm
pkg:brew/mcpm
Affected versions
>=2.1.0 <2.14.0_3
Homebrewmore threats →ghsa
kimi-cli
pkg:brew/kimi-cli
Affected versions
<1.48.0_1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/10/2026, 21:50:52 UTC

Technical Analysis

The vulnerability in Authlib's OAuth 2.0 authorization endpoint arises from the handling of unsupported response_type values. When such a response_type is received, the server raises an UnsupportedResponseTypeError that includes the raw redirect_uri from the request without validating the client or the redirect URI. The error handling mechanism then issues a 302 redirect to this attacker-controlled URI, effectively creating an unauthenticated open redirect. This behavior is reachable through normal OAuth2 authorization flows in Flask and Django integrations using Authlib. The issue was confirmed in tag v1.6.6 and later commits, and a proof-of-concept demonstrates the redirect to arbitrary URLs without client registration or user authentication.

Potential Impact

An attacker can exploit this vulnerability to perform an open redirect attack by supplying a malicious redirect_uri with an unsupported response_type parameter. This can lead to phishing or other social engineering attacks by redirecting users to attacker-controlled sites. The vulnerability does not require a valid client, authenticated user, or prior state, making exploitation straightforward. However, it does not directly allow token theft or privilege escalation. The CVSS 3.1 score is 5.4, indicating medium severity with low complexity and no privileges required.

Mitigation Recommendations

A patch is available for this vulnerability. Users should upgrade to fixed versions of kimi-cli that address this issue. Until patched, avoid using unsupported response_type values and validate redirect_uri parameters strictly. The vendor advisory confirms the availability of a fix; therefore, applying the official patch is the recommended remediation.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-w8p2-r796-3vmq
Osv Schema Version
1.4.0
Aliases
["CVE-2026-41479"]
Ecosystems
["PyPI"]
Database Specific Severity
MODERATE
Cvss Version
3.1

Threat ID: 6a5bd3192a4a8d59892850a2

Added to database: 07/18/2026, 19:25:13 UTC

Last enriched: 10/10/2026, 21:50:52 UTC

Last updated: 10/16/2026, 06:48:16 UTC

Views: 161

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses