Skip to main content

JetBrains TeamCity CVE-2026-65906

| EUVDEUVD-2026-48251 CRITICAL
Code Injection (CWE-94)
2026-07-23 JetBrains GHSA-8m5q-x899-528f
10.0
CVSS 3.1 · NVD
Share

Severity by source

Vendor (JetBrains) PRIMARY
HIGH
qualitative
NVD
10.0 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
vuln.today AI
9.9 CRITICAL

Supplying Kotlin DSL realistically requires VCS-write or project-edit rights, so PR:L rather than PR:N; sandbox escape crosses a trust boundary (S:C) with total host impact (C/I/A:H).

3.1 AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

Primary rating from Vendor (JetBrains).

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

7
Analysis Updated
Aug 11, 2026 - 16:13 vuln.today
v2 (cvss_changed)
Re-analysis Queued
Aug 11, 2026 - 16:07 vuln.today
cvss_changed
Severity Changed
Aug 11, 2026 - 16:07 NVD
HIGH CRITICAL
CVSS changed
Aug 11, 2026 - 16:07 NVD
8.8 (HIGH) 10.0 (CRITICAL)
Patch available
Jul 23, 2026 - 14:04 EUVD
Analysis Generated
Jul 23, 2026 - 13:16 vuln.today
CVE Published
Jul 23, 2026 - 12:24 cve.org
HIGH 8.8

DescriptionNVD

In JetBrains TeamCity before 2026.1.2, 2025.11.6 сode execution via Kotlin DSL sandbox escape was possible

AnalysisAI

Remote code execution in JetBrains TeamCity before 2026.1.2 and 2025.11.6 allows an attacker to escape the Kotlin DSL sandbox used to define build configurations-as-code and run arbitrary code in the context of the CI server. Because TeamCity servers hold VCS credentials, deployment keys, and build artifacts, a successful escape effectively compromises the entire build pipeline and downstream software supply chain. There is no public exploit identified at time of analysis, and the flaw is not listed in CISA KEV; EPSS is low at 0.40% (33rd percentile).

Technical ContextAI

TeamCity supports defining project and build settings 'as code' using a Kotlin-based DSL (Kotlin DSL), which is compiled and evaluated by the server. To contain the arbitrary Kotlin code this feature accepts, TeamCity evaluates it inside a restricted sandbox. This vulnerability is a CWE-94 (Improper Control of Generation of Code / code injection) issue where crafted DSL content bypasses the sandbox's restrictions, allowing the supplied Kotlin to execute outside its intended confinement on the server JVM. The affected component is the TeamCity server itself (CPE cpe:2.3:a:jetbrains:teamcity:*), specifically the settings/DSL evaluation subsystem rather than build agents.

RemediationAI

Vendor-released patch: upgrade to TeamCity 2026.1.2 (2026.1.x branch) or 2025.11.6 (2025.11.x maintenance branch), whichever matches your current major line, per JetBrains at https://www.jetbrains.com/privacy-security/issues-fixed/. Until you can upgrade, reduce exposure by restricting who can author or import Kotlin DSL settings: limit project-settings edit and 'versioned settings' write permissions to trusted administrators, and tighten write access on the VCS repositories that back TeamCity settings so untrusted commits cannot introduce DSL. Additionally, keep the TeamCity web UI and API off the public internet (place it behind a VPN or IP allowlist), which limits reachability if the unauthenticated vector is confirmed; the trade-off is reduced convenience for remote developers and integrations. These are compensating controls only - apply the patch as the definitive fix, since disabling versioned settings entirely would break teams that rely on configuration-as-code.

CVE-2024-27199 HIGH POC
7.3 Mar 04

Path traversal in JetBrains TeamCity before 2023.11.4 enables remote attackers to perform a limited set of administrativ

CVE-2026-63077 CRITICAL POC
9.8 Jul 27

Remote code execution in JetBrains TeamCity before 2026.1.3 and 2025.11.7 allows unauthenticated attackers to execute ar

CVE-2024-27198 CRITICAL POC
9.8 Mar 04

In JetBrains TeamCity before 2023.11.4 authentication bypass allowing to perform admin actions was possible. Rated criti

CVE-2023-42793 CRITICAL POC
9.8 Sep 19

In JetBrains TeamCity before 2023.05.4 authentication bypass leading to RCE on TeamCity Server was possible. Rated criti

CVE-2024-23917 CRITICAL POC
9.8 Feb 06

In JetBrains TeamCity before 2023.11.3 authentication bypass leading to RCE was possible. Rated critical severity (CVSS

CVE-2024-41827 CRITICAL
9.8 Jul 22

In JetBrains TeamCity before 2024.07 access tokens could continue working after deletion or expiration. Rated critical s

CVE-2024-36470 CRITICAL
9.8 May 29

In JetBrains TeamCity before 2022.04.7, 2022.10.6, 2023.05.6, 2023.11.5 authentication bypass was possible in specific e

CVE-2023-34218 CRITICAL
9.8 May 31

In JetBrains TeamCity before 2023.05 bypass of permission checks allowing to perform admin actions was possible. Rated c

CVE-2022-25263 CRITICAL
9.8 Feb 25

JetBrains TeamCity before 2021.2.3 was vulnerable to OS command injection in the Agent Push feature configuration. Rated

CVE-2022-24340 CRITICAL
9.8 Feb 25

In JetBrains TeamCity before 2021.2.1, XXE during the parsing of the configuration file was possible. Rated critical sev

CVE-2022-24331 CRITICAL
9.8 Feb 25

In JetBrains TeamCity before 2021.1.4, GitLab authentication impersonation was possible. Rated critical severity (CVSS 9

CVE-2021-43202 CRITICAL
9.8 Nov 30

In JetBrains TeamCity before 2021.1.3, the X-Frame-Options header is missing in some cases. Rated critical severity (CVS

Share

CVE-2026-65906 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy