JetBrains has issued an urgent security update for its TeamCity On-Premises platform to address a critical authentication bypass vulnerability, identified as CVE-2026-136858. This flaw allows unauthorized actors to impersonate trusted build agents, potentially granting them control over the software build and release automation process. The vulnerability affects all versions of the on-premises software released prior to the newly issued patches.
The security risk posed by this vulnerability is significant because build agents are responsible for executing tasks assigned by the TeamCity server, such as compiling code, running tests, and deploying software. By successfully exploiting the flaw, an attacker can intercept jobs intended for legitimate agents. This access could allow for the exfiltration of sensitive credentials used during build processes, the submission of fraudulent build results, or the injection of malicious code into output files, which could then be executed in subsequent software builds.
Researchers at the security firm watchTowr have reported observing active exploitation attempts in the wild, noting that these attacks began just one day after the vulnerability was publicly disclosed. According to these findings, the exploitation process is relatively straightforward because it requires an attacker to guess a build agent ID. Since these identifiers typically begin at the number one, they are considered easily predictable, lowering the barrier for entry for malicious actors.
JetBrains confirmed the existence of the vulnerability on December 2, 2026, and released patches for versions 2026.1.7, 2026.2.3, and 2026.3. For users running older versions, the vendor has provided a security patch plugin compatible with versions 2021.2 and later, which can be applied without requiring a server restart. Customers using TeamCity Cloud are not required to take any action, as the vendor has already applied the necessary fixes to the cloud-hosted environment.
While JetBrains stated in its official bulletin that it had not observed active exploitation at the time of its advisory, it provided administrators with specific indicators of compromise to monitor. Users are advised to inspect the teamcity-server.log file for instances where an existing agent appears with a different authorization token. Additionally, the presence of a non-empty token where one is not expected may signal a takeover attempt.
If administrators suspect a compromise, the vendor recommends a comprehensive incident response process. This includes preserving all relevant logs and build results for forensic analysis, immediately applying the security patches, and rotating any credentials that may have been exposed during the period of potential exploitation. Furthermore, all build artifacts produced during the period of vulnerability should be treated as untrusted until they can be thoroughly verified.
As a secondary mitigation strategy, JetBrains suggests that administrators restrict access to the /app/agents path and its subdirectories to only those source IP addresses known to belong to legitimate build agents. This network-level restriction can prevent unauthorized devices from attempting to register as agents, even if they possess the necessary identifiers.
This incident follows a broader trend of security challenges involving the TeamCity platform. In September 2026, the Cybersecurity and Infrastructure Security Agency issued a warning regarding a separate vulnerability, CVE-2026-63077, which was being leveraged by ransomware operators to execute arbitrary operating system commands on targeted servers. Organizations are encouraged to prioritize the current patching cycle to mitigate the risks associated with the latest authentication bypass flaw.





