Skip to main content

JetBrains TeamCity CVE-2026-65906

| EUVDEUVD-2026-48251 CRITICAL
Code Injection (CWE-94)
2026-07-23 JetBrains GHSA-8m5q-x899-528f
10.0
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach TeamCity settings interface
  2. Delivery
    Submit crafted Kotlin DSL
  3. Exploit
    Escape DSL evaluation sandbox
  4. Execution
    Execute code on CI server
  5. Persist
    Harvest VCS/deploy credentials
  6. Impact
    Tamper with build pipeline

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Code injection prevention, sandbox exec
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the ability to supply crafted Kotlin DSL to a TeamCity server running a version below 2026.1.2 or 2025.11.6 - i.e., the target must use TeamCity's Kotlin DSL / versioned-settings feature, and the attacker must be able to introduce DSL content (typically via write access to the VCS repository backing project settings or via project-settings edit rights). The NVD vector marks this PR:N (unauthenticated), but the realistic prerequisite of submitting DSL implies at least VCS-write or project-edit privilege, so the true authentication requirement is not fully confirmed from available data and should be validated with JetBrains. Limiting factors: servers that do not enable Kotlin/versioned settings, that restrict settings-write permissions, or that are not network-reachable by the attacker are materially harder to exploit.

Impact

The NVD-style CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H = 10.0) paints a worst-case picture: unauthenticated, network-reachable, low-complexity RCE with a scope change and total impact. However, that maximal score partially conflicts with how the Kotlin DSL is actually reached - supplying DSL to a project normally requires write access to a connected VCS repository or project-settings edit rights, which implies some level of authenticated/privileged access; PR:N should be verified against the vendor's exploitation model, and my independent assessment uses PR:L for this reason. The supporting signals temper the raw score: SSVC records Exploitation=none and Automatable=no (only Technical Impact=total is severe), EPSS is a modest 0.40%, and no POC or KEV listing exists, so this reads as a high-impact-but-not-yet-exploited priority rather than an actively-weaponized emergency. That said, TeamCity is a high-value CI/CD target whose compromise enables supply-chain attacks, so even a mid-sized operator should treat patching as urgent and not defer it on the strength of the low EPSS alone. Bottom line: prioritize the update quickly, but the 'unauthenticated' framing warrants confirmation with JetBrains' advisory.

Exploit ScenarioDerived

An attacker with the ability to submit Kotlin DSL settings - for example by committing to a VCS repository that TeamCity uses for versioned settings, or by abusing an exposed settings endpoint - crafts DSL that breaks out of the evaluation sandbox. When TeamCity compiles and evaluates the settings, the malicious code runs on the server, letting the attacker steal VCS/deployment credentials and tamper with builds. No public POC is identified at time of analysis, and the low-complexity network vector means exploitation is straightforward once DSL submission is possible.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv2 – Aug 11, 2026

Remote code execution in JetBrains TeamCity before 2026.1.2 and 2025.11.6 allows an attacker to escape the Kotlin DSL sandbox used to define build configurations-as-code and run arbitrary code in the context of the CI server. Because TeamCity servers hold VCS credentials, deployment keys, and build artifacts, a successful escape effectively compromises the entire build pipeline and downstream software supply chain. There is no public exploit identified at time of analysis, and the flaw is not listed in CISA KEV; EPSS is low at 0.40% (33rd percentile).

Earlier versions of this analysis (1)
v1 Jul 23, 2026 - 13:16 CVSS 8.8

Authenticated remote code execution in JetBrains TeamCity before 2026.1.2 and 2025.11.6 arises from a sandbox escape in the Kotlin DSL used to define build configurations, letting a low-privileged user break out of the intended DSL restrictions and run arbitrary code on the CI/CD server (CWE-94). With CVSS 8.8 (AV:N/AC:L/PR:L/UI:N) an attacker who can edit versioned build settings gains full host compromise. No public exploit identified at time of analysis, and the issue is not in CISA KEV.

RemediationAI

Vendor-released patch: upgrade to TeamCity 2026.1.2 (2026.1.x branch) or 2025.11.6 (2025.11.x maintenance branch), whichever matches your current major line, per JetBrains at https://www.jetbrains.com/privacy-security/issues-fixed/. Until you can upgrade, reduce exposure by restricting who can author or import Kotlin DSL settings: limit project-settings edit and 'versioned settings' write permissions to trusted administrators, and tighten write access on the VCS repositories that back TeamCity settings so untrusted commits cannot introduce DSL. Additionally, keep the TeamCity web UI and API off the public internet (place it behind a VPN or IP allowlist), which limits reachability if the unauthenticated vector is confirmed; the trade-off is reduced convenience for remote developers and integrations. These are compensating controls only - apply the patch as the definitive fix, since disabling versioned settings entirely would break teams that rely on configuration-as-code.

