JetBrains patched CVE-2026-136858 in TeamCity On-Premises, its self-hosted build and release service. Someone who can reach a vulnerable server over HTTP or HTTPS could impersonate an authorized build agent without signing in. An agent is the worker that runs jobs assigned by TeamCity. An impostor could receive those jobs, read secrets they carry and return altered build results or files.
JetBrains said it knew of no active exploitation when it published its December 2 advisory. WatchTowr, a commercial security testing firm, reported seeing real-world takeover attempts a day after disclosure. Bill Toulas covered the report for BleepingComputer.
Patch the server, then check the builds
Upgrade to 2026.1.7, 2026.2.3, 2026.3 or a later supported release that includes the fix. JetBrains supplies a security patch plugin for 2021.2 and later if a full upgrade has to wait. If you rely on automatic security patches, verify that this one actually installed. JetBrains says it already fixed TeamCity Cloud and that cloud customers need take no action for this flaw. Keep self-hosted servers reachable only from trusted networks wherever possible.
JetBrains recommends searching teamcity-server.log for of the existing agent, but different authorization token. A nonempty token can signal an attempt. Check the agent’s connection history against its expected host and address, then review the jobs it received around that time.
If you suspect a takeover, preserve logs and build results. Rotate credentials supplied to suspect jobs and hold their outputs until verified. Trace those outputs through later builds and deployments. Rebuilding from a trusted worker matters if a suspect file was already used to make another release.
Caveat: The public report describes attempts. It does not establish how many builds, if any, were altered.