Skip to content
New Pro plans with Agentic Verification.

TeamCity Flaw Let Outsiders Pose as Build Agents Without Logging In

A critical flaw in JetBrains' self-hosted code pipeline tool could let anyone who reaches it steal secrets and alter compiled files. Patch now.
Content Team
By Content Team

JetBrains disclosed a critical flaw in self-hosted TeamCity, its build server, on December 2, 2026. The bug, CVE-2026-136858, is rated CVSS 3.1 9.1 (Critical) and lives in the step where build agents register. Anyone who can reach the server over HTTP or HTTPS could pose as an existing approved agent, with no login or user account.

By taking that agent's place, an attacker could catch the builds sent to it, plus the credentials and other secrets they carry. They could also fake results or publish altered artifacts that later builds might run. Every on-premises version is affected. JetBrains has already fixed TeamCity Cloud and found no sign that any Cloud setup was exploited.

Fixed releases are 2026.1.7, 2026.2.3, and 2026.3. Servers on 2021.2 or later that can't upgrade can add a security patch plugin without a restart, while older versions need the upgrade. JetBrains also suggests letting only known agent IP addresses reach /app/agents. Researcher Jiawei Guo reported the flaw on November 24, 2026, and JetBrains knew of no attacks at disclosure.

Source: The Hacker News

Share this article
Share on facebook Share on linkedin Share on twitter Share on email
blog_book_a_demo_cta_3x
Have questions about protecting your software?
Our escrow experts are standing by to help.
Book a free demo