Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to TeamCity with low privileges
-
ExploitConfigure crafted Mercurial VCS root
-
ExecutionInject arguments via repository contents (CWE-88)
-
ImpactExecute arbitrary code on build server
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Argument sanitization
|
| Exploitation Conditions | Requires a TeamCity instance using a Mercurial (hg) VCS root and an authenticated actor with privileges to create or modify that VCS root or control the referenced Mercurial repository's contents (consistent with PR:L); exploitation is triggered when TeamCity processes the crafted Mercurial repository contents, injecting arguments into the hg invocation (CWE-88). Limiting factors: authentication is required (not anonymous), the deployment must actually use Mercurial VCS roots (installations using only Git/Perforce/other VCS are not affected by this vector), and the instance must be an unpatched version earlier than 2026.2, 2026.1.4, or 2025.11.8. The complete fix per the vendor is upgrading to a fixed version. |
| Impact | The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, base 8.8) signals network-reachable, low-complexity remote code execution requiring only low-level privileges and no user interaction, with full confidentiality, integrity, and availability loss - consistent with RCE on a CI/CD build server, a high-value target. CWE-88 (argument injection) aligns with the stated vector of 'Mercurial repository contents,' suggesting attacker-influenced repo data is passed into the hg command line. Key real-world-risk signals are MISSING from the input: no EPSS probability, no CISA KEV entry, and no POC/exploit reference are provided, so this is 'no public exploit identified at time of analysis.' The PR:L requirement is a meaningful limiter - exploitation presupposes an authenticated TeamCity user able to configure or influence a Mercurial VCS root rather than a fully anonymous attacker. The vuln.today decision label is 'this_week' (not act_now/emergency), so prioritize patching within the week; the combination of RCE severity on a build server against a non-public-exploit, auth-gated flaw makes this a genuine priority but not a drop-everything emergency. CVSS-vs-description are consistent here; no conflicting signals were detected beyond the simply-absent exploitation telemetry. |
| Exploit ScenarioDerived | An attacker holding a low-privileged TeamCity account that can create or edit a Mercurial-based VCS root points it at a repository whose contents are crafted to inject extra arguments into the hg command TeamCity invokes. When TeamCity fetches or polls the repository, the injected arguments cause arbitrary code execution in the context of the build server. No public exploit code is identified in the provided data, and no user interaction is required (UI:N). |
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 affects servers running versions earlier than 2026.2, 2026.1.4, and 2025.11.8, where crafted contents of a Mercurial (hg) repository are passed into the TeamCity-side hg invocation and can inject arguments that lead to command execution on the build server (CWE-88). The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, base 8.8) describes network-reachable, low-complexity exploitation by an authenticated actor with low privileges and no user interaction, yielding full confidentiality, integrity, and availability loss on a CI/CD host. Exposure is limited to instances that actually use Mercurial VCS roots and to actors able to create or modify such a root or control the referenced repository's contents; no public exploit was identified at time of analysis, and the vulnerability is not in CISA KEV.
RemediationAI
Upgrade TeamCity to 2026.2, 2026.1.4, or 2025.11.8 depending on the branch in use; the vendor states that upgrading to a fixed version is the complete fix. Pending the upgrade, note that this vector only applies to servers configured with Mercurial (hg) VCS roots, so instances using only other VCS integrations are not exposed through it, and the assessed prerequisites restrict practical attack paths to authenticated users who can create or modify a Mercurial VCS root or control the referenced repository's contents - auditing and limiting who holds those VCS-root permissions reduces exposure but is not a substitute for the fixed build. Fix reference: https://www.jetbrains.com/privacy-security/issues-fixed/.
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, which polls version control systems to trigger builds; one supported integration is Mercurial (hg), configured through a VCS root. The root cause class is CWE-88, argument injection: repository-supplied values are incorporated into the command line used to invoke the hg client without adequate separation or escaping, so an attacker who can influence repository contents or the VCS root settings can smuggle additional arguments into that invocation and pivot to code execution in the server's context. The CPE cpe:2.3:a:jetbrains:teamcity:*:*:*:*:*:*:*:* confirms the affected product is TeamCity itself across version branches below the fixed releases. The trigger requires that a Mercurial VCS root exists and is processed by TeamCity; deployments using only Git, Perforce, or other VCS integrations are not affected by this vector, and authentication with privileges sufficient to create or modify a VCS root is a prerequisite (consistent with PR:L in the assessed vector). The specific argument-parsing path and the exact repository constructs required are 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:L/UI:N/S:U/C:H/I:H/A:H
Network-reachable TeamCity server, low-complexity argument injection, but requires an authenticated user able to configure/influence a Mercurial VCS root (PR:L); RCE yields full C/I/A impact.
Primary rating from Vendor (JetBrains).
CVSS VectorVendor: JetBrains
Lifecycle Timeline
2DescriptionCVE.org
In JetBrains TeamCity before 2026.2, 2026.1.4, 2025.11.8 remote code execution was possible via Mercurial repository contents
Executive ViewAI
A high-severity remote code execution flaw in JetBrains TeamCity allows an authenticated low-privilege user to fully compromise the build server if the instance uses Mercurial version control. This could lead to unauthorized access to source code, tampering with build artifacts, and disruption of CI/CD pipelines, affecting development integrity and overall software supply chain security.
No vendor-released patch identified at time of analysis; interim mitigations include limiting VCS root creation/modification to trusted users, disabling Mercurial VCS roots where not essential, and isolating TeamCity servers from untrusted networks.
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-129674
GHSA-vcx5-c4gf-hcv6
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB