SecPod

Learn Search

Search across all Learn content

← Back to Security Research
CVE-2026-136858: Critical JetBrains TeamCity Authentication Bypass Threatens Software Supply Chain Security

CVE-2026-136858: Critical JetBrains TeamCity Authentication Bypass Threatens Software Supply Chain Security

Dec 2, 2026By Shwetha B S

Overview

On December 2, 2026, JetBrains disclosed a critical authentication bypass vulnerability in TeamCity On-Premises, tracked as CVE-2026-136858.

The vulnerability affects the build agent registration process. An unauthenticated remote attacker could impersonate an authorised build agent, intercept build workloads, access sensitive build secrets and manipulate build results and artifacts.

TeamCity is widely used to automate software compilation, testing, packaging and deployment. Compromising the trust relationship between the TeamCity server and its build agents could undermine the integrity of the software delivery pipeline.

The vulnerability carries a CVSS v3.1 score of 9.1 (Critical). Exploitation requires neither a TeamCity user account nor user interaction.

CVSS v3.1
9.1
CRITICAL
Authentication
None
Required for exploitation
Attack Complexity
Low
Network-based attack
Security Patch
Available
Immediate remediation
Vulnerability Details Description
CVE ID CVE-2026-136858
Product JetBrains TeamCity On-Premises
Vulnerability Type Authentication bypass
Affected Component Build agent registration
Severity Critical
CVSS v3.1 Score 9.1
CWE CWE-639: Authorization Bypass Through User-Controlled Key
Attack Vector Network
Attack Complexity Low
Privileges Required None
User Interaction None
Discovered By Jiawei Guo
Published Date December 2, 2026
Public PoC Not identified
Active Exploitation Not confirmed
Security Patch Available
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Affected Products and Versions

All unpatched versions of TeamCity On-Premises are affected by CVE-2026-136858. JetBrains has addressed the vulnerability in versions 2026.1.7, 2026.2.3 and 2026.3.

A standalone security patch plugin is available for TeamCity 2021.2 and later, allowing organisations to address the vulnerability without performing a full version upgrade. Installations older than 2021.2 must be upgraded to a fixed release.

Affected Versions Available Remediation
TeamCity 2026.2.x before 2026.2.3 Upgrade to 2026.2.3 or a later fixed release.
TeamCity 2026.1.x before 2026.1.7 Upgrade to 2026.1.7 or a later fixed release.
Earlier releases from 2021.2 onwards Install the compatible security patch plugin or upgrade to a fixed release.
Releases older than 2021.2 Upgrade to a fixed release.

TeamCity 2026.3 also includes the security fix.

TeamCity Cloud

JetBrains has already applied the necessary corrective measures to TeamCity Cloud and reported no evidence of exploitation within its cloud environments. TeamCity Cloud customers are not required to take additional action.

Technical Analysis

Authentication Bypass in Build Agent Registration

TeamCity follows a server-agent architecture. The server manages build configurations, schedules jobs and coordinates CI/CD workflows. Build agents execute the assigned workloads and return build results and artifacts.

Under normal conditions, a build agent must be authorised before it can execute workloads. This establishes a trust boundary between the TeamCity server and its build infrastructure.

Normal TeamCity Build Architecture

Source Code Repository
Application source code and dependencies
↓
TeamCity Server
Build scheduling and workflow management
↓
Trusted and Authorised Connection
Authorised Build Agent
Compilation, testing and packaging
↓
Build Results and Artifacts
Software packages and release outputs

Conceptual diagram: source code checkout may occur on the build agent or on the TeamCity server, depending on the configured checkout mode. The arrows illustrate the logical workflow rather than a required source-transfer path.

CVE-2026-136858 compromises this trust boundary during agent registration. An attacker with HTTP or HTTPS access to a vulnerable TeamCity server could assume the identity of an existing authorised build agent without possessing a TeamCity user account.

The vulnerability is classified under CWE-639, which describes an authorisation weakness involving a user-controlled identifier.

Unlike conventional authentication bypass vulnerabilities that grant access to user accounts, CVE-2026-136858 affects the identity of a trusted CI/CD component. The compromised identity could allow an attacker to interfere with legitimate build workloads.

Security Impact of CVE-2026-136858

Vulnerable TeamCity Server
Build agent registration
↓
Authentication Bypass
↓
Impersonated Build Agent
Compromised agent trust boundary
↓
Credential Exposure
Sensitive build secrets
Build Manipulation
Untrusted build results
Artifact Tampering
Compromised software outputs
↓
Potential Software Supply Chain Compromise

Conceptual representation of the affected trust boundary and potential security consequences. This diagram does not represent a confirmed exploitation campaign.

The available disclosure does not establish the exact vulnerable code path or validation failure. It also does not establish arbitrary operating system command execution on the TeamCity server or direct administrative access.

Security Impact

Build agents process resources required for compiling, testing and deploying applications. These resources may include proprietary source code, environment variables, repository credentials, API tokens and deployment secrets.

Impersonating an authorised build agent could compromise the confidentiality and integrity of the workloads assigned to it.

01
Build Interception

Unauthorised access to legitimate build workloads.

02
Information Disclosure

Exposure of source code and sensitive build parameters.

03
Credential Compromise

Exposure of secrets made available during build execution.

04
Build Result Manipulation

Modification of reported build outcomes.

05
Artifact Tampering

Modification of generated binaries and software packages.

06
Software Supply Chain Compromise

Potential distribution of manipulated software through trusted release channels.

The extent of the compromise depends on the workloads, permissions and resources associated with the impersonated build agent.

Where build agents participate in production release workflows, the consequences could extend beyond the CI/CD environment.

Exploit Maturity Assessment

As of December 3, 2026, no verified public proof-of-concept or functional exploit has been identified for CVE-2026-136858. JetBrains also reported no known active exploitation at the time of disclosure.

Exploit Maturity Parameter Status
Public exploit availability Not identified
Functional exploit Not confirmed
Private exploit availability Unknown
Active exploitation Not confirmed
Exploit reliability Not established
CISA KEV listing Not listed at the time of assessment
EPSS score Not available at the time of assessment

The CISA SSVC assessment classifies the vulnerability as automatable, with a total technical impact on the vulnerable component. This indicates that exploitation could potentially be automated if a functional exploit becomes available.

Exploitability Consideration

The absence of a public exploit should not be interpreted as evidence that the vulnerability is difficult to exploit.

Vulnerability Timeline

November 24, 2026
Private Vulnerability Report
Security researcher Jiawei Guo privately reports the vulnerability to JetBrains.
November 25, 2026
CVE Identifier Reserved
CVE-2026-136858 is reserved.
December 2, 2026
Public Disclosure
JetBrains publicly discloses the authentication bypass vulnerability.
December 2, 2026
Security Fixes Announced
Fixed TeamCity releases and a standalone security patch plugin are available.
December 3, 2026
Exploit Maturity Assessment
No verified public PoC or confirmed active exploitation identified.
8 Days
Private report to public disclosure
Same Day
Public disclosure and announced security fixes

The exact vulnerability discovery date has not been publicly disclosed. Security fixes were available when JetBrains publicly disclosed the vulnerability on December 2, 2026.

Active Exploitation and Threat Actors

No verified exploitation campaign or threat actor attribution had been identified for CVE-2026-136858 as of December 3, 2026.

The vulnerability remains significant because CI/CD infrastructure handles sensitive credentials and controls software production and distribution. Its exploitation could have security consequences beyond the affected server.

Potential Downstream Security Impact

Exposure of privileged build or deployment credentials could place connected repositories, cloud services and production environments at risk. Manipulated build artifacts could also compromise downstream software releases if they pass through trusted distribution channels.

These consequences depend on the permissions and resources available to the affected build workloads. No confirmed post-exploitation activity or vulnerability chain involving CVE-2026-136858 has been publicly documented.

MITRE ATT&CK Mapping

No confirmed attacker techniques have been established for CVE-2026-136858, and there is currently insufficient evidence from observed exploitation to support specific MITRE ATT&CK mappings.

Indicators of Compromise (IOCs)

No verified campaign-specific indicators of compromise, such as malicious IP addresses, domains, file hashes or malware samples, have been publicly associated with CVE-2026-136858.

However, JetBrains has provided a log-based investigation indicator that can help identify suspected build agent impersonation attempts.

Administrators should examine teamcity-server.log for entries containing the following message:

TEAMCITY SERVER LOG PATTERN
of the existing agent, but different authorization token "<token>"
Non-Empty Token

May indicate an attempt to impersonate an existing build agent. Further investigation is required.

Empty Token ("")

Expected behaviour according to JetBrains. Can be disregarded for this specific check.

A token mismatch is an investigation indicator, not confirmation of successful exploitation.

Administrators should correlate the timestamp of the suspicious entry with the affected agent's connection history, assigned build workloads and published artifacts.

Detection and Monitoring

Security teams should monitor TeamCity infrastructure for abnormal agent registration activity and inconsistencies in build execution.

The following log sources and telemetry can support an investigation.

Log Source Detection Opportunities
teamcity-server.log Unexpected agent registration and authorisation token mismatches.
teamcity-agent.log Unexpected changes in agent connection and operational activity.
Build execution logs Inconsistencies between expected and recorded build activity.
Reverse proxy logs Agent connections originating from unrecognised source IP addresses.
Artifact repository logs Unexpected artifact publication or modification.
Identity and access logs Unusual use of build and deployment credentials.
EDR telemetry Abnormal process execution or network activity on managed build infrastructure.

Recommended Investigation Workflow

1
Identify Suspicious Registration Activity
Review non-empty authorisation token mismatch events.
↓
2
Verify Build Agent Identity
Validate hostname, source IP and connection history.
↓
3
Review Assigned Build Workloads
Compare build logs, execution results and timestamps.
↓
4
Verify Artifact Integrity
Investigate unexpected modifications and publication activity.
↓
5
Assess Potential Compromise
Preserve evidence and determine the extent of exposure.

SIEM detection rules should correlate non-empty authorisation token mismatch events with unexpected agent network identities and subsequent build activity.

EDR monitoring can provide additional visibility into suspicious activity on managed build hosts. However, endpoint monitoring alone may not detect build agent impersonation originating outside the managed infrastructure.

Risk Assessment

CVE-2026-136858 presents a critical risk because it compromises a trusted component responsible for executing software build workloads.

Risk Factor Assessment
Technical Severity Critical (CVSS v3.1: 9.1)
Exploitability Network-based attack with low complexity and no authentication or user interaction requirements.
Confidentiality Impact Potential exposure of proprietary source code, build secrets and credentials.
Integrity Impact Potential manipulation of build results and software artifacts.
Exposure Greater risk for internet-facing servers and environments with unrestricted network access.
Exploit Maturity No verified public exploit or confirmed active exploitation.
Business Impact Potential compromise of software release integrity and downstream consumers.
Remediation Priority Immediate

The actual organisational risk depends on server accessibility, build agent permissions and the sensitivity of the assigned workloads.

Environments where build agents handle production deployment credentials or participate in software release workflows should receive particular attention. The potential supply chain impact warrants immediate remediation, even in the absence of confirmed exploitation.

Patch and Mitigation

JetBrains has released security fixes for CVE-2026-136858 in the following versions:

FIXED VERSION
2026.1.7
TeamCity On-Premises
FIXED VERSION
2026.2.3
TeamCity On-Premises
FIXED VERSION
2026.3
TeamCity On-Premises

Option 1: Upgrade TeamCity

Organisations should upgrade affected TeamCity servers to an appropriate fixed release.

The security updates are available through the official JetBrains TeamCity download page.

Download TeamCity Security Updates →

Option 2: Install the Security Patch Plugin

For organisations unable to perform an immediate version upgrade, JetBrains provides a standalone security patch plugin compatible with TeamCity 2021.2 and later.

Installations running TeamCity 2026.2.2 or later with automatic security patch installation enabled should automatically check for and install the available patch.

Administrators should verify successful patch installation. Versions older than 2021.2 require an upgrade to a fixed release.

Additional Mitigation: Restrict Agent Interface Access

JetBrains recommends configuring a reverse proxy or another path-aware access control mechanism to restrict requests to the following path and its subpaths:

RESTRICTED AGENT INTERFACE
/app/agents

Access should be permitted only from trusted source IP addresses associated with legitimate build agents.

Recommended Agent Access Control

Trusted Build Agents
Approved source IP addresses
✓ Allowed
Untrusted Sources
Unapproved source IP addresses
✕ Blocked
↓
Reverse Proxy / Path-Aware Access Control
Restrict /app/agents and its subpaths
↓
TeamCity Server
Agent interface accessible only to approved sources

When implementing these restrictions, administrators should account for cloud-hosted build agents, their outbound IP addresses and any NAT gateways through which they communicate.

Important

These restrictions reduce the exposed attack surface but do not correct the underlying vulnerability. They should be used as additional security controls rather than substitutes for patching.

Remediation Recommendations

Immediate Actions

1
Identify affected installations. Identify all TeamCity On-Premises installations and verify their patch status.
2
Apply the security fix. Upgrade affected servers to a fixed version or install the compatible security patch plugin.
3
Restrict agent interface access. Limit access to /app/agents and its subpaths to trusted build agent source IP addresses.
4
Review historical activity. Examine agent registration and connection events for suspicious behaviour.
5
Investigate build integrity. Review unexpected build activity and artifact modifications.
6
Preserve evidence. Retain relevant logs, build records and artifacts if exploitation is suspected.
7
Rotate exposed credentials. Rotate credentials associated with potentially compromised build workloads.
8
Validate affected artifacts. Treat artifacts generated by potentially compromised builds as untrusted until their integrity has been verified. Trace where these artifacts were distributed or deployed.

Long-Term Security Measures

  • Enforce least-privilege access. Limit permissions across build agents, source code repositories and deployment environments.
  • Strengthen credential management. Replace long-lived credentials with short-lived, workload-specific credentials wherever possible.
  • Segment CI/CD infrastructure. Separate development, testing and production build infrastructure. Restrict unnecessary network communication and limit access to production secrets.
  • Protect software release integrity. Implement artifact signing, build provenance and integrity verification.
  • Maintain continuous vulnerability assessment. Include CI/CD servers, build agents, plugins and supporting development infrastructure.
  • Verify remediation effectiveness. Follow security patch deployment with verification to ensure affected installations are no longer vulnerable.

Key Takeaways

  • Critical authentication bypass: CVE-2026-136858 has a CVSS v3.1 score of 9.1 and could allow an unauthenticated attacker to impersonate an authorised TeamCity build agent.
  • Affected installations: Unpatched TeamCity On-Premises deployments are vulnerable. TeamCity Cloud has already received the necessary security measures.
  • Potential impact: Build interception, exposure of sensitive build secrets and manipulation of build results or artifacts could threaten software supply chain integrity.
  • Exploitation and detection: No verified public exploit or active exploitation was identified at the time of assessment. Investigate non-empty authorisation token mismatch entries in teamcity-server.log and correlate them with agent and build activity.
  • Remediation: Upgrade to TeamCity 2026.1.7, 2026.2.3 or 2026.3, as appropriate, or apply the standalone security patch plugin for supported installations running 2021.2 or later. Restrict /app/agents access to trusted build agents.

Conclusion

CVE-2026-136858 demonstrates how vulnerabilities in trusted CI/CD components can create security risks beyond the affected application.

By exploiting an authentication weakness during agent registration, an unauthenticated attacker could interfere with legitimate build workloads, access sensitive information and manipulate software artifacts.

The vulnerability's low attack complexity and potential supply chain impact warrant immediate remediation.

Organisations using TeamCity On-Premises should apply the available security fixes, investigate suspicious build agent activity and verify the integrity of their software delivery pipelines.

References

Instantly Fix Risks in Endpoints & Cloud with Saner

Saner is a continuous and integrated vulnerability & exposure management platform that instantly fixes risks in endpoints and cloud.

Schedule a Demo

Featured Posts

Open CVE-2026-140406: Critical Ghost CMS Brute-Force Protection Bypass
CVE-2026-140406: Critical Ghost CMS Brute-Force Protection Bypass

CVE Research

CVE-2026-140406: Critical Ghost CMS Brute-Force Protection Bypass

Dec 2, 2026

Open Critical RabbitMQ OAuth2 Authentication Bypass Could Grant Admin Access: November 30, 2026
Critical RabbitMQ OAuth2 Authentication Bypass Could Grant Admin Access: November 30, 2026

CVE Research

Critical RabbitMQ OAuth2 Authentication Bypass Could Grant Admin Access: November 30, 2026

A critical RabbitMQ OAuth2 vulnerability rated 9.1 allows unauthorized privileged token issuance in affected management configurations. Explore technical analysis, security risks, affected versions, exploitation evidence, available security patches and recommended remediation strategies.

Dec 1, 2026

Open Critical Vulnerabilities in MySQL Server, MySQL Cluster and RealVNC - November 30, 2026
Critical Vulnerabilities in MySQL Server, MySQL Cluster and RealVNC - November 30, 2026

CVE Research

Critical Vulnerabilities in MySQL Server, MySQL Cluster and RealVNC - November 30, 2026

Explore two Critical vulnerabilities affecting MySQL Server, MySQL Cluster and RealVNC, involving improper authentication and out-of-bounds write weaknesses. Understand their technical root causes, affected versions, CVSS severity, exploitation evidence, security patches and recommended remediation strategies.

Nov 30, 2026

Open November 2026 Linux Security Updates for Debian, Fedora, Red Hat and Ubuntu: Critical Browser, .NET and Enterprise Infrastructure Vulnerabilities
November 2026 Linux Security Updates for Debian, Fedora, Red Hat and Ubuntu: Critical Browser, .NET and Enterprise Infrastructure Vulnerabilities

CVE Research

November 2026 Linux Security Updates for Debian, Fedora, Red Hat and Ubuntu: Critical Browser, .NET and Enterprise Infrastructure Vulnerabilities

Nov 27, 2026