Critical TeamCity flaw lets an attacker without an account pose as your build agent: update on-premises servers (CVE-2026-136858)
JetBrains fixed an authentication bypass in TeamCity On-Premises, scored 9.1. Someone who can reach the server over HTTP(S) could impersonate an authorized build agent, intercept builds, read build secrets and tamper with artifacts. No active exploitation is reported.
How urgent
Plan this week
Who is affected
TeamCity On-Premises servers before 2026.1.7, 2026.2.3 and 2026.3, especially if reachable from untrusted networks. TeamCity Cloud users do not need to act
What to do
Update to 2026.1.7, 2026.2.3 or 2026.3. If you cannot restart yet, install JetBrains' security patch plugin (TeamCity 2021.2 or later). Allow /app/agents and its subpaths only from the addresses of your real build agents
Published 3 Dec 2026 · Sources last checked 3 Dec 2026No. 157 / 168
Watch the short video
The video loads from YouTube (privacy-enhanced mode) only when you press play.
What happened
JetBrains disclosed CVE-2026-136858, an authentication bypass during agent registration in TeamCity On-Premises that allows takeover of authorized build agents. JetBrains scores it 9.1 out of 10: no account and no user action are needed.
According to the JetBrains alert, as quoted by The Hacker News, an unauthenticated attacker who can reach the server over HTTP(S) could impersonate an existing authorized build agent, then intercept builds, access build secretsSecret (API key, token, password) Any piece of text that proves to a service that you are allowed in, such as an API key, a database password or an access token. Tap again to open the glossary and tamper with build results and artifacts. Downstream builds that use those artifacts could run code supplied by the attacker.
Who has to act
Self-hosted servers older than 2026.1.7, 2026.2.3 or 2026.3. The alert says no action is needed for TeamCity Cloud.
What to do
- Update to 2026.1.7, 2026.2.3 or 2026.3.
- If you cannot restart now, install the security patchPatch (security update) A fix released by the maker of a piece of software to close a flaw or a bug. Tap again to open the glossary plugin JetBrains published (TeamCity 2021.2 or later).
- Restrict the agent path: in your reverse proxy, allow
/app/agentsand its subpaths only from the addresses where your build agents live, including cloud agents and NAT gateways. - Our advice: if the server was open to the internet, review the list of agents and recent builds, and consider rotating the secrets your builds receive.
What we could not confirm
We could not open the JetBrains blog post itself, so the impact and mitigation details come from The Hacker News quoting it; the description and score are on NVD. JetBrains reports no evidence of active exploitation. We did not test the flaw.
Related
Glossary: vulnerabilityVulnerability A weakness in software, a setting or a process that an attacker could use to get in or do harm. Tap again to open the glossary, patch, supply chainSupply chain attack An attack that reaches you through something you already trust and install, such as a code package, a tool or a provider. Tap again to open the glossary. See also our free website security check.
Keep reading
More stories on the same topic or from the same area.
- 13 malicious NuGet packages hide inside a fake .NET job test: building the take-home project runs attacker code; never build a stranger's test project on the PC you work onPlan this week 26 Nov 2026
- Django 6.1.4, 6.0.11 and 5.2.20 fix seven security flaws, two rated high: a file-write in the GIS RasterField and an SQL injection in the range and in lookups. Update nowPlan this week 2 Dec 2026
- HPE fixes 21 flaws in Networking Central On-Premises, 12 of them critical, including hard-coded credentials that give admin access over SSH: update to 2.5.8.13 and keep the management interfaces off your network edgePlan this week 1 Dec 2026
Comments
No account needed. Add a nickname if you like, or leave it empty to comment anonymously. Comments are reviewed before they appear. Links are not allowed.
We store your comment, your nickname and a scrambled form of your connection that we use only to limit spam. We do not store your IP address or set cookies. Cloudflare Turnstile checks that you are not a bot.
Sources and verification
- NVD, CVE-2026-136858, description and score supplied by JetBrains (published 2 Dec 2026; read 3 Dec 2026) (opens in a new tab)
- The Hacker News, quoting the JetBrains alert (3 Dec 2026; read 3 Dec 2026) (opens in a new tab)
We use primary sources first and say when we rely on a news report. Dates are the day we last checked each source.
Spotted a mistake? Email [email protected] and we will correct it and note the change.