Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain project-edit or VCS commit access
-
DeliverySubmit malicious Kotlin DSL build settings
-
ExploitTrigger incomplete-denylist sandbox escape
-
ExecutionExecute arbitrary code in server context
-
ImpactFull TeamCity server compromise
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Input validation completeness
|
| Exploitation Conditions | Exploitation requires the attacker to supply or alter a Kotlin DSL build configuration that TeamCity then evaluates - i.e. the 'versioned settings' / Kotlin DSL feature must be in use, and the attacker needs the means to provide DSL code, typically project-administration/edit rights in the TeamCity UI or write/commit access to the VCS repository that stores the project's versioned settings. The flaw (CWE-184, incomplete list of disallowed inputs) is that the DSL sandbox's restriction list is incomplete, allowing a crafted script to escape. Limiting factors: the attacker must already be able to introduce build-configuration DSL, so despite the CVSS PR:N claim, practical exploitation is gated by project-edit or VCS-commit privileges and by whether Kotlin DSL settings are actually enabled; servers not exposing configuration editing to untrusted users are substantially harder to attack. No user interaction is required once malicious DSL is evaluated. |
| Impact | Signals are strongly conflicting and require careful interpretation. The input 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: remote, unauthenticated, low-complexity RCE with a scope change - consistent with full server compromise of a CI/CD platform. However, the real-world exploitation signals contradict this urgency: EPSS is only 0.27% (18th percentile), there is no CISA KEV listing, no public POC is referenced, and CISA SSVC explicitly scores Exploitation as 'none' and Automatable as 'no' (only Technical Impact is 'total'). The most important tension is the PR:N claim versus the vulnerability class: a Kotlin DSL 'sandbox escape' presupposes the attacker can already submit or influence a Kotlin DSL build configuration, which in TeamCity normally requires authenticated project-edit rights or commit access to the VCS holding versioned settings - so PR:N likely overstates true pre-conditions and should be verified against the JetBrains advisory. Net: this is a genuinely high-impact flaw worth prompt patching for any internet-exposed or multi-tenant TeamCity server (CI/CD compromise enables downstream supply-chain attacks), but the low EPSS, 'none' exploitation status, and 'not automatable' SSVC rating indicate it is not currently under mass exploitation and realistically needs some level of access, making it a high-priority-but-not-emergency patch rather than a drop-everything KEV-style event. |
| Exploit ScenarioDerived | An actor with the ability to define or modify a TeamCity project's Kotlin DSL build settings (via the UI with project-edit rights, or by committing versioned settings to the backing VCS) crafts a DSL script that abuses an incomplete restriction list to break out of the intended DSL sandbox. When TeamCity evaluates the configuration, the escape yields arbitrary code execution in the server process context, fully compromising the CI/CD server. No public exploit code is identified at time of analysis, and SSVC rates current exploitation as 'none'. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Oct 08, 2026
Sandbox escape in JetBrains TeamCity's Kotlin DSL configuration mechanism allows an attacker who can supply or modify versioned-settings build configuration code to run arbitrary code on the TeamCity server, breaking out of the DSL evaluation sandbox. The vendor advisory covers TeamCity releases before 2026.1.3 and before 2025.11.7; the CVSS 3.1 vector published with the CVE is a full 10.0 (AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H), while our independent assessment scores it lower at PR:L because practical exploitation requires the ability to inject Kotlin DSL - realistically project-administration/edit rights in the TeamCity UI or write/commit access to the VCS repository holding the project's versioned settings - and the Kotlin DSL / versioned settings feature must actually be enabled. Risk signals here are genuinely conflicting and should be read carefully: a maximum-severity scope-changing RCE sits alongside a low EPSS of 0.27% (18th percentile), CISA SSVC 'Exploitation: none' and 'Automatable: no', and no public exploit identified at time of analysis, so this looks more like a high-impact but privilege-gated flaw than a broadly wormable one.
Earlier versions of this analysis (1)
Authenticated users with permission to modify Kotlin DSL build configurations in JetBrains TeamCity can escape the DSL sandbox and execute arbitrary code on the server, affecting versions prior to 2026.1.3 and prior to 2025.11.7. This remote code execution vulnerability has a CVSS score of 8.8 (CWE-184: Incomplete List of Disallowed Inputs) and requires a low-privilege account (PR:L) but no user interaction. No public exploit code has been identified at time of analysis, and the primary limiting factor is the need for an authenticated account with DSL editing permissions.
RemediationAI
Upgrade to a fixed build: JetBrains TeamCity 2026.1.3 or 2025.11.7 (or the latest patch on your supported branch) - vendor-released patch available per JetBrains' fixed-issues advisory at https://www.jetbrains.com/privacy-security/issues-fixed/. If you cannot patch immediately, the most effective compensating control is to stop evaluating untrusted DSL: disable Kotlin DSL / versioned settings for projects that untrusted users can influence and switch affected projects to XML-based configuration, accepting that you lose the DSL workflow and any configuration-as-code automation until the upgrade lands. In parallel, tighten the privilege boundary that the sandbox escape depends on by removing project-administration and build-configuration edit rights from non-administrative users, restricting write/commit access to the VCS repositories that feed versioned settings, and enabling commit signing or branch protection so only reviewed changes reach the settings branch - the trade-off is slower configuration change velocity and more manual review overhead. Additionally, review whether any non-administrative principal currently has both DSL-injection capability and network reach to the TeamCity server, run the server under a dedicated low-privilege OS account with no access to unrelated secrets or host file systems, and audit recent Kotlin DSL commits and server-side logs for signs of unusual script evaluation while the upgrade is scheduled. Given SSVC 'Automatable: no' and no confirmed exploitation, emergency out-of-band action is less urgent than closing the configuration-editing privilege gap, but the total technical impact if the sandbox is broken justifies treating the upgrade as high priority on any internet-reachable or widely shared instance.
Affected VersionsENISA
Affected Packages
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's Kotlin DSL lets teams define build configurations as Kotlin code stored in version control ('versioned settings'), which the TeamCity server compiles and evaluates inside a restricted scripting sandbox. The root cause is CWE-184, Incomplete List of Disallowed Inputs: the sandbox's denylist of forbidden classes, methods, or language constructs is not exhaustive, so a crafted Kotlin script can reach functionality outside the intended restricted surface and escape into the host JVM, yielding remote code execution in the server process context. Because the escaped code executes as the TeamCity server rather than as a build agent or a limited user, the CVSS vector's Scope change (S:C) with High confidentiality, integrity, and availability impact is plausible - full control of the server, its stored credentials, and connected build infrastructure. The CPE cpe:2.3:a:jetbrains:teamcity:*:*:*:*:*:*:*:* confirms all TeamCity releases below the fixed branches are treated as affected, with EUVD listing 0 < 2026.1.3 and 2025.11.7. The attack is delivered over the network via the configuration pipeline rather than through an unauthenticated network service, which is why the assessed vector downgrades the privilege requirement from PR:N to PR:L even though no user interaction (UI:N) is needed once malicious DSL is evaluated.
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
AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Sandbox escape presupposes ability to submit Kotlin DSL (project-edit or VCS access), so PR:L not PR:N; low-complexity network vector, and the escape to the server process is a scope change with total impact.
Primary rating from Vendor (JetBrains).
CVSS VectorNVD
Lifecycle Timeline
5DescriptionNVD
In JetBrains TeamCity before 2026.1.3 2025.11.7 kotlin DSL sandbox escape leading to RCE on the server was possible
Executive ViewAI
JetBrains TeamCity, a widely used CI/CD server, is affected by a critical sandbox-escape vulnerability that could let someone who can alter versioned-settings configuration execute arbitrary code on the TeamCity server, potentially compromising build infrastructure and downstream software. A vendor patch is available and there is no public exploit identified at time of analysis, but the maximum CVSS severity and CI/CD supply-chain exposure make this a priority for security leadership. Organizations running affected TeamCity releases should verify exposure, restrict configuration-editing privileges, and remediate quickly.
Apply vendor patch.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Path traversal in JetBrains TeamCity before 2023.11.4 enables remote attackers to perform a limited set of administrativ
Remote code execution in JetBrains TeamCity before 2026.1.3 and 2025.11.7 allows unauthenticated attackers to execute ar
In JetBrains TeamCity before 2023.11.4 authentication bypass allowing to perform admin actions was possible. Rated criti
In JetBrains TeamCity before 2023.05.4 authentication bypass leading to RCE on TeamCity Server was possible. Rated criti
In JetBrains TeamCity before 2023.11.3 authentication bypass leading to RCE was possible. Rated critical severity (CVSS
Remote code execution in JetBrains TeamCity before 2026.1.2 and 2025.11.6 allows an attacker to escape the Kotlin DSL sa
Remote code execution in JetBrains TeamCity server affects versions before 2026.1.3 and before 2025.11.7, where a crafte
Remote code execution in JetBrains TeamCity (versions before 2026.1.3 and before 2025.11.7) is possible through argument
Remote code execution in JetBrains TeamCity allows an authenticated user with rights to create or modify Perforce VCS ro
Remote code execution in JetBrains TeamCity before 2026.1.3 and before 2025.11.7 is reachable by an authenticated user w
JetBrains TeamCity versions prior to 2026.2, 2026.1.4, and 2025.11.8 contain a flaw in the password reset mechanism that
Remote code execution affects JetBrains TeamCity releases older than 2026.2, 2026.1.4, and 2025.11.8, where a type-white
EUVD-2026-93504
GHSA-p8v4-6cfg-7hh7
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB