JetBrains has patched a critical flaw (CVE-2026-136858) in TeamCity On-Premises that allows attackers to impersonate build agents and steal secrets. Exploits began just one day after the fix was released on December 2, 2026.
TL;DR
- JetBrains patched a critical flaw in TeamCity On-Premises that allows attackers to impersonate build agents and steal secrets.
- Exploits began just one day after the fix was released on December 2, 2026.
- The flaw affects all On-Premises versions before 2026.1.7, 2026.2.3, and 2026.3.
What happened
JetBrains released patches for TeamCity On-Premises on December 2, 2026, addressing a critical flaw (CVE-2026-136858) that allows attackers to impersonate build agents. The flaw has a severity rating of 9.1 out of 10 on the CVSS 3.1 scale.
According to security firm watchTowr, exploits began just one day after the patch was released. The flaw allows attackers to intercept builds and steal secrets, such as deploy keys, cloud tokens, and package registry passwords.
The flaw affects all On-Premises versions before 2026.1.7, 2026.2.3, and 2026.3. TeamCity Cloud customers are not affected, as JetBrains has already applied the fixes and found no evidence of exploitation in those environments.
Why it matters
This flaw poses a significant risk to the software supply chain, as attackers can fake the outcome of a build or publish tampered artifacts. Downstream builds that consume these artifacts can end up running code of the attacker's choosing.
For developers and startups using TeamCity On-Premises, it is crucial to update to the patched versions or install the patch plugin as soon as possible. The flaw is particularly dangerous for servers reachable from the web and those whose builds handle credentials.
Investors should be aware of the potential risks associated with this flaw and the importance of maintaining up-to-date security measures in their portfolio companies.
Key facts
- CVE-2026-136858 flaw in JetBrains TeamCity On-Premises allows attackers to impersonate build agents.
- Flaw has a severity rating of 9.1 out of 10 on the CVSS 3.1 scale.
- Patches released on December 2, 2026, for versions 2026.1.7, 2026.2.3, and 2026.3.
- Exploits began just one day after the patch was released, according to watchTowr.
- All On-Premises versions before 2026.1.7, 2026.2.3, and 2026.3 are affected.
- TeamCity Cloud customers are not affected, as JetBrains has already applied the fixes.
- Attackers can steal secrets such as deploy keys, cloud tokens, and package registry passwords.
- JetBrains recommends updating to the patched versions or installing the patch plugin as soon as possible.
Context
This is the second critical, unauthenticated flaw JetBrains has fixed in TeamCity in a little over four months. The first, CVE-2026-63077, was patched in late July and landed in the KEV catalog about a week after disclosure.
On-Premises servers have already been targeted by both state-linked groups and financially motivated criminals, using the authentication bypasses CVE-2023-42793 and CVE-2024-27198.
JetBrains' log of resolved security issues remains the place to track the fixes, version by version.
