Critical JetBrains TeamCity Flaw Exploited, Hackers Hijack Build Agents
Hackers have taken advantage of a recently disclosed critical vulnerability in JetBrains TeamCity On-Premises, allowing them to impersonate trusted workers and manipulate build processes.
A critical vulnerability (CVE-2026-136858) in JetBrains TeamCity On-Premises has been exploited by hackers, enabling them to hijack build agents and manipulate the build processes of software projects. This flaw, which was disclosed publicly, saw immediate exploitation within just one day of its announcement. JetBrains has recommended updating to versions 2026.1.7, 2026.2.3, and 2026.3 to address the issue effectively.
The vulnerability, identified with a CVSS score of 9.1, allows attackers to impersonate existing build agents and bypass authentication, potentially exposing credentials and executing attacker-supplied code. According to reports, all TeamCity On-Premises versions are affected by this vulnerability, making it crucial for users to update their systems promptly.
Signs of suspicious activity include specific log entries and non-empty tokens, indicating that users should be vigilant and check their logs regularly. If exploitation is suspected, recommended actions include rotating credentials and treating artifacts as untrusted. Additionally, restricting access to '/app/agents' and its subpaths to known IPs is suggested as an extra layer of protection.
For TeamCity Cloud customers, there is no immediate action required as the fix has already been applied. However, for On-Premises users, automatic security patch installation is possible on 2026.2.2 and later versions, simplifying the update process. Security experts at WatchTowr advise updating TeamCity On-Premises deployments as soon as possible to mitigate the risk of further exploitation.
This incident follows a pattern of recent vulnerabilities affecting JetBrains products, with CISA warning federal agencies in September 2026 about another JetBrains vulnerability being targeted by ransomware operators. The same attacker who exploited PHP2Shell against a Palo Alto PAN-OS device is believed to be behind the latest TeamCity On-Premises attack, highlighting the ongoing threat posed by skilled cyber adversaries.
What we know
- A critical vulnerability (CVE-2026-136858) in JetBrains TeamCity On-Premises has been exploited by hackers 12
- The vulnerability was disclosed publicly and exploitation began within one day 12
- JetBrains recommends updating to versions 2026.1.7, 2026.2.3, and 2026.3 to fix the issue 12
- CVE-2026-136858 enables attackers to impersonate trusted workers and manipulate build processes 1
- Potential impacts include exposure of credentials and execution of attacker-supplied code 1
- The vulnerability is identified as CVE-2026-136858 with a CVSS score of 9.1 2
- The bug allows attackers to bypass authentication and impersonate existing build agents 2
- All TeamCity On-Premises versions are affected by this vulnerability 2
- Unauthenticated attackers can exploit the flaw over HTTP(S) to expose credentials and secrets 2
- Security patches are available for 2021.2 and later versions without needing a server restart 1
- Automatic security patch installation is possible on 2026.2.2 and later versions 1
- TeamCity Cloud customers do not need to take any action since the fix is already applied 1
- Signs of suspicious activity include specific log entries and non-empty tokens 1
- Recommended actions if exploitation is suspected include checking logs, rotating credentials, and treating artifacts as untrusted 1
- Restricting access to '/app/agents' and its subpaths to known IPs is suggested as an additional mitigation 1
- CISA warned federal agencies in September 2026 about another JetBrains vulnerability being targeted by ransomware operators 1
- The same attacker previously exploited PHP2Shell against a Palo Alto PAN-OS device 2
- WatchTowr recommends updating TeamCity On-Premises deployments as soon as possible 2
- Build agents are software that perform tasks assigned by the TeamCity server 1
Powered by Quantum Forge Robotics with Jessi AI Intelligence
Trust Score report
- confirmed
A critical vulnerability (CVE-2026-136858) in JetBrains TeamCity On-Premises has been exploited by hackers.
85% · supported by 2 - confirmed
The vulnerability was disclosed publicly and exploitation began within one day.
85% · supported by 2 - confirmed
JetBrains recommends updating to versions 2026.1.7, 2026.2.3, and 2026.3 to fix the issue.
85% · supported by 2 - likely
CVE-2026-136858 enables attackers to impersonate trusted workers and manipulate build processes.
71% · supported by 1 - likely
Potential impacts include exposure of credentials and execution of attacker-supplied code.
71% · supported by 1 - likely
The vulnerability is identified as CVE-2026-136858 with a CVSS score of 9.1.
71% · supported by 1 - likely
The bug allows attackers to bypass authentication and impersonate existing build agents.
71% · supported by 1 - likely
All TeamCity On-Premises versions are affected by this vulnerability.
71% · supported by 1 - likely
Unauthenticated attackers can exploit the flaw over HTTP(S) to expose credentials and secrets.
71% · supported by 1 - likely
Security patches are available for 2021.2 and later versions without needing a server restart.
71% · supported by 1 - likely
Automatic security patch installation is possible on 2026.2.2 and later versions.
71% · supported by 1 - likely
TeamCity Cloud customers do not need to take any action since the fix is already applied.
71% · supported by 1 - likely
Signs of suspicious activity include specific log entries and non-empty tokens.
71% · supported by 1 - likely
Recommended actions if exploitation is suspected include checking logs, rotating credentials, and treating artifacts as untrusted.
71% · supported by 1 - likely
Restricting access to '/app/agents' and its subpaths to known IPs is suggested as an additional mitigation.
71% · supported by 1 - likely
CISA warned federal agencies in September 2026 about another JetBrains vulnerability being targeted by ransomware operators.
71% · supported by 1 - likely
The same attacker previously exploited PHP2Shell against a Palo Alto PAN-OS device.
71% · supported by 1 - likely
WatchTowr recommends updating TeamCity On-Premises deployments as soon as possible.
71% · supported by 1 - unverified
Exploitation involves guessing a build agent ID, which is usually predictable starting from '1'.
50% · supported by 1, contradicted by 1 - unverified
Exploitation involves guessing the ID numbers of established build agents.
50% · supported by 1, contradicted by 1 - likely
Build agents are software that perform tasks assigned by the TeamCity server.
71% · supported by 1
Sources & references
- BleepingComputer — Critical JetBrains TeamCity flaw exploited to hijack build agents
- SecurityWeek — JetBrains TeamCity Vulnerability Exploited One Day After Disclosure




