Skip to content
NewCybercrime Report 2026 · Eight Chapters · A Post Is Not An Incident → Explore The ChaptersCybercrime Report 2026 → Explore
Security NewsVulnerability Advisory

TeamCity CVE-2026-136858: Exploitation Attempts Against Build Agents

TeamCity CVE-2026-136858 attack attempts were observed on December 3. Check agent identity, patch the server, and review build secrets and artifacts.

By
Brandefense Research Team
Reviewed by
Brandefense Analyst Team
Published
4 December 2026
Reading time
8 min read
Abstract build server and agents separated by a guarded network boundary

TeamCity CVE-2026-136858 attack attempts reached watchTowr’s Attacker Eye network on December 3, 2026, according to the research company. JetBrains had published the CVE record the previous day and fixed an authentication bypass in TeamCity On-Premises. The reported observation establishes attempted exploitation in a monitoring environment, not compromise of a customer’s build server.

Advisory
Severity CriticalStatus Fixed releases available
TeamCity CVE-2026-136858
Verify the running server is at 2026.1.7, 2026.2.3, or 2026.3, or confirm the JetBrains patch plugin is installed.
For
TeamCity On-Premises owners
Sharing
TLP:CLEAR

The immediate task is to find every self-managed TeamCity server, apply its fixed release or the JetBrains patch plugin, and investigate agent identity changes. A successful takeover could expose build secrets or alter artifacts, according to JetBrains. Those are possible consequences of the flaw; the public observation does not establish that either happened to a particular organization.

How TeamCity CVE-2026-136858 Attack Attempts Cross the Agent Boundary

TeamCity assigns build jobs to authorized agents, which execute the work and return results. JetBrains says this flaw occurs during agent registration and can let an unauthenticated caller impersonate an existing authorized agent. The caller needs network access to the TeamCity server over HTTP(S), but does not need a TeamCity user account.

The trust boundary is the server’s decision that a connecting process represents an already authorized agent. Once that decision is wrong, the process can receive builds meant for the legitimate agent. JetBrains says it could then see credentials passed into those builds or falsify their results. The advisory describes the outcome but does not publish a code-level root cause.

The following path is our defensive model of JetBrains’ described impact. It does not reconstruct the packets seen by watchTowr or claim that every possible outcome occurred in an observed attack. Each step is a question for an operator’s own logs and build records.

Defender's view of the agent trust boundary
Defender's view of the agent trust boundaryAttack path in 4 steps: 1, Server reachability (Network), then unauthenticated caller reaches HTTP(S); 2, Agent registration (TeamCity), then identity of an existing agent is accepted; 3, Assigned build (TeamCity), then work and secrets may reach the impostor; 4, Result or artifact (Build output).NetworkTeamCityBuild outputunauthenticated caller…identity of an existing…work and secrets may reac…Server reachabilityAgent registrationAssigned buildResult or artifact
  1. Server reachabilityNetworkunauthenticated caller reaches HTTP(S)
  2. Agent registrationTeamCityidentity of an existing agent is accepted
  3. Assigned buildTeamCitywork and secrets may reach the impostor
  4. Result or artifactBuild output

JetBrains’ CNA record categorizes the issue as CWE-639 and scores it 9.1 Critical under CVSS 3.1. The record’s vector indicates network access, low attack complexity, no privileges, and no user interaction. The December 4 CNA and NVD snapshots do not provide a CVSS 4.0 score. This score measures potential impact, not a count of successful intrusions.

For an internet-reachable server, we map this entry point to MITRE ATT&CK T1190, Exploit Public-Facing Application. That is our analytical mapping, not an attribution or a technique confirmed in watchTowr’s telemetry. A server reachable only from another internal network still needs attention because JetBrains’ condition is HTTP(S) reachability, not public exposure.

What Did watchTowr Observe on December 3?

watchTowr says its Attacker Eye monitoring network observed exploitation attempts on December 3, roughly a day after the JetBrains CNA disclosure. Its December 4 write-up describes attempts against the vulnerability and gives a defensive summary. It does not identify a victim organization, quantify compromised servers, or demonstrate that build secrets were taken from a customer.

TeamCity agent takeover evidence
Exploit signals
  • In the wildYeswatchTowr reports exploitation attempts in its Attacker Eye network2026-12-03
  • Discussion signalUnknownBrandefense Blackhole recorded five dark-chat posts mentioning CVE-2026-136858 from September 5 through December 4, 2026; the unit is posts and this does not establish an incident.2026-12-04
Verdict Attempts observed by watchTowr

JetBrains wrote in its original advisory that it was unaware of active exploitation when that advisory was published. The later watchTowr observation updates the picture without converting attempted exploitation into confirmed customer compromise. A suspicious local event should be investigated on its own evidence, including the agent history and the builds assigned at that time.

Which Servers Need the First Patch Window?

JetBrains says all TeamCity On-Premises versions are affected until the applicable fixed release. The fixes are 2026.1.7 for the 2026.1 branch, 2026.2.3 for 2026.2, and 2026.3 for the next release. JetBrains says it has already corrected TeamCity Cloud and Cloud customers have no customer-managed update for this issue.

Deployment Version decision Action
On-Premises 2026.1 Before 2026.1.7 Update to 2026.1.7 or a later fixed release
On-Premises 2026.2 Before 2026.2.3 Update to 2026.2.3 or a later fixed release
Older On-Premises releases Before the fixed releases Upgrade; 2021.2 and later can use the issue-specific patch plugin
On-Premises 2026.3 Fixed release Verify the running version
TeamCity Cloud Corrected by JetBrains No customer-managed patch for this issue

