JetBrains disclosed on its official blog on December 2, 2026 (UTC) a critical vulnerability, CVE-2026-136858, in the on-premises edition of TeamCity, its CI/CD (continuous integration and continuous delivery) server. According to the company, an attacker who can reach a TeamCity server over HTTP(S) can impersonate an existing build agent without authentication. JetBrains is urging customers to update to a fixed version or apply a security patch plugin.
Build Agents Can Be Impersonated Without Authentication
JetBrains says the attacker does not need a TeamCity user account. The flaw allows an attacker who can connect to a TeamCity server over HTTP(S) to impersonate an existing, already authorized build agent (a machine that runs builds).
An attacker who succeeds could intercept builds and access the secrets (credentials and other sensitive data) they use, falsify build results, or publish tampered artifacts, the company says. Downstream builds that consume those artifacts could also execute attacker-supplied code.
All On-Premises Versions Affected; TeamCity Cloud Already Mitigated
All versions of TeamCity On-Premises are affected. The fixed versions are the following three.
| Branch | Fixed version |
|---|---|
| 2026.1 | 2026.1.7 |
| 2026.2 | 2026.2.3 |
| Latest | 2026.3 |
For TeamCity Cloud, JetBrains said it has already applied the necessary corrective measures. It has found no evidence that any TeamCity Cloud environment was exploited, and says Cloud customers do not need to take any action.
A Patch Plugin Is Available for Those Who Cannot Update Right Away
For customers who cannot upgrade immediately, JetBrains has released a security patch plugin. It supports TeamCity 2021.2 or later and can be installed without restarting the server. However, the plugin addresses only CVE-2026-136858.
Servers running 2026.2.2 or later with automatic installation enabled under "Security patches" should check for and install this patch automatically, according to the company.
JetBrains also explained how to check for compromise. Administrators can search the server log, teamcity-server.log, for the text "of the existing agent, but different authorization token"; a non-empty token recorded there may indicate an agent takeover. As additional mitigations, the company suggests using a reverse proxy to restrict access to /app/agents and its subpaths to the IP addresses of expected agents, and limiting server access to trusted networks or a VPN.
Reported by a Researcher on November 24, With No Known Exploitation
Security researcher Jiawei Guo reported the vulnerability privately to JetBrains on November 24, 2026, in accordance with the company's Coordinated Disclosure Policy. At the time of publication, JetBrains said it was not aware of any active exploitation. The official blog post does not state a severity score.
Our Take
A CI server builds source code and release artifacts, and it is where many secrets come together. If build agents can be impersonated without authentication, the damage may not stay inside the organization and could lead to a "supply chain attack" in which malicious code is slipped into software that gets distributed.
That said, an attack requires HTTP(S) access to the server, so the risk is likely somewhat lower for servers that are not directly exposed to the internet. Even so, since every on-premises version is affected and a patch that needs no restart is available, administrators should update or apply the patch promptly regardless of how exposed their servers are.
Summary
JetBrains disclosed CVE-2026-136858, which lets attackers impersonate build agents in TeamCity On-Premises without authentication, and released fixed versions 2026.1.7, 2026.2.3, and 2026.3. The issue affects development teams that run TeamCity themselves, while TeamCity Cloud customers need not take action. Those who cannot update right away are asked to use the patch plugin for 2021.2 or later.
Critical Security Issue Affecting TeamCity On-Premises (CVE-2026-136858) (JetBrains official blog)