TeamCity exploit attempts raise concerns over build integrity and credentials


Attempts observed
watchTowr reported exploitation attempts on December 3, 2026, without establishing confirmed production victims.
Two remediation paths
Fixed releases are available, alongside a no-restart security patch plugin for TeamCity 2021.2 and later.
Preserve build evidence
Logs, agent histories, build results and published artifacts help investigators assess software produced before remediation.
Exploitation attempts targeting a critical authentication bypass in JetBrains TeamCity began on December 3, 2026, a day after the vendor released fixes, according to watchTowr research published December 4. The findings raise questions about software produced before remediation but do not establish that production customers or released software were compromised.12
Tracked as CVE-2026-136858, the flaw lets an unauthenticated attacker impersonate an authorized build agent. JetBrains says successful exploitation could expose secrets passed to intercepted builds and allow falsified results or altered artifacts.1
Administrators investigating possible exploitation are advised to preserve logs and build results, rotate potentially exposed credentials and treat suspect outputs as untrusted until verified.1
The fixed TeamCity On-Premises releases are 2026.1.7, 2026.2.3 and 2026.3. A security patch plugin covers 2021.2 and later without a server restart; older installations must upgrade. TeamCity Cloud has already been corrected and requires no customer action.12
Servers running 2026.2.2 or later can install the patch automatically if automatic security patch installation is enabled. Administrators should verify installation rather than assume a downloaded update has been applied. The plugin does not change the server version number, so version-only checks cannot confirm its presence.23
ThreatDefence’s investigation guidance prioritizes preserving TeamCity and reverse-proxy logs, agent connection histories, build logs and results, and published artifacts. These records connect suspicious agent activity to specific jobs and the software they produced.2
The evidence should answer three linked questions:2
This is a retrospective integrity assessment, not just a patch-compliance check. Remediation closes the vulnerability; retained evidence supports decisions about earlier outputs.12
The vendor’s detection guidance focuses on teamcity-server.log entries showing that an existing agent presented a different authorization token. A non-empty token may indicate a takeover attempt; an empty token is expected for this check. Investigators should correlate suspicious timestamps with agent connection histories, expected addresses and nearby builds before concluding that an attempt succeeded.1
BleepingComputer’s December 4 report also attributes the observed attempts to watchTowr. It corroborates coverage of the same research, rather than providing an independent count of compromised organizations.3
Exposure depends on what an intercepted job received. Relevant secrets can include deployment keys, cloud tokens and signing material. Artifact manipulation is a separate potential consequence, not evidence that it occurred.4
ThreatDefence recommends investigating credential use outside TeamCity, including registry activity, repository access, signing operations and deployment sessions that do not match legitimate builds. Potentially affected credentials should be rotated, and suspect artifacts should remain untrusted pending verification.2
The assessment also extends to suppliers. Organizations buying software should establish whether vendors use TeamCity and when they remediated it. A patch date helps define the investigation window; it does not, by itself, prove that earlier releases were safe or compromised.5
Build agent
A worker that executes jobs assigned by a build server, potentially receiving source code and credentials needed for the job.
Artifact
A file produced by a build, such as an executable or package, that may be published, deployed or consumed by another build.
Credential rotation
Replacing potentially exposed secrets and invalidating their predecessors to prevent continued use.
Comments