Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to TeamCity with project config rights
-
DeliveryCreate/edit Mercurial VCS root
-
ExploitInject extra hg arguments (argument injection)
-
ExecutionTeamCity invokes Mercurial client
-
ImpactArbitrary code executes on server/build host
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Argument sanitization
|
| Exploitation Conditions | Exploitation requires the TeamCity instance to use a Mercurial (hg) VCS root and requires the attacker to hold authenticated privileges sufficient to create or modify VCS root settings for a project (CVSS PR:L) - this is the concrete limiting factor, not a default-unauthenticated path. The injection point is specifically the Mercurial VCS root configuration, where attacker-controlled values are passed as command-line arguments to the Mercurial client. Limiting factors: authentication is required (PR:L, so not anonymous); the target must actually employ Mercurial VCS roots (installations using only Git/Perforce/SVN are not reachable via this specific vector); affected versions are TeamCity before 2026.1.3 and before 2025.11.7. No user interaction by a separate victim is required (UI:N). |
| Impact | This is a genuine high-priority issue, not a high-CVSS-but-low-risk inflation. The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:C) describes network-reachable, low-complexity exploitation requiring only low privileges, with a scope change that reflects code execution escaping the VCS-configuration context onto the TeamCity server/build host - a realistic basis for the 9.9 score and consistent with CWE-88 argument injection. The vuln.today decision label is 'act_now', and the issue was reported by the vendor (JetBrains) itself, which strengthens confidence in the finding. Countervailing signals: the vulnerability is NOT listed in CISA KEV and there is no public exploit identified at time of analysis, so this is a pre-exploitation, patch-ahead-of-weaponization situation rather than confirmed active exploitation. No EPSS score was provided in the input, so probabilistic exploitation likelihood cannot be quantified here. The key limiting factor is PR:L: an attacker needs authenticated access sufficient to create or edit a Mercurial VCS root, which narrows the exposure to users/accounts that can reach project configuration - but on CI/CD servers such access is common across development teams, so the effective attack surface is wide. SSVC-style framing: exploitation=none observed, technical impact=total (full RCE), automatable is unverified from the input. Net: treat as urgent given the act_now label and vendor confirmation, tempered by the authentication requirement and absence of observed in-the-wild use. |
| Exploit ScenarioDerived | An authenticated user with rights to configure a project's version control settings creates or edits a Mercurial VCS root and injects additional command-line arguments into the values TeamCity passes to the hg (Mercurial) client; when TeamCity invokes Mercurial for that root, the injected arguments cause arbitrary code to run on the TeamCity server/build host. No user interaction is needed beyond the attacker's own configuration action, and network attack vector plus low complexity make this straightforward for anyone with the required project privileges. No public exploit code was identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 18, 2026
Remote code execution in JetBrains TeamCity (versions before 2026.1.3 and before 2025.11.7) is possible through argument injection in Mercurial VCS root settings, allowing an authenticated attacker who can create or modify a project's VCS root to execute commands on the TeamCity server. The CVSS 3.1 vector is AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H (9.9), and exploitation is limited to instances that actually use Mercurial VCS roots. No public exploit was identified at time of analysis, but the vuln.today decision label is act_now, so remediation should be prioritized.
RemediationAI
Vendor-released patch: upgrade JetBrains TeamCity to 2026.1.3 or 2025.11.7 (or later) as documented in the vendor advisory at https://www.jetbrains.com/privacy-security/issues-fixed/. Until the upgrade is applied, exposure is limited to instances that use Mercurial VCS roots and to accounts with permission to create or modify VCS root settings, so restricting that permission reduces the reachable attack path; installations that do not use Mercurial VCS roots are not exposed via this specific vector. No separate workaround is described in the available references, and the vuln.today decision label is act_now, so prioritize applying the fixed releases.
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
JetBrains TeamCity is a CI/CD server that integrates with version control systems through VCS roots; this issue is in the Mercurial (hg) VCS root handling, where attacker-controlled configuration values are passed as command-line arguments to the Mercurial client. CWE-88 (Improper Neutralization of Argument Delimiters in a Command) describes the root cause: the product does not adequately prevent injected argument delimiters or options from being interpreted by the invoked command, which can turn a VCS configuration path into command execution. The assessed CVSS vector requires network access, low privileges (PR:L), no user interaction, and results in scope change with high confidentiality, integrity, and availability impact; the sources confirm that the attacker must be authenticated with enough rights to create or modify VCS root settings, and the target must use Mercurial VCS roots. The exact argument or delimiter used in the payload 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:L/UI:N/S:C/C:H/I:H/A:H
Network-reachable, low-complexity argument injection needing authenticated VCS-config rights (PR:L); RCE escapes the config context to the host (S:C) giving full C/I/A impact.
Primary rating from Vendor (JetBrains).
CVSS VectorVendor: JetBrains
Lifecycle Timeline
2DescriptionCVE.org
In JetBrains TeamCity before 2026.1.3, 2025.11.7 remote code execution was possible via argument injection in Mercurial VCS root settings
Executive ViewAI
A critical remote code execution vulnerability exists in JetBrains TeamCity that allows authenticated users with project configuration rights to compromise the entire CI/CD server. This poses a severe risk to software delivery integrity and could enable attackers to inject malicious code into production builds, affecting all downstream customers and products.
No vendor-released patch identified at time of analysis. Interim mitigations: restrict access to VCS root configuration to trusted administrators only; disable Mercurial VCS roots if not essential; monitor authentication logs for unauthorized changes; segment TeamCity servers from critical production 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 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-129046
GHSA-f25v-fxpg-q5jp
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB