Attackers began exploiting a critical authentication-bypass vulnerability in JetBrains TeamCity On-Premises about a day after the flaw was disclosed, according to security firm WatchTowr. The vulnerability, tracked as CVE-2026-136858 and rated 9.1 on the CVSS severity scale, could let an unauthenticated attacker impersonate an existing build agent. That access can expose secrets used in software builds and allow attackers to alter build results or artifacts, creating risks that can reach beyond the server itself.
How the authentication bypass puts build pipelines at risk
TeamCity is a continuous integration and continuous delivery (CI/CD) server: development teams use it to automate steps such as compiling, testing and packaging software. Build agents perform assigned jobs and may receive credentials or other sensitive information needed to complete them. JetBrains warned that an attacker exploiting this flaw over HTTP or HTTPS could impersonate an agent and obtain credentials and other secrets passed to it.
The vulnerability also creates a route to tamper with outputs of the build process. An attacker who can modify build artifacts may be able to introduce changes that affect later builds when those artifacts are consumed. JetBrains said that, in this way, exploitation could lead to code execution on downstream builds. The consequences therefore depend partly on how an organization uses its build agents, what information its jobs handle and how later stages trust their inputs.
JetBrains disclosed the issue on December 2 and said that all versions of TeamCity On-Premises were affected. It directed customers to upgrade to versions 2026.1.7, 2026.2.3 or 2026.3. TeamCity Cloud customers did not need to apply the same update themselves: the company said those instances had been updated automatically. The distinction matters for organizations because the remediation steps differ depending on whether they operate their own TeamCity servers or use the hosted service.
WatchTowr reports exploitation in its honeypot network
At the time of disclosure, JetBrains said it had no information indicating that the vulnerability was being exploited in the wild. The company supplied indicators of compromise to help customers look for possible attempts and advised restricting requests to /app/agents and its subpaths to trusted IP addresses. The next day, WatchTowr reported that it had reproduced the flaw and observed attacks against its Attacker Eye honeypot network roughly a day after disclosure.
WatchTowr head of threat intelligence Jake Knott told SecurityWeek that the attackers tried to guess ID numbers assigned to established build agents, a step needed for the observed exploitation. Knott said the approach could be relatively easy when agent IDs follow a common numbering pattern. That observation highlights a practical detail for defenders: the authentication bypass does not remove the need to identify a valid agent, but predictable identifiers may make that hurdle easier to clear.
Knott also said the same attacker had previously exploited PHP2Shell against a Palo Alto PAN-OS device in WatchTowr’s honeypot network. That reported activity suggests the actor was pursuing vulnerabilities with potentially significant impact, but it does not establish that the same campaign targeted TeamCity customers broadly or that any specific organization was compromised. The confirmed observation in this report is exploitation activity recorded by WatchTowr’s honeypot network.
Prioritize exposed servers and sensitive build jobs
For organizations operating TeamCity On-Premises, the immediate step is to install a fixed release as soon as possible, with priority given to servers reachable from the internet and systems running builds that handle credentials, WatchTowr advised. Teams unable to upgrade can use a security patch plugin JetBrains released for customers on TeamCity 2021.2 and later. The company said the plugin addresses this vulnerability and does not require a server restart.
Security teams should also use JetBrains’ indicators of compromise and network restriction advice as part of their response, while recognizing that these measures complement rather than replace patching. The incident illustrates why CI/CD infrastructure deserves the same attention as other systems that hold sensitive credentials: an intrusion into a build process can affect both secrets and the integrity of software outputs. WatchTowr’s report makes rapid remediation especially pressing for exposed on-premises deployments.