The Tech News
Cybersecurity

Attackers Exploit Critical JetBrains TeamCity Flaw Within 24 Hours of Disclosure

Author

The Tech News Desk

Date Published

High-contrast editorial macro photograph of glowing fiber-optic network patch cables plugged into an enterprise server rack with a single bright amber warning LED.

CVE-2026-136858 lets unauthenticated attackers impersonate build agents on self-hosted CI/CD servers, exposing secrets and software release pipelines.

Threat actors began actively scanning for and exploiting a critical authentication bypass in JetBrains TeamCity On-Premises roughly 24 hours after JetBrains disclosed the flaw and published patches on December 3, according to CyberDaily and The Hacker News.

Tracked as CVE-2026-136858 with a CVSS severity score of 9.1, the vulnerability resides in TeamCity's build agent registration workflow. Any unauthenticated attacker with HTTP or HTTPS reachability to a vulnerable TeamCity server can spoof a legitimate, authorized build agent without valid credentials.

Once impersonated, a rogue agent can intercept assigned software builds, siphon environment secrets and signing keys, and inject tampered code into outgoing release artifacts. Because continuous integration servers sit directly upstream of production deployments, a single compromised instance can cascade into a wide software supply-chain incident.

The flaw affects all self-hosted TeamCity On-Premises releases prior to versions 2026.1.7, 2026.2.3, and 2026.3. JetBrains confirmed that its hosted TeamCity Cloud service is not vulnerable.

For engineering teams unable to complete a full server upgrade immediately, JetBrains released a standalone security patch plugin compatible with TeamCity 2021.2 and later. Security advisories from JetBrains and Tenable also urge administrators to lock down reverse proxies so requests to the `/app/agents` endpoint and its subpaths are accepted strictly from trusted internal build-agent IP addresses.

The 24-hour gap between public patch release and active exploitation highlights how little margin DevOps teams have left when managing internet-facing build infrastructure. Past TeamCity authentication flaws have been rapidly adopted by both ransomware affiliates and state-backed intrusion groups seeking stealthy access to enterprise source code.

Security teams running self-hosted TeamCity instances should apply the December 3 patches immediately, audit recent build-agent registrations for unrecognized hosts, and rotate any signing certificates or deployment tokens exposed to build runners during the past 48 hours.