Skip to main content

JetBrains TeamCity EUVDEUVD-2026-129794

| CVE-2026-133021 HIGH
Relative Path Traversal (CWE-23)
2026-11-19 JetBrains GHSA-8g7p-m3jw-4f6p
8.8
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate to TeamCity (low-privileged)
  2. Exploit
    Supply crafted Mercurial subrepository path
  3. Execution
    Trigger relative path traversal (CWE-23)
  4. Impact
    Execute arbitrary code on build server

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Relative path traversal prevention
Exploitation Conditions

The TeamCity instance must use Mercurial version control and process subrepository paths, and the attacker must hold a low-privileged authenticated account (CVSS PR:L) capable of supplying or influencing those subrepository paths. Exploitation is therefore limited to deployments actually configured with Mercurial VCS roots using subrepositories - instances relying solely on Git or other VCS are not exposed via this vector. Authentication is required (not remote-unauthenticated), and only versions below 2026.2.1 (in the 2026.2 branch) and below 2026.1.5 (all earlier branches) are affected; updating to those versions is the vendor-provided fix.

Impact

Signals are moderate and largely consistent rather than alarming. The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N, C:H/I:H/A:H) describes a network-reachable, low-complexity flaw that nonetheless requires authentication (PR:L), and SSVC rates Technical Impact as 'total' but Exploitation as 'none' and Automatable as 'no'. EPSS is low at 0.59% (49th percentile), there is no CISA KEV listing, and no public exploit was identified, so this is not evidence of widespread or opportunistic attack. The vuln.today decision label is 'this_week' - a prompt-but-not-emergency priority - which aligns with the picture of a high-impact RCE that is gated behind authentication and a specific VCS configuration (Mercurial subrepositories). Net: a genuine high-severity patch-this-week item for organizations running TeamCity with Mercurial, not a drop-everything emergency; the PR:L requirement and 'Automatable: no' SSVC value argue against mass exploitation. Note a tension worth verifying: the CVSS uses PR:L, but triggering path traversal via Mercurial subrepository paths plausibly requires the ability to configure or influence VCS roots, which may demand project-level privileges higher than a generic low-privileged account - confirm the exact privilege boundary with JetBrains.

Exploit ScenarioDerived

A low-privileged authenticated TeamCity user who can configure or influence a Mercurial VCS root supplies a crafted subrepository path that escapes the intended directory (CWE-23 relative path traversal), causing the server to write or execute attacker-controlled content and achieve remote code execution on the build server. No public exploit code was identified at the time of analysis, and the low-complexity network vector (AC:L/AV:N) means that once a valid authenticated session and Mercurial usage exist, exploitation is straightforward. Compromise of a CI server of this kind typically exposes build secrets and artifacts.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.6% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv2 – Nov 25, 2026

Remote code execution in JetBrains TeamCity is reachable through Mercurial subrepository path handling, allowing an authenticated low-privileged user (CVSS PR:L) to execute code on the CI server. Only instances configured with Mercurial VCS roots that process subrepository paths are exposed; deployments using Git or other VCS alone are not affected via this vector. Fixed in TeamCity 2026.2.1 and 2026.1.5; no public exploit code or active exploitation is reported (SSVC exploitation: none), and EPSS is modest at 0.59% (49th percentile).

Earlier versions of this analysis (1)
v1 Nov 19, 2026 - 12:03 CVSS 7.5

Remote code execution in JetBrains TeamCity affects versions before 2026.2.1 and 2026.1.5, requiring an authenticated low-privilege account and a deployment using Mercurial version control where crafted Mercurial subrepository paths can lead to code execution. CVSS 7.5 with AC:H and PR:L makes exploitation conditional rather than broadly reliable, and instances that do not use Mercurial repositories are not exposed through this path. No public exploit was identified at time of analysis, no CISA KEV confirmation is present in the supplied data, and JetBrains fixed the issue in 2026.2.1 and 2026.1.5.

RemediationAI

Vendor-released patch: upgrade TeamCity to 2026.2.1 (for the 2026.2 branch) or 2026.1.5 (for all earlier branches), per the JetBrains fixed-issues advisory at https://www.jetbrains.com/privacy-security/issues-fixed/. If upgrading cannot be completed immediately, restrict Mercurial VCS roots that use subrepositories: remove .hgsub-based subrepository references from build configurations or disable those Mercurial VCS roots until patched, accepting that affected pipelines cannot fetch subrepositories. Additionally, review accounts holding project or build-configuration permissions that allow supplying Mercurial URLs or subrepository paths, and reduce those grants to trusted users, with the trade-off of narrowing developer self-service. JetBrains presents updating to the fixed versions as the complete fix.

Affected VersionsENISA

TeamCity 2026.2 <2026.2.1
TeamCity 0 <2026.1.5

