Critical 9.1
JetBrains · TeamCity On-Premises · CVE-2026-136858
TeamCity build servers let attackers without a login pose as a build agent and read build secrets
TeamCity is JetBrains' build and deployment server, used by software teams to compile, test and release code. A flaw in how build agents register lets anyone who can reach the server over HTTP or HTTPS, with no TeamCity account, pose as an existing authorised build agent. JetBrains says an attacker could then intercept builds, read the passwords and keys passed to them, and tamper with build results and the files they produce, so altered code could reach whatever is built from them. JetBrains scores it 9.1 and said on publication that it was not aware of any attacks.
- Affected
- All versions of TeamCity On-Premises before 2026.1.7, 2026.2.3 and 2026.3. TeamCity Cloud has already been fixed by JetBrains, which says it found no evidence that any Cloud environment was attacked, and Cloud customers need do nothing.
- What to do
- Update TeamCity On-Premises to 2026.1.7, 2026.2.3 or 2026.3. If you cannot update yet, install the security patch plugin JetBrains has released for 2021.2 and later, which fixes this flaw only and does not need a server restart: on 2024.03 to 2026.2.1 apply it under Administration, Updates, Available security updates; on 2026.2.2 and later it installs by itself if automatic security patches are switched on. JetBrains also advises limiting access to the server to trusted networks, with a VPN for users and agents outside them. The advisory gives a line to search for in teamcity-server.log to check for takeover attempts. If a supplier or agency runs your builds on TeamCity, ask them to confirm it has been patched.General information summarised from the vendor's advisory at the time of writing, not professional advice. Check the vendor's current advisory before acting.
- Why it’s here
- A critical flaw needing no login in a widely used build server, where a break-in exposes deployment keys and can taint released software; an earlier TeamCity flaw was attacked this year.
