Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as privileged TeamCity user
-
DeliveryAuthor malicious Kotlin DSL build config
-
ExploitSpoof sandbox security context (CWE-486)
-
ExecutionEscape Kotlin DSL sandbox
-
ImpactExecute arbitrary code on TeamCity server
Vulnerability Assessment
| Weakness |
CWE
|
| Exploitation Conditions | Exploitation requires an authenticated TeamCity account with sufficient privileges to define or edit Kotlin DSL build configurations (reflected by PR:H in the CVSS vector); it is not reachable by anonymous or low-privileged network users against a default configuration. The specific prerequisite is the ability to supply Kotlin DSL settings that are processed by the sandbox, where a name-based class comparison weakness (CWE-486) allows the security context to be spoofed and the sandbox to be escaped. Limiting factors: the required privileged/authenticated access and the need to control DSL configuration input substantially narrow the realistic attacker population to insiders or anyone who has already obtained privileged TeamCity credentials. The only complete fix stated by the vendor is upgrading to TeamCity 2026.2.2 or 2026.1.6. |
| Impact | This is a moderately serious but privilege-gated remote code execution flaw rather than a drop-everything emergency. The supplied CVSS 3.1 vector (AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H, base 7.2) describes a network-reachable, low-complexity attack that nonetheless requires HIGH privileges (PR:H), meaning the attacker must already be an authenticated TeamCity user with the rights to define or edit Kotlin DSL build configurations before the sandbox-spoofing bug can be abused. Impact is full CIA compromise of the affected build server (C:H/I:H/A:H) with an unchanged scope (S:U), consistent with CWE-486 (comparison of classes by name) enabling the sandbox's security context to be spoofed. No EPSS score was provided, the flaw is NOT listed in CISA KEV, and no proof-of-concept or exploit reference is present - the only reference is the JetBrains vendor advisory page. The vuln.today decision label is 'this_week', indicating prompt but not emergency remediation. The main signals align: real RCE potential and full impact, but materially reduced real-world risk because exploitation presupposes an attacker who already holds privileged, authenticated access to the CI server. Key missing data: EPSS probability and any independent exploitation telemetry are absent, so widespread automated exploitation cannot be assessed from the inputs. |
| Exploit ScenarioDerived | An authenticated TeamCity user who has rights to create or modify Kotlin DSL build settings crafts a configuration that spoofs the sandbox's security context, escaping the DSL sandbox to execute arbitrary code on the TeamCity server with the server process's privileges. Because TeamCity orchestrates builds and holds credentials/secrets, this yields full compromise of the CI/CD environment. No public exploit code or PoC reference was identified at the time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 19, 2026
Remote code execution in JetBrains TeamCity (releases before 2026.2.2 and before 2026.1.6) is reachable through the Kotlin DSL sandbox, where a name-based class comparison weakness allows the security context to be spoofed and the sandbox to be escaped. The CVSS:3.1 vector AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H describes a network-reachable, low-complexity attack that is nonetheless gated behind a highly privileged authenticated account able to define or edit Kotlin DSL build configurations, so anonymous and low-privileged users are not a viable path against a default configuration. No public exploit code or CISA KEV entry was identified at the time of analysis; the vendor states the only complete fix is upgrading to 2026.2.2 or 2026.1.6, and the priority signal is to schedule remediation within this week's patch cycle rather than treat it as a drop-everything emergency.
RemediationAI
Upgrade JetBrains TeamCity to 2026.2.2 or 2026.1.6, which the vendor states is the only complete fix; both branch-specific versions must be applied as listed, since neither supersedes the other. Consult the vendor's fixed-issues page at https://www.jetbrains.com/privacy-security/issues-fixed/ for build details before upgrading. Because exploitation requires an account privileged enough to define or edit Kotlin DSL build configurations, a compensating control while patching is to restrict that capability to a small, trusted set of administrators and review existing role assignments for unnecessary Kotlin DSL authoring rights; the trade-off is reduced self-service for build configuration changes and added administrative overhead. The vendor does not describe any other mitigation that fully removes the sandbox escape, so privilege restriction should be treated as a stopgap only, not a substitute for upgrading.
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 is JetBrains' CI/CD server, and its Kotlin DSL lets teams define build configurations as code that is compiled and executed inside a sandbox intended to keep DSL authors from running arbitrary code on the server. This flaw is classified as CWE-486, comparison of classes by name rather than by identity: because the sandbox compares classes by name, an attacker who controls Kotlin DSL input can supply a class whose name matches a trusted one, spoof the security context and escape the sandbox to execute code in the server's context. The CPE cpe:2.3:a:jetbrains:teamcity:*:*:*:*:*:*:*:* is a wildcard covering TeamCity installations across the affected branches. The specific prerequisite is the ability to supply Kotlin DSL settings processed by the sandbox, and the PR:H metric in the assessed vector reflects that privileged, authenticated access rather than anonymous reachability; the exact triggering sequence beyond the name-based comparison and sandbox escape is not described in the available sources.
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:H/UI:N/S:U/C:H/I:H/A:H
Network-reachable but requires privileged access to edit Kotlin DSL configs (PR:H); successful sandbox escape yields full code execution on the server, so C:H/I:H/A:H with unchanged scope.
Primary rating from Vendor (JetBrains).
CVSS VectorVendor: JetBrains
Lifecycle Timeline
2DescriptionCVE.org
In JetBrains TeamCity before 2026.2.2, 2026.1.6 remote code execution was possible via security context spoofing in the Kotlin DSL sandbox
Executive ViewAI
A high-severity flaw in JetBrains TeamCity allows users with build configuration privileges to escape the Kotlin DSL sandbox and execute code on the server. This could enable trusted insiders or compromised administrator accounts to breach the CI/CD pipeline, affecting the integrity and confidentiality of builds and deployments. Leadership should prioritize remediation because the vulnerability undermines trust in the software delivery process and could lead to supply chain compromises.
No vendor-released patch identified at time of analysis. Interim mitigations include limiting the ability to define or edit Kotlin DSL build configurations to a minimal set of highly trusted administrators, enforcing strong authentication and monitoring for suspicious configuration changes, and isolating TeamCity servers through network segmentation.
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
Attack Technique
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
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
Sandbox escape in JetBrains TeamCity's Kotlin DSL configuration mechanism allows an attacker who can supply or modify ve
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
Remote code execution in JetBrains TeamCity CI/CD servers affects releases before 2026.2, 2026.1.4, and 2025.11.8 when t
EUVD-2026-129887
GHSA-v54x-q7h2-hjx6
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB