CVSS v3.1 9.1 Critical CVE-2026-136858 CWE-639 Exploitation reported 4 Dec 2026 Updated 4 December 2026, 12:08 GMT

JetBrains TeamCity On-Premises authentication bypass during agent registration (CVE-2026-136858)

JetBrains has patched an authentication bypass (official JetBrains / CVE.org CVSS v3.1 9.1 Critical) affecting all TeamCity On-Premises versions before 2026.1.7, 2026.2.3, and 2026.3. An unauthenticated attacker who can reach a TeamCity server over HTTP(S) can impersonate an existing authorised build agent, intercept builds, access build secrets, and tamper with build results and artifacts. Upgrade now, and hunt now.

Key facts: Official JetBrains / CVE.org score for CVE-2026-136858 (CWE-639) is CVSS v3.1 9.1 Critical (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N); there is no official CVSS v4.0 score. CVE.org published the record at 21:18 GMT on 2 December 2026 and dateUpdated is 4:57 GMT on 3 December 2026 (CISA ADP). NVD vulnStatus is Awaiting Analysis (NVD lastModified 3 December 2026, 05:19 GMT). NVD Secondary 9.1 matches the official vector; it is not a different score. Affected: all TeamCity On-Premises versions. Fixed: 2026.1.7, 2026.2.3, or 2026.3 (or later), or the official JetBrains security patch plugin (CVE-2026-136858-patch.zip) for 2021.2 and later (no server restart required; fixes only this CVE). TeamCity Cloud is already patched and Cloud customers need take no action. Exploitation in the wild reported by SecurityWeek on 4 Dec 2026, starting about one day after the 2 Dec 2026 disclosure (seen against honeypots; attackers guessed build agent IDs). JetBrains said on 2 Dec 2026 it was not aware of active exploitation. Not listed in CISA KEV as of 4 Dec 2026 (catalogue 2026.12.03). This is reported exploitation, not a vendor confirmation. The CISA KEV catalogue 2026.12.03 was released at 17:50 GMT on 3 December 2026 (1,811 entries), checked 4 December 2026. KEV due dates bind US federal agencies only (BOD 26-04). Upgrade now regardless. Hunt now.

Reviewed by Simon Phillips (Principal Security Architect) and Oliver Legg (Head of Security Operations). First published 2 December 2026. Updated 4 December 2026 with reported exploitation and detection pack v1.1.0.

At a glance

Verified from the JetBrains TeamCity advisory, JetBrains issues-fixed, CVE.org and NVD on 2 December 2026, and from SecurityWeek (4 December 2026, 05:51 ET / 10:51 GMT) and the CISA KEV catalogue (2026.12.03, 1,811 entries, released 17:50 GMT on 3 December 2026) on 4 December 2026.

What happened

Unauthenticated build-agent impersonation over HTTP(S) in TeamCity On-Premises, disclosed 2 December 2026, with exploitation reported about one day later.

An authentication bypass during build-agent registration in JetBrains TeamCity On-Premises allows an unauthenticated attacker who can reach the server over HTTP(S) to impersonate an existing authorised build agent without needing a TeamCity user account.

Once an attacker displaces a legitimate build agent, they can intercept builds assigned to it, capture credentials and other secrets passed to the agent, falsify build results, and publish tampered artifacts. Downstream builds or deployments consuming those tampered artifacts could execute attacker-supplied code.

JetBrains issues-fixed lists CVE-2026-136858 as the TeamCity product CVE addressed in 2026.3, 2026.2.3, and 2026.1.7. All TeamCity On-Premises versions are affected; TeamCity Cloud has already been patched. Credit goes to security researchers.

Update, 4 December 2026: Exploitation in the wild reported by SecurityWeek on 4 Dec 2026, starting about one day after the 2 Dec 2026 disclosure (seen against honeypots; attackers guessed build agent IDs). JetBrains said on 2 Dec 2026 it was not aware of active exploitation. Not listed in CISA KEV as of 4 Dec 2026 (catalogue 2026.12.03). This is reported exploitation, not a vendor confirmation. SecurityWeek published at 05:51 ET (10:51 GMT) on 4 December 2026. The JetBrains advisory, still dated 2 December 2026 and last updated at 16:32 GMT that day, says: "At the time of publishing this advisory, we are not aware of any active exploitation of this vulnerability."

Proactive remediation

Upgrade TeamCity On-Premises or install the official security patch plugin, and restrict build-agent registration paths. Upgrade now.

Reactive detection and response

Official JetBrains log indicator in teamcity-server.log, plus hunting for /app/agents request bursts. Hunt now.

Free detection pack (v1.1.0)

52 verified files built by our threat hunt team: 12 KQL hunts, 7 Sigma rules, and read-only bash and PowerShell version checkers with optional --log scanning for teamcity-server.log (tokens automatically redacted as (redacted)). Q12 and a new Sigma rule cover OUR PATTERN bursts of official /app/agents requests from one source with many distinct URIs; URI layout, how agent identifiers appear in logs, and thresholds are unverified. Version checkers cannot see whether the security patch plugin is installed. The KQL in this pack has NOT been run against a live tenant; validate against your schema before alerting.

How CybaVerse helps

One 24/7 UK-based Cyber Operations team using CybaOps to find exposed CI/CD servers, verify remediation and hunt for build-agent impersonation.

CybaOps brings asset inventory, exposure tracking and 24/7 detection and response together in one platform, with your EDR optional. When flaws like CVE-2026-136858 (CVSS v3.1 9.1 Critical) are reported as exploited, our Cyber Operators triage alerts within 15 minutes, help your team verify upgrades or security patch plugin coverage across TeamCity On-Premises servers, and hunt for unauthorised agent registrations and artifact tampering.