Saturday, December 5, 2026

Sign in

JetBrains TeamCity Flaw Exploited One Day After Disclosure

Add On the record as a preferred source on Google
Server (computing)
File photo: Server (computing). Photo: Victorgrigas / CC BY-SA 3.0 via Wikimedia Commons

Key facts

  • Unlike the separate TeamCity vulnerability CISA flagged in August.1
  • If compromise is suspected, preserve the relevant logs and build results, patch the server.1
  • Installing the fix closes the vulnerability, but it does not tell administrators whether earlier builds were altered.1

Attackers began targeting a critical vulnerability in JetBrains TeamCity On-Premises just one day after its public disclosure.1

The issue, tracked as CVE-2026-136858, allows an attacker without a TeamCity account to impersonate an authorized build agent.1

Security firm watchTowr detected exploitation attempts on December 3, 2026, through its Attacker Eye network of decoy systems.1

Build

Build agents are workers that compile source code, run tests, and package software.1

An attacker who can reach an unpatched TeamCity server over HTTP or HTTPS can pose as an agent the server already trusts.1

If the impersonation succeeds, the attacker can displace the legitimate agent and receive its assigned jobs.1

Credentials passed to those jobs, such as access tokens, could then be exposed.1

An attacker could falsify test results or publish modified build artifacts, the files produced by a build.1

If a later build uses one of those files, it could run attacker-supplied code.1

Timeline of the Disclosure and Exploitation

JetBrains disclosed the vulnerability on December 2 and said it had not seen evidence of active exploitation at the time.1

Security researcher Jiawei Guo reported it privately on November 24.1

The company says all TeamCity On-Premises versions released before the fixes are affected.1

What JetBrains Recommends

JetBrains already applied corrective measures to TeamCity Cloud and found no evidence that the vulnerability was exploited there.1

Administrators should upgrade to TeamCity 2026.1.7, 2026.2.3, or 2026.3.1

Teams that cannot upgrade immediately can install JetBrains’ security patch plugin on version 2021.2 or later without restarting the server.1

On version 2026.2.2 or later, administrators should verify that the patch is installed rather than assume automatic installation is enabled.1

The plugin addresses this vulnerability only.1

What Organizations Should Do

For the current vulnerability, organizations should prioritize internet-facing servers and check whether suspicious agent activity occurred before patching.1

The JetBrains security advisory recommends searching teamcity-server.log for entries containing of the existing agent, but different authorization token.1

A non-empty token can indicate a takeover attempt, but it does not prove success.1

For suspicious entries, use the timestamp to review the agent’s connection history, verify its hostname and source IP address, and check the builds and artifacts associated with that connection.1

If compromise is suspected, preserve the relevant logs and build results, patch the server, and rotate credentials passed to potentially affected jobs.1

Treat their artifacts as untrusted until verified, and trace where they were deployed or used by other builds.1

JetBrains also recommends restricting TeamCity access to trusted networks and running build agents on separate hosts from the server.1

A Different Pattern

Unlike the separate TeamCity vulnerability CISA flagged in August, this issue targets trust between the server and its build agents.1

Cyber Security News previously covered exploitation attempts against a different TeamCity authentication bypass that began within 22 minutes of public proof-of-concept code appearing.1

The brief window between disclosure and attack attempts is not new for TeamCity.1

Sources

Every number in the story points here. Each links to the original reporting.

Who reported it 1 outlet
LeftCenterRight

CenterCybersecurity News

  1. 1
    Dec 5, 6:52am ET
    Back to the story

See a sentence its source doesn’t back up?

Tell us the source number and what’s wrong. We check every report. If we change the story, the fix goes on the corrections page with the old wording.

More like this