TeamCity On-Premises Critical Vulnerability CVE-2026-136858: Attackers Can Impersonate Build Agents — Update Now
JetBrains warns that CVE-2026-136858 in TeamCity On-Premises may allow unauthenticated attackers to impersonate authorized build agents, steal build secrets, and tamper with artifacts. Update to 2026.1.7, 2026.2.3, or 2026.3 immediately.

JetBrains has disclosed a critical security vulnerability, CVE-2026-136858, in TeamCity On-Premises. An unauthenticated attacker with HTTP(S) access to the server may impersonate an authorized build agent, gaining access to build secrets and the ability to tamper with artifacts. JetBrains urges administrators to update immediately to 2026.1.7, 2026.2.3, or 2026.3; those unable to update can install a security patch plugin appropriate for their version.
Key takeaway
This is a Critical Threat. The vulnerability affects all versions of TeamCity On-Premises; fixes are included in the three versions listed above. TeamCity Cloud has already been patched — no action is required from Cloud customers.
No Account Required — Build Pipelines at Risk
According to the JetBrains official security advisory, an attacker does not need a TeamCity user account. Anyone with HTTP(S) connectivity to the server may be able to impersonate an existing authorized build agent. A successful exploit could allow the attacker to intercept builds, access secrets embedded in them, and tamper with build results and artifacts.
This means the risk extends beyond server access — it also threatens the confidentiality of secrets used during the build process and the integrity of the resulting artifacts. JetBrains recommends restricting access to the TeamCity server to trusted networks wherever possible.
Prioritize Updating; Install Patch Plugin If Update Is Not Immediately Possible
JetBrains strongly recommends that all On-Premises users update their server to 2026.1.7, 2026.2.3, or 2026.3 by downloading and installing the patched release or using TeamCity's built-in automatic update feature.
Users who cannot update immediately may instead install the security patch plugin, which supports 2021.2 and later. The plugin can be installed without restarting the TeamCity server, but it only addresses the CVE disclosed in this advisory; updating the server remains necessary to receive other security fixes.
Administrators can check and apply patch settings under Administration → Updates according to their version:
2024.03through2026.2.1: Check Available security updates and apply any pending patches.2026.2.2and later: Under Security patches, select Install automatically to have the system download and install verified, compatible patches automatically. If Download and notify is selected, patches must still be reviewed and applied on the Updates page; if Ignore is selected, manual checking and installation are required.- Other supported versions: Download and install the security patch plugin manually.
JetBrains states that servers running 2026.2.2 or later with automatic security patch installation enabled should automatically check for and install this patch. JetBrains also recommends enabling that setting to receive future security patches as early as possible.
Cloud Already Patched; No Evidence of Exploitation
JetBrains has applied the necessary fixes to TeamCity Cloud and has found no evidence that any Cloud environment was exploited via this vulnerability. No action is required from Cloud customers.
Security researcher Jiawei Guo privately reported this vulnerability to JetBrains on November 24, 2026, under a coordinated disclosure policy.
Sources
Source evidence
此漏洞的 CVE 編號為 CVE-2026-136858
assigned the Common Vulnerabilities and Exposures (CVE) identifier CVE-2026-136858Critical Security Issue Affecting TeamCity On-Premises (CVE-2026-136858): Update to 2026.1.7, 2026.2.3, or 2026.3 Now
此漏洞影響所有 TeamCity On-Premises 版本
This vulnerability affects all TeamCity On-Premises versionsCritical Security Issue Affecting TeamCity On-Premises (CVE-2026-136858): Update to 2026.1.7, 2026.2.3, or 2026.3 Now
未經驗證的攻擊者可透過 HTTP(S) 連線冒充已授權的建置代理程式(build agent)
an unauthenticated attacker who can reach a TeamCity server over HTTP(S) could impersonate an existing authorized build agentCritical Security Issue Affecting TeamCity On-Premises (CVE-2026-136858): Update to 2026.1.7, 2026.2.3, or 2026.3 Now
攻擊者可攔截建置、存取建置機密,並竄改建置結果與成品
intercept builds and access their secrets, and tamper with build results and artifactsCritical Security Issue Affecting TeamCity On-Premises (CVE-2026-136858): Update to 2026.1.7, 2026.2.3, or 2026.3 Now
已修復此漏洞的版本為 2026.1.7、2026.2.3 及 2026.3
A fix for this vulnerability has been introduced in versions 2026.1.7, 2026.2.3, and 2026.3Critical Security Issue Affecting TeamCity On-Premises (CVE-2026-136858): Update to 2026.1.7, 2026.2.3, or 2026.3 Now
安全研究員 Jiawei Guo 於 2026 年 11 月 24 日依協調揭露政策私下向 JetBrains 通報此漏洞
Security researcher Jiawei Guo reported this vulnerability to us privately on November 24, 2026, in accordance with our Coordinated Disclosure PolicyCritical Security Issue Affecting TeamCity On-Premises (CVE-2026-136858): Update to 2026.1.7, 2026.2.3, or 2026.3 Now
JetBrains 已針對 TeamCity 2021.2 及更新版本發布安全修補外掛程式
We have also released a security patch plugin for 2021.2 and laterCritical Security Issue Affecting TeamCity On-Premises (CVE-2026-136858): Update to 2026.1.7, 2026.2.3, or 2026.3 Now
JetBrains 未發現任何 TeamCity Cloud 環境遭到此漏洞利用的證據
have found no evidence that any TeamCity Cloud environment was exploited through this vulnerabilityCritical Security Issue Affecting TeamCity On-Premises (CVE-2026-136858): Update to 2026.1.7, 2026.2.3, or 2026.3 Now
How this article was made
- MargaretTranslatorMargaretTranslatorMaintains exact semantic parity across Traditional Chinese and English editions.View full profile →Translated article and captions
- AlanReviewerAlanReviewerIndependently verifies claims, version numbers, and direct quotes before publication.View full profile →Independently reviewed the draft
- AI Review GateApproved this revision
- AI0X00Delivered this revision for publication