CVE-2026-65906 Code injection in TeamCity

High 8.8 Published Updated

Attackers can execute arbitrary code by escaping the Kotlin DSL sandbox in JetBrains TeamCity, requiring an upgrade to mitigate.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-65906?

CVE-2026-65906 is a high-severity code injection vulnerability in Jetbrains Teamcity, published on 23 Jul 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

In JetBrains TeamCity before 2026.1.2, 2025.11.6 сode execution via Kotlin DSL sandbox escape was possible

Weakness: CWE-94

Which versions are affected by CVE-2026-65906?

It affects 1 product.

Products include Jetbrains Teamcity.

How do I fix CVE-2026-65906?

No fix has been published for CVE-2026-65906 yet. Limit exposure of the affected software until one is available.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2026-65906 being exploited?

There is no known exploitation of CVE-2026-65906 in the wild and no public exploit code.

All Jetbrains Teamcity vulnerabilities

Sources

Also known as GHSA-8m5q-x899-528f.

Is CVE-2026-65906 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free