Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as low-privilege TeamCity user
-
DeliveryCreate or edit Mercurial VCS root
-
ExploitInject crafted settings (CWE-93 neutralization flaw)
-
ExecutionTrigger VCS operation on server
-
ImpactExecute arbitrary code on TeamCity host
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization CRLF sequence sanitization
|
| Exploitation Conditions | Exploitation requires an authenticated TeamCity user (PR:L) with the ability to create or modify a Mercurial VCS root, and the instance must actually use the Mercurial VCS integration - projects relying solely on Git/Perforce/other VCS are not in the affected path for this specific vector. Limiting factors that reduce realistic risk: valid credentials and project-level VCS-configuration privileges are mandatory (not a pre-auth flaw), high attack complexity (AC:H) implies conditions outside the attacker's direct control, and only versions before 2026.2, 2026.1.4, and 2025.11.8 are affected. No user interaction by a victim is required (UI:N). |
| Impact | This is a genuine but conditional priority, not a drop-everything emergency. The CVSS 3.1 vector (AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H, base 7.5) indicates network-reachable, authenticated (PR:L) exploitation with high attack complexity (AC:H) yielding full confidentiality/integrity/availability loss - consistent with remote code execution on the CI/CD server. The vuln.today decision label is 'this_week', which aligns with a serious-but-not-active-exploitation posture rather than act_now/emergency. No KEV listing is present in the input, so there is no confirmed active exploitation; no EPSS score was supplied, so statistical exploitation probability cannot be weighed; and no PoC or exploit reference is present (the only reference is JetBrains' own vendor advisory page). The two limiting signals - PR:L (an authenticated user who can edit VCS root settings is required) and AC:H (non-trivial, conditions outside attacker control) - materially reduce real-world risk versus an unauthenticated AC:L RCE, because TeamCity instances are typically behind authentication and the attacker must already hold project-level privileges. Net: patch within the vendor/priority-suggested window (this_week), but treat it as a privileged-insider / foothold-escalation risk rather than mass-exploitable internet-wide RCE. Missing data to note explicitly: EPSS absent, KEV status not asserted, and the exact trigger mechanism is not described in the available sources. |
| Exploit ScenarioDerived | An attacker who already holds a low-privileged TeamCity account with rights to create or edit a Mercurial VCS root crafts malicious VCS root settings that are improperly neutralized (CWE-93), causing code to execute on the TeamCity server. High attack complexity (AC:H) implies the exploit depends on conditions not fully in the attacker's control, so it is not a trivial one-shot. No public exploit identified at 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 affects instances running versions before 2026.2, 2026.1.4, and 2025.11.8, where crafted Mercurial VCS root settings can lead to command execution on the server (CVSS 3.1: 7.5, AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H). Exploitation requires valid credentials and the ability to create or modify a Mercurial VCS root, so only projects that actually use the Mercurial VCS integration sit in the affected path; Git/Perforce-only projects are not exposed to this specific vector. No public exploit code has been identified at time of analysis and the issue is not in CISA KEV, though the vendor has shipped fixes and the case is prioritized as this_week work rather than an emergency.
RemediationAI
Upgrade to a fixed release: TeamCity 2026.2, 2026.1.4, or 2025.11.8, choosing the branch that matches your current deployment; the vendor advisory at https://www.jetbrains.com/privacy-security/issues-fixed/ lists the corrected builds. No interim workaround is described in the available sources, so patching is the complete fix. As a compensating control matched to the assessed prerequisite, restrict the ability to create or modify Mercurial VCS roots to a small set of trusted administrators and review existing Mercurial root configurations for unexpected values, accepting that this reduces but does not eliminate exposure for accounts that legitimately need that configuration access and that it has no effect on projects that do not use Mercurial.
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
The flaw is classified as CWE-93, improper neutralization of CRLF sequences, in TeamCity's handling of Mercurial VCS root settings. VCS root configuration is user-supplied data that TeamCity stores and later reuses when invoking the Mercurial client against the repository, so inadequate neutralization of carriage-return/line-feed sequences in those settings is the root-cause class indicated by the CWE. The available sources confirm the Mercurial VCS root path as the vector and confirm remote code execution as the outcome, but the precise injection sink and the exact sequence of Mercurial operations needed to reach code execution are not described in the supplied data. CPE data (cpe:2.3:a:jetbrains:teamcity) confirms the affected component is TeamCity itself across all branches prior to the fixed releases, and the high attack complexity (AC:H) in the assessed vector indicates that conditions outside the attacker's direct control must align, in addition to the required low-privileged authenticated access to VCS root configuration.
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:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Network-reachable web UI (AV:N) but requires an authenticated user able to edit VCS root settings (PR:L) and non-trivial conditions (AC:H); RCE yields full C/I/A on the server (S:U).
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 VCS root settings
Executive ViewAI
A high-severity remote code execution vulnerability in JetBrains TeamCity affects versions before 2026.2, 2026.1.4, and 2025.11.8, allowing authenticated users with Mercurial VCS permissions to execute arbitrary commands on the server. This poses a significant risk to organizations using TeamCity with Mercurial, as it could lead to full system compromise and data breaches. Leadership should prioritize patching to prevent potential insider threats or compromised accounts from escalating privileges and disrupting CI/CD pipelines.
No vendor-released patch identified at time of analysis; interim mitigations include restricting Mercurial VCS root creation/modification to trusted administrators, auditing existing Mercurial VCS roots for malicious settings, and enforcing strong authentication and least privilege to limit exploitation prerequisites.
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-129673
GHSA-cm53-pf55-v473
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB