Incorrect Authorization Affecting github.com/coder/coder/v2/aibridge package, versions >=2.30.0 <2.32.7>=2.33.0 <2.33.8>=2.34.0 <2.34.2


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.32% (24th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Incorrect Authorization vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMCODERCODERV2AIBRIDGE-17872221
  • published6 Jul 2026
  • disclosed6 Jul 2026
  • creditUnknown

Introduced: 6 Jul 2026

CVE-2026-55435  (opens in a new tab)
CWE-863  (opens in a new tab)

How to fix?

Upgrade github.com/coder/coder/v2/aibridge to version 2.32.7, 2.33.8, 2.34.2 or higher.

Overview

Affected versions of this package are vulnerable to Incorrect Authorization due to insufficient validation in the IsAuthorized function. An attacker can maintain unauthorized access to AI Bridge LLM proxy endpoints by using previously issued, unexpired API tokens even after the associated user account has been suspended. This allows continued consumption of paid provider resources and invocation of injected tools until the token expires.

Workaround

This vulnerability can be mitigated by deleting the user's API keys via the DELETE /api/v2/users/{user}/keys endpoint upon suspension.

CVSS Base Scores

version 4.0
version 3.1