# Critical TeamCity Authentication Bypass Lets Unauthenticated Attackers Execute OS Commands


## The Threat


JetBrains has disclosed a critical vulnerability in TeamCity On-Premises that allows an unauthenticated attacker to execute arbitrary operating system commands on any exposed server. The flaw, CVE-2026-63077, carries a CVSS score of 9.8 — about as high as it gets — and the attack path requires nothing more than HTTP or HTTPS access to the target host. No credentials, no social engineering, no insider foothold.


The mechanism is the TeamCity agent polling protocol, the communication channel build agents use to check in with the server for queued jobs. An attacker can abuse that protocol to sidestep authentication checks entirely, smuggling OS commands in through a path the server treats as trusted internal traffic. Once that works, the attacker runs commands as the TeamCity server process itself.


What that means in practice depends on how tightly the TeamCity installation is locked down — and in a lot of shops, the answer is "not very." TeamCity routinely stores VCS credentials, deployment keys, API tokens, and signing certificates. Compromising the process means reading or modifying server-side configurations, exfiltrating everything the build system has access to, and potentially pivoting into connected infrastructure. This is CI/CD compromise, which historically cascades fast.


## Severity and Impact


| Field | Detail |

|---|---|

| CVE | CVE-2026-63077 |

| CVSS Score | 9.8 (Critical) |

| Attack Vector | Network |

| Attack Complexity | Low |

| Authentication Required | None |

| User Interaction | None |

| Privileges Required | None |

| CWE | CWE-306 (Missing Authentication for Critical Function) |

| Impact | Arbitrary OS command execution as TeamCity server process |


No exploitation in the wild has been confirmed as of the advisory date, but the CVSS vector and attack description — unauthenticated, low complexity, network-accessible — place this firmly in the category of vulnerabilities that get weaponized within days of public disclosure.


## Affected Products


JetBrains TeamCity On-Premises

  • All versions prior to 2025.11.7 (2025.x branch)
  • All versions prior to 2026.1.3 (2026.x branch)
  • Legacy versions back to 2017.1 (covered by security patch plugin)

  • Not affected:

  • TeamCity Cloud — JetBrains has already applied the patch server-side

  • ## Mitigations


    Primary: Update immediately

  • Upgrade to TeamCity On-Premises 2025.11.7 or 2026.1.3, depending on your branch
  • These releases fully resolve CVE-2026-63077

  • If you cannot update right now:

  • Install JetBrains' security patch plugin, which covers versions 2017.1 and newer
  • Note: the patch plugin addresses only CVE-2026-63077; it does not backport other security fixes from recent releases
  • JetBrains explicitly recommends upgrading to the latest version for the full security posture

  • Network-level controls (apply regardless of patch status):

  • Require VPN access for all connections to the TeamCity server — do not leave it internet-facing
  • Block external access to the TeamCity REST API and web interface at the perimeter
  • JetBrains specifically warns that exposing even the login screen creates an attack surface for newly disclosed vulnerabilities

  • Post-patch hygiene:

  • Rotate any credentials, tokens, or secrets stored in TeamCity configurations or environment variables
  • Review build agent trust relationships and scope permissions to least privilege
  • Audit TeamCity server process privileges — it should not run as root or a domain admin

  • The vulnerability was discovered by Antoni Tremblay and reported to JetBrains on July 10, 2026.


    ## References


  • [JetBrains Security Advisory — CVE-2026-63077](https://www.jetbrains.com/privacy-security/issues-fixed/)
  • [TeamCity Release Notes](https://www.jetbrains.com/teamcity/download/)
  • [JetBrains Security Patch Plugin](https://www.jetbrains.com/privacy-security/issues-fixed/)

  • ---


    ## HackWire Analysis


    TeamCity has been here before. CVE-2024-27198 was another authentication bypass in early 2024 — CVSS 9.8, unauthenticated, network-reachable — and it was exploited in the wild within roughly 24 hours of the PoC dropping. Nation-state actors and ransomware crews both made a run at it. The attack profile of CVE-2026-63077 is nearly identical: no auth, low complexity, network access, critical score. If the 2024 incident is any guide, organizations have a very short window.


    What makes CI/CD compromise particularly damaging is the blast radius. A TeamCity server isn't just a box — it's a key that opens most of the other boxes. Build pipelines routinely carry cloud provider credentials, container registry tokens, SSH keys for production deployments, and code signing certificates. An attacker who lands on that server can poison artifacts quietly, exfiltrate secrets without touching the applications those secrets protect, or use the build network as a pivot point into otherwise segmented environments. None of those actions necessarily set off alerts, because CI/CD systems are supposed to pull keys and push binaries.


    The advice to put TeamCity behind a VPN is correct but undersells the urgency. A lot of organizations deployed TeamCity internet-facing during the remote-work buildout and never walked it back. If you're in that category, treat this as a stop-everything situation. Patch first, rotate secrets second, then do the network hardening. In that order — because if you're already compromised, hardening the perimeter after the fact just locks an attacker inside.


    — HackWire Editorial


    ---


    ## Related Coverage


  • Read more in our [Vulnerabilities](https://www.hackwire.news/category/vulnerabilities) coverage
  • Cross-reference with [Breaches](https://www.hackwire.news/category/breaches) and [Malware](https://www.hackwire.news/category/malware)
  • Stay current via the [HackWire homepage](https://www.hackwire.news/)