critical severityConfidence highHistorical record

TeamCity build agent registration takeover hands build secrets to anyone who can reach the server (CVE-2026-136858)

Direct answer

TeamCity build agent registration takeover hands build secrets to anyone who can reach the server (CVE-2026-136858), also tracked as CVE-2026-136858 / GHSA-2jpf-2fm5-p992 is a critical-severity threat campaign HOL Guard tracked from Dec 2, 2026 to Dec 3, 2026, verified against 4 primary sources and last reviewed Dec 3, 2026. Active tracking has ended and the record remains published as a permanent historical research record.

JetBrains disclosed CVE-2026-136858 on December 2, 2026: an authentication bypass in build agent registration in TeamCity On-Premises, scored 9.1 out of 10 under CVSS v3.1 (CWE-639). A person with no TeamCity account who can reach the server over HTTP or HTTPS can impersonate an existing authorized build agent, receive the builds assigned to it, read the secrets those builds run with, and hand back falsified results and tampered artifacts. Every On-Premises version is affected; TeamCity Cloud is already fixed by JetBrains. The fix is 2026.1.7, 2026.2.3 or 2026.3, or the security patch plugin for 2021.2 and later, which installs without a restart. JetBrains also published a teamcity-server.log search that shows takeover attempts, and a reverse proxy restriction on /app/agents as the mitigation for servers that cannot patch at once.

Also tracked as CVE-2026-136858 · GHSA-2jpf-2fm5-p992

First observed
Dec 2, 2026
Last observed
Dec 3, 2026
Last reviewed
Dec 3, 2026
Tracking ended
Dec 3, 2026

Uncertainty and limitations

Read the evidence limits before acting on this record.

JetBrains says it is not aware of any active exploitation and found no evidence any TeamCity Cloud environment was exploited; the flaw is not in CISA's Known Exploited Vulnerabilities catalog. HOL did not reproduce the flaw; the account rests on the JetBrains advisory and the CVE record.

  • TeamCity Cloud is not affected; JetBrains applied the fix itself and found no evidence of exploitation there
  • A server no attacker can reach over HTTP or HTTPS gives the flaw no way in
  • Servers already on 2026.1.7, 2026.2.3 or 2026.3, or carrying the security patch plugin, are covered
  • The patch plugin covers TeamCity 2021.2 and later; older servers need the full upgrade

Guard coverage and policy

What Guard's reviewed assertions do and do not claim for this campaign, and the reviewed starting points for defense.

Covered by Guard

  • provides evidence

    The campaign rests on the JetBrains advisory, the CVE record, and The Hacker News reporting as carried in the HOL write-up; HOL did not reproduce the flaw.

  • Recipe available

    Upgrade TeamCity On-Premises to 2026.1.7, 2026.2.3 or 2026.3 for the line in use, or install the security patch plugin on 2021.2 and later, because the patch closes the registration bypass

    Servers that cannot patch at once can restrict /app/agents and its subpaths at the reverse proxy to known agent IPs, including cloud agent outbound addresses and NAT gateways.

Safe next step. Campaign guidance is defensive context. It does not auto-apply policy or claim universal campaign coverage.

Timeline

Reviewed events, oldest first, each tied to a verified source.

  1. Update

    Security researcher Jiawei Guo reported the flaw privately to JetBrains.

    Source:JetBrains, Critical Security Issue Affecting TeamCity On-Premises (CVE-2026-136858)

  2. Disclosure

    JetBrains published its advisory for CVE-2026-136858 with the fixed versions, the security patch plugin, the reverse proxy mitigation, and the log search for takeover attempts.

    Source:JetBrains, Critical Security Issue Affecting TeamCity On-Premises (CVE-2026-136858)

  3. Update

    The CVE record for CVE-2026-136858 was published with a CVSS v3.1 score of 9.1.

    Source:CVE record for CVE-2026-136858 (JetBrains as CNA)

  4. Update

    HOL Guard published the operator write-up with the scope, the log check, and the fix steps.

    Source:HOL Guard operator write-up

Publication clock: 34.2 hours from reviewed disclosure timestamp to HOL publication; 12-hour critical target; historical backfill outside target.

Reviewed artifacts

The specific artifacts this record concerns, as reviewed. Names and versions are shown as text; a registry link is not recorded here.

  • TeamCity On-Premises@All versions affected; fixed in 2026.1.7, 2026.2.3, 2026.3; security patch plugin for 2021.2 and latergenericpackage

Sources

Every claim on this record is traceable to the sources below.

Campaign questions, answered

JetBrains disclosed CVE-2026-136858 on December 2, 2026: an authentication bypass in build agent registration in TeamCity On-Premises, scored 1 out of 10 under CVSS HOL Guard tracked the campaign from Dec 2, 2026 to Dec 3, 2026.

No. Active tracking ended Dec 3, 2026; this page remains as a labeled historical research record and does not imply the threat is currently active.

The record cites 4 primary sources, names 1 reviewed artifact, and was last fully reviewed Dec 3, 2026 by HOL Guard Security Publishing. Its uncertainty and limitations are stated on the record itself.

Campaign guidance is defensive context. It does not auto-apply policy or claim universal campaign coverage. The campaign-specific policy starting point is linked from the coverage section of this record.

The permalink above is permanent. The full record can be downloaded from this page as JSON, an artifact CSV, and a STIX 2.1 bundle, and corrections can be requested through the published correction path on the record. JetBrains says it is not aware of any active exploitation and found no evidence any TeamCity Cloud environment was exploited; the flaw is not in CISA's Known Exploited Vulnerabilities catalog.

Reviewed in full by HOL Guard Security Publishing.

Published
Last full review
Last modified

Report a correction

Record HGTC-2026-7BED0640