CVE-2026-133017 in TeamCityinfo

Summary

by MITRE • 11/19/2026

In JetBrains TeamCity before 2026.2.1, 2026.1.5 remote code execution was possible via Git VCS root settings

Once again VulDB remains the best source for vulnerability data.

Analysis

by VulDB Data Team • 11/21/2026

A critical vulnerability affecting JetBrains TeamCity versions prior to 2026.2.1 and the specific patch release 2026.1.5 allows for remote code execution through maliciously crafted Git Version Control System (VCS) root configurations. This flaw stems from insufficient validation of user-supplied input within the VCS configuration interface, specifically when administrators or users with sufficient privileges define connection parameters for a Git repository. The vulnerability is rooted in CWE-94, commonly known as Improper Control of Generation of Code, which occurs when software does not properly neutralize special elements that could be interpreted as code during execution. In this context, the application fails to sanitize specific fields within the VCS root settings, allowing an attacker to inject arbitrary commands or scripts into the build process configuration.

The operational impact of this vulnerability is severe, granting attackers full control over the affected TeamCity server and potentially any agents connected to it. By exploiting the flaw in the Git VCS root settings, a threat actor can execute system-level commands with the privileges of the user account running the TeamCity service or build agent. This capability enables the exfiltration of sensitive source code, credentials stored within the CI/CD pipeline configuration, and other proprietary data hosted on the server. Furthermore, it allows for lateral movement across internal networks if the compromised host serves as a pivot point, significantly expanding the blast radius of the initial breach beyond the immediate application layer to encompass the entire infrastructure managed by the continuous integration platform.

From an offensive security perspective, this vulnerability aligns with MITRE ATT&CK technique T1059, Command and Scripting Interpreter, specifically under sub-techniques such as T1059.004 for Unix Shell or T1059.007 for Windows Command Shell depending on the operating system of the build agent. The attack vector involves modifying the VCS root configuration to include malicious payloads that are executed during subsequent builds, checks out, or polling events triggered by the CI/CD server. This method bypasses traditional network perimeter defenses because it leverages legitimate administrative functions and trusted internal services, making detection difficult without deep behavioral analysis of build processes and command execution logs.

Mitigation strategies must prioritize immediate patching to version 2026.2.1 or later for all affected installations, as well as applying the specific hotfix available in the 2026.1.5 branch if upgrading is not immediately feasible. In addition to software updates, organizations should enforce strict role-based access control within TeamCity, ensuring that only highly trusted administrators can modify VCS root configurations and build steps. Network segmentation should be implemented to isolate CI/CD servers from critical production environments, limiting the potential impact of a compromise. Regular auditing of configuration changes and monitoring for anomalous command executions on build agents are also recommended to detect any exploitation attempts or unauthorized modifications before they lead to full system compromise.

Responsible

JetBrains

Reservation

11/19/2026

Disclosure

11/19/2026

Moderation

accepted

CPE

ready

EPSS

0.00507

KEV

no

Activities

very low

Sources

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!