Skip to content

Response, New York. Noah Park: Check Point Patches Actively Exploited Management Server Path Traversal. Detection, Dallas. Ava Okello: Report Finds Nearly Half of Deployed Detections Need Attention Before SOCs Can Trust Them.

SOCtember

Always First. Fast SOC News.

The watchTowr Rapid Reaction page for JetBrains TeamCity Authentication Bypass (CVE-2026-136858), published December 4, 2026 at 03:33 UTC, with a Key Facts table listing a CVSS of 9.1 Critical, Exploited in the wild: Yes, reported by watchTowr, and Fix available: Yes.
Image: watchTowr (screenshot, fair use). Rapid Reaction page for CVE-2026-136858, December 4, 2026.

Response

Attackers Started Exploiting the TeamCity Flaw That Lets Them Pose as a Build Agent About a Day After JetBrains Disclosed It, and watchTowr Says They Are Guessing Agent ID Numbers to Get In

watchTowr says CVE-2026-136858, rated 9.1, was reverse engineered, reproduced and used against its honeypots on December 3, one day after JetBrains published fixes and said it knew of no attacks. The attacker tried to guess the ID numbers of existing build agents, and watchTowr says the same attacker earlier used PHP2Shell against a PAN-OS honeypot.

Noah Park, ResponseNew York4 min read

NEW YORK - The critical JetBrains TeamCity flaw that lets an outsider pose as a trusted build agent is now being used in attacks, roughly a day after the company disclosed it, according to the security firm watchTowr.

JetBrains published CVE-2026-136858 on December 2 and said then that it was not aware of exploitation in the wild. watchTowr, which runs a honeypot network it calls Attacker Eye, now lists the bug as exploited, with a timeline entry for December 3 that reads, "watchTowr observed exploitation attempts via Attacker Eye." The firm published its Rapid Reaction note at 03:33 UTC on Friday.

"The latest authentication bypass vulnerability in JetBrains TeamCity, tracked as CVE-2026-136858, was reverse engineered, reproduced, and exploited in the wild against the watchTowr Attacker Eye honeypot network around a day after disclosure," Jake Knott, watchTowr's head of threat intelligence, told SecurityWeek.

What the attacker is doing

The flaw, rated 9.1 under CVSS 3.1, sits in how TeamCity On-Premises registers build agents, the machines that run builds on the server's behalf. An attacker who can reach the server over HTTP(S), with no TeamCity account, can take over an existing authorized agent, receive the builds assigned to it and read the credentials and other secrets passed to those builds. The attacker can also falsify build results or publish tampered artifacts, and downstream builds that consume those files could run the attacker's code. All On-Premises versions are affected. TeamCity Cloud has already been fixed.

The watchTowr timeline for CVE-2026-136858, showing that JetBrains published the CVE record on December 2, 2026 and that watchTowr observed exploitation attempts via Attacker Eye on December 3, 2026.
Image: watchTowr (screenshot, fair use). The exploitation timeline, December 4, 2026.

There is one hurdle. watchTowr says the attacker "needs to successfully guess a valid agent ID, such as '1'." In the attacks it saw, Knott told SecurityWeek, the attackers tried to guess the ID numbers of established build agents, and he said exploitation is rather easy where agents are numbered in the usual way.

Knott also said the same attacker had earlier exploited PHP2Shell against a Palo Alto Networks PAN-OS device in watchTowr's honeypot network, which he read as a sign that the actor goes after high-impact flaws. watchTowr has not named the attacker or said whether any real TeamCity servers have been compromised.

The status bar on watchTowr's CVE-2026-136858 FAQ, listing CVSS 9.1 (v3.1), Exploitation: In The Wild, CISA KEV: Not listed, and Vendor patch: Available.
Image: watchTowr (screenshot, fair use). Status block from the CVE-2026-136858 FAQ, December 4, 2026.

As of Friday morning, watchTowr's FAQ showed the flaw as not listed in CISA's Known Exploited Vulnerabilities catalog. Teams that wait for that listing to set their patch deadline are already behind.

What responders should do now

The fixes have not changed since Wednesday. JetBrains shipped TeamCity On-Premises 2026.1.7, 2026.2.3 and 2026.3, and a security patch plugin for 2021.2 and later that fixes this flaw alone without a server restart. watchTowr's order of work is to start with servers reachable from the internet, then servers whose builds handle credentials or publish files that other builds consume.

watchTowr's checklist for CVE-2026-136858, noting that the attacker needs network access over HTTP(S), no TeamCity account and a valid agent ID such as 1, followed by fix steps to preserve logs, search teamcity-server.log for an existing agent presenting a different authorization token and update to 2026.1.7, 2026.2.3 or 2026.3.
Image: watchTowr (screenshot, fair use). The exposure conditions and fix steps, December 4, 2026.
  • Preserve teamcity-server.log and build results before you patch, so evidence of an attempt survives the upgrade.
  • Search teamcity-server.log for entries saying an agent is the existing agent but presented a different authorization token. JetBrains says an empty token is expected and a non-empty one may indicate a takeover attempt.
  • For any non-empty token, use the timestamp to review that agent's connection history, hostname and source IP, then compare them with build logs, results and published artifacts.
  • Upgrade, or install the patch plugin where an upgrade has to wait.
  • Allow requests to /app/agents and its subpaths only from addresses where real agents connect, including cloud agent and NAT gateway addresses.
  • If an attempt looks successful, rotate every credential passed to affected builds and treat their artifacts as untrusted until verified.

Because the only barrier is a guessable agent ID, a server with a handful of agents is not safer for being small. The log entry is the quickest way to learn whether someone has already tried.

About the Author

Noah Park

Noah Park covers incident response, containment, and blue-team operations for SOCtember from New York.

Related stories

Response desk