Canadian Cyber Security Journal
SOCIAL:
Filed under: TechTalk

TeamCity CVE-2026-136858: Unauthenticated Build Agent Hijacking Puts CI/CD Pipelines at Risk

What Happened

JetBrains fixed TeamCity CVE-2026-136858, a critical authentication bypass rated CVSS 9.1, The Hacker News reports. The flaw affects every TeamCity On-Premises version. TeamCity Cloud customers need no action. Researcher Jiawei Guo reported the bug on November 24, and JetBrains disclosed it on December 2.

An unauthenticated attacker with HTTP or HTTPS access to the server is able to impersonate an existing authorized build agent. No TeamCity account is needed. From there, the attacker displaces the real agent, intercepts its builds and collects any credentials passed to it. The attacker also falsifies build results and publishes tampered artifacts. Any downstream build consuming those artifacts runs attacker code. Fixed versions are 2026.1.7, 2026.2.3 and 2026.3. A security patch plugin covers servers on 2021.2 or later unable to restart. JetBrains reports no active exploitation.

Why This Matters for Canadian Organizations

TeamCity has a track record with attackers. CISA confirmed exploitation of CVE-2026-63077 four months ago, and ransomware operators joined in. Expect the same interest here. A build server holds signing keys, cloud tokens and deployment credentials. Compromise turns your release pipeline into a supply chain weapon against your own customers.

Canadian software vendors, fintech firms and government contractors run self-hosted TeamCity to keep source code on Canadian soil. Federally regulated financial institutions face OSFI B-13 expectations on technology and change management. A tampered artifact shipped to clients also triggers breach and notification duties under PIPEDA and Quebec’s Law 25 if personal data follows.

What to Do

Upgrade to a fixed release or apply the patch plugin today. Restrict the /app/agents path at a reverse proxy to known agent IP addresses, including cloud agent NAT gateways. Review the agent list for unknown or duplicate entries. Rotate secrets passed to agents since November 24. Compare recent artifact hashes against trusted builds. Read more in our TechTalk coverage and today’s Daily Brief.

Source: The Hacker News

Enjoy this article? Don’t forget to share.