Threat actors began exploiting a critical authentication-bypass vulnerability in JetBrains TeamCity On-Premises about a day after the company disclosed the issue, according to security firm WatchTowr. The activity underscores the risk to build systems that handle credentials and produce artifacts used by later stages of software delivery.
The vulnerability, tracked as CVE-2026-136858, has a CVSS score of 9.1. JetBrains described it as a flaw that could let an unauthenticated attacker impersonate an existing build agent over HTTP(S). An attacker who succeeds could intercept builds, obtain secrets passed to an agent, and tamper with build results or artifacts.
Build-agent impersonation creates downstream risk
Build agents perform work assigned by a CI/CD server, so impersonating one can give an attacker a position within the software build process. In its disclosure, JetBrains warned that exposed information could include credentials and other secrets supplied to a build agent. It also said modified artifacts could enable code execution in downstream builds that consume them.
WatchTowr said it reproduced and reverse engineered the vulnerability before observing exploitation against its Attacker Eye honeypot network around a day after disclosure. Jake Knott, WatchTowr’s head of threat intelligence, said the attackers tried to guess the identification numbers of established build agents. That approach depends on identifying a valid agent ID; Knott noted that exploitation may be easier when agent numbers follow a common sequence.
JetBrains disclosed the issue on December 2 and said at that time that it was not aware of exploitation in the wild. The company supplied indicators of compromise (IOCs) to help customers look for potential attempts. WatchTowr’s subsequent observation indicates that the threat picture changed quickly after the initial advisory.
JetBrains urges updates and access restrictions
JetBrains said all TeamCity On-Premises versions are affected and urged customers to upgrade to a fixed release. The versions listed in its advisory are 2026.1.7, 2026.2.3 and 2026.3. TeamCity Cloud instances were automatically updated, according to the company.
For customers running TeamCity 2021.2 or later who cannot update immediately, JetBrains also released a security patch plugin. The company said the plugin addresses this vulnerability and does not require a server restart. Customers should follow JetBrains’ instructions for applying the relevant update or mitigation to their deployment.
JetBrains recommended restricting requests to /app/agents and its subpaths to trusted IP addresses. This measure is intended to limit access to the endpoints involved in the attack path, but it does not replace installing a fixed version or the available patch.
Prioritize exposed servers and sensitive builds
WatchTowr advised organizations to update TeamCity On-Premises as soon as possible, prioritizing servers reachable from the public internet. It also called attention to deployments whose builds handle credentials, given the possibility that the flaw could expose secrets or allow build artifacts to be altered.
The incident highlights why CI/CD servers warrant the same urgency as other systems with access to sensitive credentials and production workflows. A compromised build process can affect not only the server itself but also later jobs that rely on its outputs. Teams should review JetBrains’ IOCs and access-control guidance while identifying affected deployments and applying the appropriate fix.
Knott also said the attacker observed in the honeypot network had previously exploited PHP2Shell against a Palo Alto PAN-OS device there. That history, as described by WatchTowr, suggests the actor has pursued high-impact vulnerabilities, though it does not establish the identity of the attacker or the extent of any activity beyond the observed honeypot events.