Start with servers reachable from the internet or networks outside the trusted build environment. Then prioritize servers whose jobs receive deployment credentials or publish artifacts consumed by other builds. This is our patch order based on JetBrains’ described exposure and impact. A private server remains in scope if an attacker could reach it through another network path.

Use the server’s actual running version and plugin list when closing the change. A downloaded installer, approved ticket, or updated container image does not prove that the active server has been corrected. The TeamCity CVE-2026-136858 vulnerability profile is the companion reference for the flaw. Teams can use a vulnerability intelligence platform when assigning the verified patch work to each server owner.

What If a Server Cannot Be Upgraded Today?

JetBrains provides a security patch plugin for TeamCity 2021.2 and later. It addresses this CVE specifically and can be installed without restarting the server, according to the vendor. A server running a still-vulnerable release needs the plugin verified under Administration and Plugins; the ordinary server version alone will not show the plugin’s protection.

JetBrains says versions 2026.2.2 and later can install compatible security patches automatically when that setting is enabled. Administrators of versions 2024.03 through 2026.2.1 must review pending patches in Administration and Updates. Check the setting and installed plugin rather than assuming either is present. Older supported versions can use the vendor’s manual plugin installation path.

As another mitigation, JetBrains advises restricting agent-related access at a reverse proxy or other path-aware control. Permit only the expected source addresses for legitimate agents, including cloud-agent egress and NAT gateways. This limits who can reach the vulnerable registration path; it does not correct an unpatched server if an attacker can originate from an allowed address.

Keep the server on trusted networks where possible, and use a VPN for necessary remote access. JetBrains also recommends running the server and agents on separate hosts. These controls narrow exposure while the update proceeds, but the vendor still recommends a fixed server version for broader security coverage.

How Can an Operator Test a Suspected Agent Takeover?

Preserve the server log and recent build results before investigation changes the environment. JetBrains directs operators to look in teamcity-server.log for entries saying an existing agent presented a different authorization token. An empty token in that message is expected for this check; a non-empty token may indicate an attempted takeover. The message by itself does not prove that the attempt succeeded.

For each non-empty token event, record the time and agent identity. Compare the agent’s connection history, hostname, and source address against its normal behavior. Then inspect builds assigned around that time, their logs and results, and any artifacts they published. JetBrains names those comparisons as the way to determine whether the attempt succeeded.

Extend the review to credentials passed to potentially affected builds and to the systems that consumed their artifacts. If evidence suggests exploitation, JetBrains says to rotate those credentials and treat the artifacts as untrusted until verified. Trace where each artifact was used or deployed before accepting a downstream build result. This investigation should have its own finding, separate from the patch completion record.

TeamCity owner verification
  • Inventory serversRecord each On-Premises instance, running branch, owner, and reachable networks.
  • Preserve evidenceKeep server logs, agent history, and recent build results before remediation.
  • Apply the fixInstall the correct release or verify the CVE-specific patch plugin on 2021.2 or later.
  • Review agent historyInvestigate non-empty token mismatch entries and compare assigned builds.
  • Contain possible impactRotate exposed credentials and verify artifacts if investigation supports suspicion.
  • Close the changeConfirm the running version or installed plugin and document remaining network controls.

What Should the Response Record Say?

For each server, record its first observed version, exposure path, patch method, and final verified state. Keep a separate line for the time range covered by the available logs and agent history. This lets a reviewer see whether a server was protected and whether its earlier activity was actually examined. If evidence is incomplete, report that limit without declaring the server safe or compromised.

Link suspicious agent events to the builds they may have intercepted and the secrets those builds received. Document which artifacts were checked and whether any later release consumed them. An earlier TeamCity authentication bypass profile covers a different CVE and should not be used as evidence for this case. The supplier breach monitoring workflow offers a broader way to route a possible downstream software exposure.

The public sources support a focused conclusion: JetBrains fixed a critical agent-registration bypass, and watchTowr later observed attempts against it. They do not establish which customer builds, secrets, or releases were affected. Patch verification and local agent evidence are the two records needed to move from a general warning to an organization-specific decision.

Frequently Asked Questions

What does watchTowr's December 3 observation establish?

It establishes that watchTowr observed exploitation attempts in its Attacker Eye network. A customer needs its own TeamCity logs and build evidence to assess local impact.

When should a TeamCity owner rotate build credentials?

JetBrains recommends rotation if exploitation is suspected and the credentials were passed to potentially affected builds. Preserve logs and build results first, then trace artifact use.

How can a team verify a temporary patch?

For TeamCity 2021.2 and later, confirm the CVE-specific security patch plugin is installed. JetBrains says that plugin fixes this issue without changing the server version.

Sources

  1. JetBrains, Critical Security Issue Affecting TeamCity On-Premises (CVE-2026-136858)
  2. JetBrains CNA, CVE-2026-136858 record, December 2, 2026
  3. watchTowr, JetBrains TeamCity Authentication Bypass, December 4, 2026
  4. JetBrains TeamCity documentation, Build Agent Basics
  5. MITRE ATT&CK, T1190 Exploit Public-Facing Application
Share this articleLinkedInXEmail
Brandefense logo

Stay Ahead of Digital Threats.

Take control of your digital security with an exclusive demo of our AI-driven threat intelligence platform.

Open The Full Demo Form →