Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to TeamCity with project rights
-
DeliveryEdit Perforce VCS connection settings
-
ExploitInject crafted p4 arguments
-
ExecutionTeamCity invokes p4 client
-
PersistExecute arbitrary code on server
-
ImpactFull host compromise
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 Perforce (Helix Core) version-control connection, and the attacker must be an authenticated user with sufficient privileges (PR:L) to create or modify that Perforce connection/VCS-root configuration - the malicious input is delivered through the Perforce connection settings themselves. Limiting factors: the attack is not possible against instances that do not use Perforce, and it cannot be performed by fully unauthenticated outsiders because it depends on access to configuration that TeamCity normally restricts to project administrators; no user interaction from a victim is needed once the attacker can edit the settings. |
| Impact | The signals are mixed and should be weighed carefully rather than taken from the 8.8 headline alone. The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H) shows network reachability, low complexity, no user interaction, and full confidentiality/integrity/availability impact, but critically requires privileges (PR:L) - the attacker must already be an authenticated TeamCity user able to view or edit Perforce VCS root/connection settings, which is a meaningful gate in most deployments. This is corroborated by SSVC, which rates Exploitation as none, Automatable as no, and Technical Impact as total: high consequence if triggered, but not a spray-and-pray target. EPSS is 0.00% and the CVE is not in CISA KEV, so there is no evidence of active or imminent mass exploitation. Net assessment: a genuine high-impact RCE that matters most where untrusted or lower-trust users hold project-configuration rights, but not an internet-wide unauthenticated emergency. Note one limitation to verify: the description does not spell out the exact privilege level needed to modify Perforce settings, so the PR:L assumption should be confirmed against your TeamCity role model. |
| Exploit ScenarioDerived | An attacker who holds a TeamCity account with rights to edit a project's Perforce VCS connection injects crafted argument delimiters into the p4 connection parameters; when TeamCity next invokes the Perforce client, the smuggled arguments execute attacker-controlled code on the build server. Given AC:L and no user interaction required, the action succeeds reliably once the malicious settings are saved, though no public proof-of-concept has been identified. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Jul 22, 2026
Remote code execution in JetBrains TeamCity before 2026.1 allows an authenticated user with project/build configuration rights to run arbitrary code on the CI server by tampering with Perforce (P4) connection settings. The flaw stems from unsafe handling of version-control connection parameters (CWE-88, argument injection), and while it carries a high CVSS of 8.8 with total technical impact, there is no public exploit identified at time of analysis and its EPSS probability is 0.00%.
Earlier versions of this analysis (1)
Remote code execution in JetBrains TeamCity versions prior to 2026.1 is achievable by authenticated users who can configure Perforce connection settings on a build project. The flaw, classified as CWE-88 (argument injection), allows attackers with project configuration privileges to inject arguments through Perforce VCS root parameters, leading to command execution on the TeamCity server. No public exploit identified at time of analysis, and the EPSS/KEV signals were not provided in the source intelligence.
RemediationAI
Upgrade JetBrains TeamCity to version 2026.1 or later, which is the first release that resolves the issue (a vendor patch is available per the JetBrains fixed-issues page at https://www.jetbrains.com/privacy-security/issues-fixed/); this is the primary and recommended fix. If immediate upgrade is not possible, reduce exposure by tightly restricting which users hold project-administration and VCS-root editing permissions so that only fully trusted operators can create or modify Perforce connection settings (trade-off: may slow delegated project onboarding), and audit existing Perforce VCS roots for unexpected or malformed connection parameters. Where Perforce integration is not actually used, avoid configuring Perforce VCS roots at all. Consult the vendor advisory (https://www.jetbrains.com/privacy-security/issues-fixed/) and https://nvd.nist.gov/vuln/detail/CVE-2026-49373 before and after patching to confirm the fixed build.
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' continuous-integration and build-management server, which integrates with numerous version-control systems including Perforce (Helix Core). Integration is driven by invoking the Perforce command-line client (p4) with parameters derived from user-supplied VCS connection settings. The assigned weakness class CWE-88 (Improper Neutralization of Argument Delimiters in a Command, i.e. argument injection) indicates that specially crafted values in the Perforce connection configuration are passed to the underlying p4 process without adequate sanitization, letting an attacker smuggle additional command-line arguments or options that alter execution and lead to code execution on the TeamCity host. The single affected CPE is cpe:2.3:a:jetbrains:teamcity:*:*:*:*:*:*:*:*, covering all TeamCity releases prior to 2026.1.
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 UI with low complexity and no user interaction, but requires an authenticated user able to edit Perforce VCS settings (PR:L); code execution on host yields high C/I/A.
Primary rating from NVD.
CVSS VectorNVD
Lifecycle Timeline
3DescriptionNVD
In JetBrains TeamCity before 2026.1 remote code execution was possible via Perforce connection settings
Executive ViewAI
JetBrains TeamCity versions before 2026.1 contain a remote code execution vulnerability enabling authenticated users with project or build configuration rights to execute arbitrary code on CI infrastructure through malicious Perforce connection parameters. This directly threatens pipeline integrity and creates supply chain risk for organizations unable to immediately patch.
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
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
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
In JetBrains TeamCity before 2024.07 access tokens could continue working after deletion or expiration. Rated critical s
In JetBrains TeamCity before 2022.04.7, 2022.10.6, 2023.05.6, 2023.11.5 authentication bypass was possible in specific e
In JetBrains TeamCity before 2023.05 bypass of permission checks allowing to perform admin actions was possible. Rated c
EUVD-2026-33381
GHSA-hqxf-vmvp-qr3c
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB