SecurityWeek

JetBrains TeamCity Vulnerability Exploited


Threat actors started exploiting a new vulnerability in JetBrains TeamCity On-Premises, a widely used CI/CD server, one day after disclosure, preemptive security firm WatchTowr warns.

Tracked as CVE-2026-136858 (CVSS score of 9.1), the bug is described as an authentication bypass that could allow an attacker to impersonate an existing build agent. This allows the attacker to intercept builds and access their secrets, and modify build results and artifacts.

JetBrains disclosed the security defect on December 2, warning that all TeamCity On-Premises versions are affected and urging users to update their servers to versions 2026.1.7, 2026.2.3, and 2026.3. TeamCity Cloud instances have been automatically updated.

The company also released a security patch plugin for customers running TeamCity 2021.2 and later who are unable to update. The plugin fixes this vulnerability and does not require a server restart.

An unauthenticated attacker, JetBrains warned, could exploit the flaw over HTTP(S) to expose credentials and other secrets passed to a build agent. By modifying build artifacts, the attacker could achieve code execution on downstream builds that consume those artifacts.

On December 2, the company said it was not aware of CVE-2026-136858 being exploited in the wild, but shared indicators of compromise (IOCs) to identify potential exploitation attempts. It also recommended restricting requests to /app/agents and its subpaths to trusted IP addresses.

Advertisement. Scroll to continue reading.

One day later, WatchTowr warned that threat actors had started exploiting the security defect in the wild.

“The latest authentication bypass vulnerability in JetBrains TeamCity, tracked as CVE-2026-136858, was reverse engineered, reproduced, and exploited in the wild against the WatchTowr Attacker Eye honeypot network around a day after disclosure,” WatchTowr head of threat intelligence Jake Knott told SecurityWeek.

As part of the observed attacks, the threat actors attempted to guess the ID numbers of established build agents, a prerequisite for exploitation. If the build agents are commonly numbered, the exploitation is rather easy, Knott points out.

According to Knott, the same attacker previously successfully exploited PHP2Shell against a Palo Alto PAN-OS device in WatchTowr’s honeypot network, suggesting they are targeting high-impact vulnerabilities.

WatchTowr recommends that organizations update their TeamCity On-Premises deployments as soon as possible, prioritizing servers accessible from the web and then those with builds that handle credentials.

Related: Another Acronis Backup Plugin Zero-Day Exploited in Attacks

Related: Governments, Tech Giants Urge Faster Transition to Post-Quantum Cryptography

Related: Django Patches ‘Django4Shell’ Flaw Leading to RCE

Related: Telegram, WhatsApp Urge Users to Immediately Update Older iPhones



Source link