Intel

AIKIDO-2026-310773

sbt is vulnerable to Improper Authorization

Improper AuthorizationGHSA-m2pw-22cj-jq4v Published Aug 10, 2026

98

Critical Risk

This Affects:

JAVAsbt
1.1.0 - 1.12.14
Fixed in 1.12.15
2.0.0 - 2.0.5
Fixed in 2.0.6
Are you affected? Scan for Free

TL;DR

The sbt build server exposes Language Server-style JSON-RPC methods such as sbt/exec over its network channel. When the server is configured with serverConnectionType set to Tcp, the sbt/exec handler queues and evaluates the supplied command line without first requiring the token-authenticated initialize handshake. A client able to reach the server socket can submit an arbitrary sbt command line and force the build to evaluate it, achieving remote code execution without knowing the authentication token. The fix gates the language-server methods behind the authentication check so unauthenticated requests are rejected.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you configure the sbt server with serverConnectionType set to Tcp.

Background info

sbt is vulnerable to Improper Authorization in versions 1.1.0 - 1.12.14 and 2.0.0 - 2.0.5.

How to fix this

Upgrade the org.scala-sbt:sbt library to the patch version.