Affected Packages

euvd teamcity fix: 2026.1.5, 2026.2.1

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 CWE-23 (Relative Path Traversal) in TeamCity's handling of Mercurial subrepository paths. Mercurial's .hgsub mechanism lets a repository reference external subrepositories by path or URL; TeamCity's Mercurial VCS integration resolves those paths when checking out or collecting changes, and insufficient validation of relative path components permits traversal outside the intended working directory. Because TeamCity agents and server-side VCS processing operate under elevated service accounts, path escape can translate into code execution on the build infrastructure - the total technical impact rated by SSVC. Exploitation requires a Mercurial-based VCS root with subrepository handling and a low-privileged authenticated account able to supply or influence those paths; the CVSS vector AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H reflects network reachability with low privileges and no user interaction. The precise traversal trigger mechanics are not detailed in the available sources. Affected per the CPE cpe:2.3:a:jetbrains:teamcity is the TeamCity server product in the 2026.2 branch before 2026.2.1 and all earlier branches before 2026.1.5.

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

Vendor (JetBrains) PRIMARY HIGH
NVD 8.8 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 8.8 HIGH

Network-reachable, low-complexity path traversal to RCE requiring an authenticated user able to supply Mercurial subrepository paths (PR:L), yielding full confidentiality, integrity and availability impact on an unchanged scope.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (JetBrains).

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

4
Analysis Updated
Nov 25, 2026 - 17:43 vuln.today
v2 - CVSS changed
CVSS changed
Nov 25, 2026 - 17:37 NVD
7.5 (HIGH) 8.8 (HIGH)
Patch available
Nov 19, 2026 - 13:02 EUVD
CVE Published
Nov 19, 2026 - 11:36 cve.org
HIGH 7.5

DescriptionNVD

In JetBrains TeamCity before 2026.2.1, 2026.1.5 remote code execution was possible via Mercurial subrepository paths

Executive ViewAI

Why It Matters

JetBrains TeamCity has a high-severity remote code execution vulnerability exploitable by low-privileged authenticated users on CI servers configured with Mercurial VCS roots. This puts build infrastructure and any credentials or code artifacts trusted by the pipeline at direct risk, and leadership should care because CI servers are high-value pivot points into development and production environments.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.6%
Top 51% exploitable
Prevalence
Medium
popular commercial CI/CD server, common in enterprises but not ubiquitous
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.6%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

45
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

CVE-2024-27199 HIGH POC
7.3 Mar 04

Path traversal in JetBrains TeamCity before 2023.11.4 enables remote attackers to perform a limited set of administrativ

CVE-2026-63077 CRITICAL POC
9.8 Jul 27

Remote code execution in JetBrains TeamCity before 2026.1.3 and 2025.11.7 allows unauthenticated attackers to execute ar

CVE-2024-27198 CRITICAL POC
9.8 Mar 04

In JetBrains TeamCity before 2023.11.4 authentication bypass allowing to perform admin actions was possible. Rated criti

CVE-2023-42793 CRITICAL POC
9.8 Sep 19

In JetBrains TeamCity before 2023.05.4 authentication bypass leading to RCE on TeamCity Server was possible. Rated criti

CVE-2024-23917 CRITICAL POC
9.8 Feb 06

In JetBrains TeamCity before 2023.11.3 authentication bypass leading to RCE was possible. Rated critical severity (CVSS

CVE-2026-65906 CRITICAL
10.0 Jul 23

Remote code execution in JetBrains TeamCity before 2026.1.2 and 2025.11.6 allows an attacker to escape the Kotlin DSL sa

CVE-2026-106218 CRITICAL
10.0 Oct 06

Sandbox escape in JetBrains TeamCity's Kotlin DSL configuration mechanism allows an attacker who can supply or modify ve

CVE-2026-132233 CRITICAL
9.9 Nov 18

Remote code execution in JetBrains TeamCity server affects versions before 2026.1.3 and before 2025.11.7, where a crafte

CVE-2026-132234 CRITICAL
9.9 Nov 18

Remote code execution in JetBrains TeamCity (versions before 2026.1.3 and before 2025.11.7) is possible through argument

CVE-2026-132232 CRITICAL
9.9 Nov 18

Remote code execution in JetBrains TeamCity allows an authenticated user with rights to create or modify Perforce VCS ro

CVE-2026-132231 CRITICAL
9.9 Nov 18

Remote code execution in JetBrains TeamCity before 2026.1.3 and before 2025.11.7 is reachable by an authenticated user w

CVE-2026-132891 CRITICAL
9.8 Nov 19

Remote code execution in JetBrains TeamCity CI/CD servers affects releases before 2026.2, 2026.1.4, and 2025.11.8 when t

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy