External risk intelligence

JetBrains TeamCity Authentication Bypass Leading to Build Agent Takeover

CVE advisorySeverity: CRITICAL (CVSS 9.1)

CVE-2026-136858

JetBrains TeamCity is a continuous integration and continuous deployment (CI/CD) server. These services are commonly deployed as internet-facing or edge-accessible management platforms to facilitate remote development workflows, build monitoring, and integration with external version control systems and cloud services.

Authentication Bypass

Halo Surface Signal: 4 out of 5 — likely to be public-facing.

External exposure likelihood

Horizon Alert

Summary of the vulnerability and why it matters

This advisory details a critical vulnerability in JetBrains TeamCity, a widely used CI/CD platform, that could allow unauthorized access and control of build agents without proper authentication. This type of issue is significant as CI/CD systems are central to software development and deployment pipelines, potentially impacting the integrity and security of the entire development lifecycle. The main concern is confirming relevance and exposure.

  • Bypass authentication to control build agents.
  • Protects critical development and deployment pipelines.
  • Confirm if TeamCity is in use and exposed.

Attack Path

How an attacker could exploit the issue

An attacker could exploit this by bypassing authentication during the agent registration process. This vulnerability allows unauthorized takeover of authorized build agents, potentially leading to the compromise of build infrastructure.

  • Unauthenticated remote access required.
  • Vulnerability triggered during agent registration.
  • Risk of build agent takeover.

Live Threat

Current exploitation, exposure, and threat context

An authentication bypass during build agent registration could allow an attacker to take control of authorized build agents. This could impact the integrity and confidentiality of the build system and any code or artifacts processed by it.

  • Authorized build agents.
  • Unauthenticated access to registration.
  • Compromise of build processes and code.

Operational Fix

Recommended remediation, mitigation, and detection steps

To address this authentication bypass vulnerability in JetBrains TeamCity, Application Owners should lead the effort by coordinating with Platform/Infrastructure Teams and Security Teams. The immediate first step is to identify all TeamCity instances, confirm their exposure and criticality, and then assign ownership for remediation planning based on these findings.

  • Own: Application Owners, Platform Teams
  • Verify: Identify TeamCity instances, assess exposure
  • Action: Plan and execute remediation

Supplementary metadata

Validate whether this threat affects your internet-facing exposure.

Halo Threat Intelligence helps prioritize remediation with Halo Surface Signal and H/A/L/O context. Start exposure validation with a free external attack surface trial.

Frequently asked questions

What is JetBrains TeamCity?

TeamCity is a server-based continuous integration and deployment platform. Development teams use it to automate the building, testing, and releasing of software. It manages 'build agents'—dedicated machines or containers that perform the actual compilation and deployment tasks requested by the main server.

What does CWE-639 mean for CVE-2026-136858?

This vulnerability is classified as CWE-639, or Authorization Bypass Through User-Controlled Key. In the context of this CVE, it means the software fails to properly verify the identity of a build agent attempting to join the system, allowing an attacker to impersonate a legitimate agent and gain unauthorized control over the build process.

How is this authentication bypass triggered?

An attacker triggers this by initiating a malicious agent registration request to the TeamCity server. Because the server does not correctly validate the agent's credentials during this specific handshake, the attacker is granted access. This vulnerability is specific to the registration phase and does not grant the attacker access to the main server's administrative dashboard or user account database.

Is my TeamCity instance at risk?

According to Halo Surface Signal, TeamCity instances are often deployed as internet-facing or edge-accessible platforms to support remote development. If your server is reachable from the internet or exposed to untrusted networks, the risk of an external attacker attempting to register a rogue build agent is significantly higher.

What should I do to secure my environment?

The priority is to locate all TeamCity instances within your infrastructure and confirm their current version. If you are running a version affected by this flaw, coordinate with your platform and security teams to restrict network access to the server. Following this, plan a maintenance window to apply the necessary software updates provided by JetBrains to resolve the authentication oversight.

References