Back to Blog
CI/CD & DevSecOps

CVE-2026-63077: Critical TeamCity Flaw Enables Unauthenticated RCE

A critical bug in the agent polling protocol lets an unauthenticated attacker with network access to a TeamCity On-Premises server run arbitrary OS commands — no credentials required.

PyramidLedger Research4 min read
Share

Key Takeaways

  • CVE-2026-63077 (CVSS 9.8) affects all JetBrains TeamCity On-Premises versions and lets an unauthenticated attacker bypass authentication and run OS commands via the agent polling protocol.
  • Fixes ship in TeamCity 2025.11.7 and 2026.1.3; TeamCity Cloud is already patched and unaffected.
  • Organisations that cannot upgrade immediately can apply JetBrains' security patch plugin (versions 2017.1+) as an interim fix.
  • No exploitation in the wild has been reported yet, but build servers are high-value targets — patch before it becomes a race against public PoC code.

JetBrains has disclosed a critical vulnerability, CVE-2026-63077, affecting all On-Premises versions of TeamCity, its widely used CI/CD server. The flaw sits in the agent polling protocol and allows an unauthenticated attacker with HTTP(S) access to the server to bypass authentication checks entirely and execute arbitrary operating system commands with the privileges of the TeamCity server process.

What happened

The issue was reported privately to JetBrains by researcher Antoni Tremblay on July 10, 2026, and disclosed under coordinated disclosure once fixes were ready. JetBrains has patched the bug in TeamCity 2025.11.7 and 2026.1.3; TeamCity Cloud instances were already unaffected and required no customer action. As of publication, JetBrains and The Hacker News report no evidence of active exploitation.

For customers who can't upgrade immediately, JetBrains has released a security patch plugin covering versions back to 2017.1, deployable manually or, for TeamCity 2024.03+, automatically. The vendor is also reiterating baseline hardening advice: restrict TeamCity server access to trusted networks, run the server process with minimal OS privileges, and keep build agents on separate hosts from the server itself.

Why it matters

A CI/CD server like TeamCity is not just another application — it's the machine that pulls source code, holds deployment credentials, signs artifacts, and pushes to production. An unauthenticated RCE against that process is close to a worst-case finding: no phishing, no stolen credentials, no insider access needed, just network reachability. Any internet-facing or loosely segmented TeamCity instance is a realistic target the moment technical details or a working exploit circulate, which is the pattern seen with prior TeamCity authentication-bypass flaws such as CVE-2024-23917.

The practical risk isn't limited to the build server itself. Compromise here typically cascades: exposure of stored secrets and credentials, tampering with build configurations, and the ability to inject malicious code into artifacts before they ever reach a release pipeline — a supply-chain foothold, not just a single-host breach.

What to do now

  1. 1Identify every TeamCity On-Premises instance in your estate, including forgotten or shadow-IT deployments.
  2. 2Upgrade to 2025.11.7 or 2026.1.3, or apply the security patch plugin if an immediate upgrade isn't feasible.
  3. 3Restrict inbound access to the TeamCity server and agent-polling endpoint to trusted, segmented networks — it should not be broadly internet-facing.
  4. 4Review server process privileges and separate build-agent hosts from the TeamCity server, per JetBrains' own hardening guidance.
  5. 5Audit for signs of compromise (unexpected build configuration changes, unfamiliar agents, anomalous process activity) if the instance has been internet-reachable and unpatched.

Frequently Asked Questions

Is TeamCity Cloud affected by CVE-2026-63077?

No. JetBrains confirmed TeamCity Cloud instances were already patched before disclosure and required no customer action. The vulnerability is specific to TeamCity On-Premises deployments.

Do I need valid credentials to be at risk from this flaw?

No — that's what makes it critical. An attacker only needs HTTP(S) network access to a vulnerable TeamCity server; the bug lets them bypass authentication checks in the agent polling protocol and run OS commands directly.

What if I can't upgrade TeamCity right away?

JetBrains has published a security patch plugin covering versions from 2017.1 onward, which can be deployed manually or automatically on 2024.03+. Combine it with network restrictions until a full upgrade is possible.

Sources

  1. 1Critical TeamCity Flaw Could Let Attackers Run OS Commands Without Logging InThe Hacker News
  2. 2Critical Security Issue Affecting TeamCity On-Premises (CVE-2026-63077) – Update to 2025.11.7 or 2026.1.3 NowJetBrains Blog
Share

Read next