Skip to main content

JetBrains TeamCity CVE-2026-59795

| EUVDEUVD-2026-42913 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-07-10 JetBrains GHSA-ch3x-q6cp-54rw
6.1
CVSS 3.1 · NVD
Share

Severity by source

Vendor (JetBrains) PRIMARY
HIGH
qualitative
NVD
6.1 MEDIUM
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
vuln.today AI
6.1 MEDIUM

Unauthenticated network injection (PR:N/AV:N) but fires only when a victim views the page (UI:R); stored XSS executes in the victim's browser context, so S:C with limited C/I and no availability impact.

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

Primary rating from Vendor (JetBrains).

CVSS VectorNVD

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

Lifecycle Timeline

5
Severity Changed
Jul 13, 2026 - 15:37 NVD
HIGH MEDIUM
CVSS changed
Jul 13, 2026 - 15:37 NVD
8.1 (HIGH) 6.1 (MEDIUM)
Patch available
Jul 10, 2026 - 16:16 EUVD
Analysis Generated
Jul 10, 2026 - 15:45 vuln.today
CVE Published
Jul 10, 2026 - 14:18 cve.org
HIGH 8.1

DescriptionNVD

In JetBrains TeamCity before 2026.1.2 stored XSS via unauthenticated agent registration was possible

AnalysisAI

Stored cross-site scripting in JetBrains TeamCity before 2026.1.2 lets an unauthenticated attacker persist malicious script through the agent registration flow, which then executes in the browser of any privileged user (e.g. an administrator) who later views the affected agent-management interface. Because agent registration requires no authentication, the entry barrier is minimal, and successful execution in an admin session can lead to session/token theft and pivoting to control of a CI/CD build server. No public exploit identified at time of analysis, and the issue is not listed in CISA KEV; EPSS data was not provided.

Technical ContextAI

TeamCity is a widely used CI/CD build-management server; build agents connect to the central server and are enumerated in its web UI. The root cause is CWE-79 (improper neutralization of input during web page generation): attacker-controlled data supplied during the unauthenticated agent registration process is stored server-side and later rendered without adequate output encoding, so it is interpreted as active HTML/JavaScript when a user loads the relevant page. The affected component is the TeamCity server web application (CPE cpe:2.3:a:jetbrains:teamcity), specifically the agent-registration handling and the UI surfaces that display agent-provided metadata.

RemediationAI

Vendor-released patch: 2026.1.2 - upgrade the TeamCity server to 2026.1.2 or later, which is the primary and authoritative fix; consult the JetBrains security bulletin at https://www.jetbrains.com/privacy-security/issues-fixed/ for release specifics. Until the upgrade can be applied, reduce exposure by restricting network access to the TeamCity server and, in particular, to the agent-registration endpoints so that only trusted networks/hosts can register agents (trade-off: legitimate agents on untrusted networks will fail to connect and may need allowlisting or VPN routing). Additionally, advise administrators to avoid browsing agent-management pages from sessions with elevated privileges until patched, and consider a strict Content-Security-Policy at any fronting reverse proxy to limit inline script execution (trade-off: a restrictive CSP can break parts of the TeamCity UI and should be tested first). Do not rely on these as permanent controls - patching is the only complete remediation.

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-2026-65906 CRITICAL
10.0 Jul 23

Remote code execution in JetBrains TeamCity before 2026.1.2 and 2025.11.6 allows an attacker to escape the Kotlin DSL sa

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

Share

CVE-2026-59795 vulnerability details – vuln.today

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