Affected VersionsENISA

TeamCity 0 <2026.1.2, 2025.11.6

Affected Packages

euvd teamcity_0_2026_1_2 no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

TeamCity supports defining project and build settings 'as code' using a Kotlin-based DSL (Kotlin DSL), which is compiled and evaluated by the server. To contain the arbitrary Kotlin code this feature accepts, TeamCity evaluates it inside a restricted sandbox. This vulnerability is a CWE-94 (Improper Control of Generation of Code / code injection) issue where crafted DSL content bypasses the sandbox's restrictions, allowing the supplied Kotlin to execute outside its intended confinement on the server JVM. The affected component is the TeamCity server itself (CPE cpe:2.3:a:jetbrains:teamcity:*), specifically the settings/DSL evaluation subsystem rather than build agents.

Know when Teamcity gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (JetBrains) PRIMARY HIGH
NVD 10.0 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
vuln.today AI 9.9 CRITICAL

Supplying Kotlin DSL realistically requires VCS-write or project-edit rights, so PR:L rather than PR:N; sandbox escape crosses a trust boundary (S:C) with total host impact (C/I/A:H).

3.1 AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

Primary rating from Vendor (JetBrains).

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

5
Analysis Updated
Aug 11, 2026 - 16:13 vuln.today
v2 - CVSS changed
Severity Changed
Aug 11, 2026 - 16:07 NVD
HIGH CRITICAL
CVSS changed
Aug 11, 2026 - 16:07 NVD
8.8 (HIGH) 10.0 (CRITICAL)
Patch available
Jul 23, 2026 - 14:04 EUVD
CVE Published
Jul 23, 2026 - 12:24 cve.org
HIGH 8.8

DescriptionNVD

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

Executive ViewAI

Why It Matters

A critical remote code execution vulnerability in JetBrains TeamCity (CVE-2026-65906) allows sandbox escape and arbitrary code execution with server privileges, with no public exploit identified at time of analysis. The vulnerability exposes VCS credentials, deployment keys, and the entire software supply chain to compromise; organizations using affected versions face exposure across every build and software release.

Business Impact: High
Compensating Controls

Vendor-released patch: JetBrains TeamCity 2026.1.2 and 2025.11.6. Apply to all affected instances immediately.

Threat Intelligence Overview

EPSS Score
0.4%
Top 67% exploitable
Prevalence
High
widely deployed self-hosted enterprise CI/CD server
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

50
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +50
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

CVE-2024-27199 HIGH POC
7.3 Mar 04

Path traversal in JetBrains TeamCity before 2023.11.4 enables remote attackers to perform a limited set of administrativ

CVE-2026-63077 CRITICAL POC
9.8 Jul 27

Remote code execution in JetBrains TeamCity before 2026.1.3 and 2025.11.7 allows unauthenticated attackers to execute ar

CVE-2024-27198 CRITICAL POC
9.8 Mar 04

In JetBrains TeamCity before 2023.11.4 authentication bypass allowing to perform admin actions was possible. Rated criti

CVE-2023-42793 CRITICAL POC
9.8 Sep 19

In JetBrains TeamCity before 2023.05.4 authentication bypass leading to RCE on TeamCity Server was possible. Rated criti

CVE-2024-23917 CRITICAL POC
9.8 Feb 06

In JetBrains TeamCity before 2023.11.3 authentication bypass leading to RCE was possible. Rated critical severity (CVSS

CVE-2026-106218 CRITICAL
10.0 Oct 06

Sandbox escape in JetBrains TeamCity's Kotlin DSL configuration mechanism allows an attacker who can supply or modify ve

CVE-2026-100255 CRITICAL
9.8 Sep 30

JetBrains TeamCity versions prior to 2026.2, 2026.1.4, and 2025.11.8 contain a flaw in the password reset mechanism that

CVE-2026-111094 CRITICAL
9.8 Oct 15

Remote code execution affects JetBrains TeamCity releases older than 2026.2, 2026.1.4, and 2025.11.8, where a type-white

CVE-2024-41827 CRITICAL
9.8 Jul 22

In JetBrains TeamCity before 2024.07 access tokens could continue working after deletion or expiration. Rated critical s

CVE-2024-36470 CRITICAL
9.8 May 29

In JetBrains TeamCity before 2022.04.7, 2022.10.6, 2023.05.6, 2023.11.5 authentication bypass was possible in specific e

CVE-2023-34218 CRITICAL
9.8 May 31

In JetBrains TeamCity before 2023.05 bypass of permission checks allowing to perform admin actions was possible. Rated c

CVE-2022-25263 CRITICAL
9.8 Feb 25

JetBrains TeamCity before 2021.2.3 was vulnerable to OS command injection in the Agent Push feature configuration. Rated

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy