News · written 6 December 2026. A summary for readers, not technical advice — check the sources at the end for the details.
JetBrains released TeamCity 2026.1.7, 2026.2.3 and 2026.3 on 2 December 2026 to fix a critical flaw in the On-Premises (self-hosted) edition of its CI/CD server, CVE-2026-136858. On 3 December the security firm watchTowr said it was already seeing exploitation attempts. If you run your own TeamCity server, update it or install JetBrains' patch plugin now.
What the flaw does
The bug is in how build agents register with the server. An attacker who can reach the TeamCity server over HTTP(S) — with no TeamCity account — can pose as an existing, authorised build agent. JetBrains says the attacker could then intercept the builds sent to that agent, read the secrets passed to the builds, and tamper with build results and artifacts. Later builds that use those artifacts could run the attacker's code.
The CVE record, filed by JetBrains, rates it Critical: CVSS 9.1 (an authorisation bypass, CWE-639). watchTowr notes the attacker has to guess a valid agent ID, which is easy because agent IDs start at 1.
Is it being exploited?
- JetBrains' advisory says that when it was published it knew of no active exploitation.
- watchTowr reports that it observed exploitation attempts on 3 December 2026, one day later.
- As of its 4 December update, CISA's Known Exploited Vulnerabilities catalog does not list this CVE.
Which versions are affected
- All TeamCity On-Premises versions before 2026.1.7, 2026.2.3 and 2026.3.
- TeamCity Cloud has already been fixed by JetBrains, which found no sign that any Cloud environment was attacked. Cloud customers do not need to do anything.
The fixed versions
- 2026.3.x: 2026.3 (the new feature release)
- 2026.2.x: 2026.2.3
- 2026.1.x: 2026.1.7
- TeamCity 2021.2 or later that you cannot update yet: the security patch plugin (it fixes only this CVE).
Check what you have
- Sign in to TeamCity: the server version is shown at the bottom of every page, and on Administration | Updates.
- Installed security patches are listed under Administration | Plugins. That is where to look if you used the patch plugin.
How to update
- Back up the server first, as JetBrains always advises. Updates within the same release (for example 2026.2.x to 2026.2.3) keep the same data format.
- Built-in update: open Administration | Updates and install the offered version.
- Installer or archive: download 2026.1.7, 2026.2.3 or 2026.3 from JetBrains' TeamCity download page and follow JetBrains' upgrade steps for your platform.
- Docker: pull the new image, for example
docker pull jetbrains/teamcity-server:2026.2.3(tags2026.1.7,2026.2.3and2026.3are published), then recreate the container with the same data and logs volumes.
Can't update yet? Install the patch plugin
- It works on TeamCity 2021.2 and later and installs without restarting the server.
- From 2024.03 to 2026.2.1, apply it under Available security updates on Administration | Updates.
- On 2026.2.2 and later, set Security patches to Install automatically and TeamCity installs it by itself.
- On older versions, download the plugin ZIP from JetBrains (linked in the advisory) and install it by hand.
As an extra step, JetBrains suggests letting your reverse proxy accept
requests to /app/agents and its subpaths only from the IP
addresses your build agents use (including cloud agents and NAT
gateways), and keeping the server on trusted networks or behind a VPN.
Check whether someone tried it
JetBrains says to search teamcity-server.log (in the
server's logs folder) for the text of the existing agent,
but different authorization token, for example:
grep "different authorization token" teamcity-server.log*
Entries with an empty token ("") are normal. An entry with a
non-empty token may be a takeover attempt: check that
agent's connection history, host name and IP address around that time and
the builds it ran. If you suspect an attack, keep the logs and build
results, update or patch, rotate the credentials those
builds used, and treat their artifacts as untrusted until checked.
Sources
- Critical Security Issue Affecting TeamCity On-Premises (CVE-2026-136858) (JetBrains, 2 December 2026)
- TeamCity 2026.2.3 and 2026.1.7 Bug-fixes (JetBrains, 2 December 2026)
- Upgrading TeamCity Server and Agents (JetBrains documentation)
- CVE-2026-136858 record (published 2 December 2026)
- JetBrains TeamCity Authentication Bypass (CVE-2026-136858) (watchTowr, 4 December 2026)
- CISA Known Exploited Vulnerabilities catalog
More security news at https://jmtechpower.com/articles.
Comments (0)
Please login to post comments
LoginNo comments yet. Be the first to comment!