JetBrains TeamCity Flaw CVE-2026-136858 Allows Agent Takeover
$ grep -o 'CVE-[0-9-]*'
┌─ jetbrains-teamcity-agent-hijack-flaw.md :: hero
JetBrains has disclosed a critical authentication bypass vulnerability, tracked as CVE-2026-136858, affecting all on-premises versions of its TeamCity continuous integration server. Rated 9.1 out of 10.0 on the CVSS scale, the flaw allows an unauthenticated attacker who can reach a TeamCity server over HTTP(S) to impersonate and take over authorised build agents without a user account. JetBrains stated there is no evidence of active exploitation, and TeamCity Cloud users require no action. On-premises administrators should update to patched versions 2026.1.7, 2026.2.3, or 2026.3.
Key Facts
| Attribute | Value |
|---|---|
| Affected product and versions | All TeamCity On-Premises versions (TeamCity Cloud requires no action) |
| CVE ID | CVE-2026-136858 |
| CVSS score | 9.1 out of 10.0 |
| Exploited in the wild | No evidence of active exploitation reported |
| Fixed versions | 2026.1.7, 2026.2.3, and 2026.3 (plus a security patch plugin for TeamCity 2021.2 or later) |
| Disclosure date | Dec 03, 2026 (responsibly reported on November 24, 2026) |
How Does CVE-2026-136858 Work?
An unauthenticated attacker who can reach an on-premises TeamCity server over HTTP or HTTPS can exploit CVE-2026-136858 to impersonate a legitimate, authorised build agent. No user account or prior credentials are required, allowing the attacker to displace the real agent and intercept assigned builds, secrets, and artefacts.
"A successful exploitation could displace a legitimate build agent and intercept builds assigned to it. This can expose credentials and other secrets passed to the agent. An attacker could also falsify build results or publish tampered artifacts. Downstream builds that consume those artifacts could execute attacker-supplied code."
JetBrains alert, as quoted by The Hacker News
Exploiting CVE-2026-136858 requires no TeamCity account and can expose build credentials while allowing attackers to inject code into downstream builds via tampered artefacts.
Which TeamCity Versions Are Affected and Fixed?
All TeamCity On-Premises versions are vulnerable to CVE-2026-136858. JetBrains has released fixes in versions 2026.1.7, 2026.2.3, and 2026.3. TeamCity Cloud is not affected and requires no customer action, while organisations running TeamCity 2021.2 or later can apply a security patch plugin without restarting the server.
JetBrains recommended that customers upgrade their servers to one of the patched releases. For teams unable to apply the update without restarting TeamCity, the company released a security patch plugin for version 2021.2 or later. As an additional mitigation, JetBrains advises configuring reverse proxies to permit requests to /app/agents and its subpaths only from expected build agent IP addresses, noting that administrators should include outbound addresses used by cloud agents and any NAT gateways they connect through.
Only self-hosted TeamCity On-Premises servers require patching in versions 2026.1.7, 2026.2.3, or 2026.3, or via the security patch plugin for TeamCity 2021.2 or later.
Is CVE-2026-136858 Being Exploited in the Wild?
JetBrains stated that there is no evidence of active exploitation of CVE-2026-136858 at the time of disclosure. Security researcher Jiawei Guo responsibly reported the vulnerability to the vendor on November 24, 2026, allowing JetBrains to prepare patches before publishing the advisory on Dec 03, 2026.
Although no active attacks have been recorded for this flaw, the source report notes that TeamCity has previously faced real-world exploitation. Nearly four months earlier, another critical vulnerability in TeamCity, tracked as CVE-2026-63077 with a CVSS score of 9.8, was weaponised in real-world attacks according to the U.S. Cybersecurity and Infrastructure Security Agency (CISA).
No active exploitation of CVE-2026-136858 has been observed, though an earlier 9.8-rated TeamCity flaw (CVE-2026-63077) was exploited in real-world attacks according to CISA.
What Should You Do?
- Update TeamCity On-Premises servers to JetBrains' official patched versions 2026.1.7, 2026.2.3, or 2026.3.
- If you cannot restart the TeamCity server immediately, install JetBrains' official security patch plugin for TeamCity 2021.2 or later.
- Configure your reverse proxy to allow requests to /app/agents and its subpaths only from legitimate build agent IP addresses, including outbound addresses used by cloud agents and any NAT gateways they connect through.
- Audit build results and published artefacts for tampering, and rotate any credentials or build secrets passed to agents if unauthorised activity is suspected.
- Malaysian organisations that detect suspected compromise or unauthorised access can report the incident to Cyber999 (MyCERT).
Common Questions
Do TeamCity Cloud users need to install an update for CVE-2026-136858?
No. JetBrains stated that no action is required for TeamCity Cloud users. The vulnerability affects only TeamCity On-Premises installations, where administrators must upgrade to versions 2026.1.7, 2026.2.3, or 2026.3, or apply the security patch plugin available for TeamCity 2021.2 or later.
Can attackers exploit CVE-2026-136858 without a TeamCity account?
Yes. According to JetBrains, an attacker does not need authentication or a TeamCity user account to exploit CVE-2026-136858. Any unauthenticated attacker who can reach an affected on-premises TeamCity server over HTTP or HTTPS can attempt to impersonate an existing authorised build agent.
What if we cannot restart our TeamCity server right away?
Organisations running TeamCity 2021.2 or later that cannot restart their server immediately can install JetBrains' security patch plugin instead. JetBrains also advises configuring reverse proxies to restrict requests to /app/agents and its subpaths strictly to trusted build agent IP addresses and NAT gateways.
Sources and Methodology
This dispatch is based solely on reporting from The Hacker News, published on Dec 03, 2026. No external advisories, vendor pages, or independent technical documents were reviewed or verified beyond the source report.
$ ls -t news/ | head -5
$ ls ./tags
- #Vulnerabilities