ShieldPack SHIELD PACK
From 1401 onwards.

Where would you like to start?

Services, updates, and ways to contact us, all in one place

Pricing and orders →

Use the bot or chat with us—whichever you prefer

ShieldPack posts

Critical JetBrains TeamCity Flaw Lets Attackers Hijack Build Agents Without Authentication

About 3 min read

JetBrains announced on Wednesday that a critical security flaw has been found in the on‑premises versions of its TeamCity continuous‑integration platform. The vulnerability, identified as CVE‑2026‑136858, can be exploited to bypass authentication and take control of authorized build agents.
The flaw carries a CVSS base score of 9.1 out of 10, indicating a severe risk. JetBrains explained that an unauthenticated attacker who can reach a TeamCity server over HTTP or HTTPS may impersonate an existing build agent. The attacker does not need a TeamCity user account to carry out the attack.
If the vulnerability is exploited, the attacker can intercept builds that are assigned to the compromised agent. The attacker can also access build secrets that are passed to the agent. In addition, the attacker can tamper with build results and publish altered artifacts. Downstream builds that consume those artifacts could then execute code supplied by the attacker.
The exploitation does not require any credentials. The attacker only needs network access to the TeamCity server. Successful exploitation also requires guessing an active build agent identifier. JetBrains noted that agents start at identifier “1,” making the guess trivial. The attacker can therefore displace a legitimate agent and hijack its tasks.
All on‑premises TeamCity installations are vulnerable. JetBrains released patches in three versions: 2026.1.7, 2026.2.3, and 2026.3. Customers are urged to upgrade to one of these patched releases as soon as possible. For environments that cannot restart the server, JetBrains also provided a security‑patch plugin. The plugin is compatible with TeamCity 2021.2 or later. Users of TeamCity Cloud are not required to take any action because the cloud service is not affected.
Critical JetBrains TeamCity Flaw Lets Attackers Hijack Build Agents Without Authentication
As an additional mitigation, JetBrains advises administrators to configure their reverse proxy to allow requests to the “/app/agents” endpoint and its subpaths only from IP addresses that belong to legitimate build agents. The guidance includes adding the outbound addresses used by cloud agents and any NAT gateways they traverse. This restriction can reduce the attack surface for the unauthenticated bypass.
JetBrains credited security researcher Jiawei Guo for responsibly disclosing the issue on 24 November 2026. The company said there is currently no evidence that the flaw has been actively exploited in the wild. The disclosure follows a previous critical vulnerability in TeamCity, CVE‑2026‑63077, which received a CVSS score of 9.8. That earlier flaw was weaponized in real‑world attacks, according to the U.S. Cybersecurity and Infrastructure Security Agency.
Despite the lack of confirmed exploitation, watchTowr posted on X that it is already observing attempts to exploit CVE‑2026‑136858. The post noted that exploitation requires guessing an active build agent ID, but because agents start at “1,” the barrier is low. This observation suggests that threat actors are actively scanning for vulnerable installations.
For ShieldPack readers who rely on CI/CD pipelines, the flaw underscores the importance of timely patching. Unpatched TeamCity servers could become entry points for supply‑chain attacks. Organizations should verify that their build agents are running the patched versions or the security plugin. They should also audit reverse‑proxy configurations to ensure that only trusted IP ranges can access agent endpoints.
The incident reflects a broader trend of attackers targeting development infrastructure. Continuous‑integration tools are attractive because they often hold credentials, source code, and deployment artifacts. Strengthening authentication, network segmentation, and monitoring of build‑agent traffic can help mitigate such risks. As more vulnerabilities surface, staying current with security updates will be essential for protecting software supply chains.

Source: The Hacker News · Cybersecurity

ShieldPack media