Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessRegister or compromise a build agent
-
DeliveryInject XSS payload into agent-reported data
-
ExploitPayload stored on server
-
ExecutionAdmin opens cloud profile page
-
PersistScript executes in admin's browser session
-
ImpactSteal session token or act as admin
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the attacker to control a build agent that connects to the TeamCity server and submits the agent-reported data used to render the cloud profile page, meaning agent-level access/authorization is a prerequisite (consistent with PR:L). The payload only executes when a user with access to the cloud profile page - typically an administrator - actually views that page (UI:R). Limiting factors: victim interaction is mandatory, the attacker must already be able to influence agent-reported data (not anonymous), only TeamCity versions before 2026.1.2 are vulnerable, and exploitation yields browser-context script execution rather than direct server takeover. |
| Impact | The vendor CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N, 7.3 High) reflects a network-reachable but authenticated flaw requiring victim interaction; the C:H/I:H rating is aggressive for an XSS and likely reflects the administrative context of the cloud profile page rather than direct server compromise. Real-world urgency is tempered by two gating factors captured in the vector: PR:L (the attacker must already be able to make an agent report data) and UI:R (a privileged user must load the specific page). No EPSS score, KEV entry, POC, or SSVC decision data was provided, so exploitation-likelihood signals are absent; the balance of evidence points to a genuine but not drive-by vulnerability - meaningful in environments where agent registration is loosely controlled, lower priority where agents are trusted. Note the C:H/I:H impact conflicts with the S:U (no scope change) rating for a browser-executed XSS - verify actual impact scope with the vendor. |
| Exploit ScenarioDerived | An attacker who can register or compromise a build agent configures it to report data containing a crafted JavaScript payload; the payload is stored by TeamCity. When an administrator opens the cloud profile page, the script executes in their authenticated session, allowing the attacker to steal session tokens or perform administrative actions as that user. No public exploit code has been identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 10, 2026
Stored cross-site scripting in JetBrains TeamCity before 2026.1.2 lets an attacker who controls a build agent persist a malicious script into agent-reported data that executes when a privileged user opens the cloud profile page. Because it fires in the browser session of an operator with access to CI/CD configuration, it can lead to session/token theft and actions performed as the victim. The issue was reported by JetBrains itself; there is no public exploit identified at time of analysis and it is not listed in CISA KEV.
RemediationAI
Vendor-released patch: upgrade to JetBrains TeamCity 2026.1.2 or later, which is the primary and definitive fix (see https://www.jetbrains.com/privacy-security/issues-fixed/). If immediate upgrade is not possible, reduce exposure by tightening agent authorization so only vetted, trusted agents can connect and report data (Administration > Agents > unauthorized agents), since the payload originates from agent-reported data; the trade-off is added operational overhead when provisioning new agents. Additionally, restrict access to the cloud profile administration page to a minimal set of administrators and avoid viewing cloud profile pages on servers with unauthorized/unknown agents until patched, accepting that this delays cloud-agent configuration work. These are compensating controls only - patching to 2026.1.2 remains the correct remediation.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
TeamCity is a JetBrains continuous-integration and build-management server that orchestrates build agents; agents connect to the server and report status/metadata that is rendered in the web UI. The flaw is CWE-79 (improper neutralization of input during web page generation): data reported by an agent is stored and later reflected without adequate output encoding on the cloud profile administration page, so attacker-controlled content is interpreted as active HTML/JavaScript in the viewer's browser. The affected component per CPE is cpe:2.3:a:jetbrains:teamcity (all versions prior to the fixed 2026.1.2 release); the injection sink is server-side stored data rendered in the cloud-profile admin view.
Know when Teamcity gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Attacker needs agent access (PR:L) and an admin must view the page (UI:R); script crosses into the browser context (S:C) with limited confidentiality/integrity impact typical of stored XSS (C:L/I:L).
Primary rating from Vendor (JetBrains).
CVSS VectorNVD
Lifecycle Timeline
3DescriptionNVD
In JetBrains TeamCity before 2026.1.2 stored XSS on the cloud profile page was possible via agent-reported data
Executive ViewAI
JetBrains TeamCity (versions before 2026.1.2) contains a stored cross-site scripting vulnerability (CVE-2026-59794) enabling attackers who compromise a build agent to steal CI/CD operator credentials and initiate unauthorized production deployments. This threatens the integrity and security of your deployment pipeline and software supply chain.
No vendor-released patch identified at time of analysis. Restrict TeamCity UI access to hardened, monitored workstations; isolate build agents via network segmentation; enhance real-time monitoring for anomalous agent-reported data; require elevated authentication and audit logging for CI/CD configuration changes; consider disabling unused TeamCity features pending patch availability.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
Path traversal in JetBrains TeamCity before 2023.11.4 enables remote attackers to perform a limited set of administrativ
Remote code execution in JetBrains TeamCity before 2026.1.3 and 2025.11.7 allows unauthenticated attackers to execute ar
In JetBrains TeamCity before 2023.11.4 authentication bypass allowing to perform admin actions was possible. Rated criti
In JetBrains TeamCity before 2023.05.4 authentication bypass leading to RCE on TeamCity Server was possible. Rated criti
In JetBrains TeamCity before 2023.11.3 authentication bypass leading to RCE was possible. Rated critical severity (CVSS
Remote code execution in JetBrains TeamCity before 2026.1.2 and 2025.11.6 allows an attacker to escape the Kotlin DSL sa
Sandbox escape in JetBrains TeamCity's Kotlin DSL configuration mechanism allows an attacker who can supply or modify ve
JetBrains TeamCity versions prior to 2026.2, 2026.1.4, and 2025.11.8 contain a flaw in the password reset mechanism that
Remote code execution affects JetBrains TeamCity releases older than 2026.2, 2026.1.4, and 2025.11.8, where a type-white
In JetBrains TeamCity before 2024.07 access tokens could continue working after deletion or expiration. Rated critical s
In JetBrains TeamCity before 2022.04.7, 2022.10.6, 2023.05.6, 2023.11.5 authentication bypass was possible in specific e
In JetBrains TeamCity before 2023.05 bypass of permission checks allowing to perform admin actions was possible. Rated c
EUVD-2026-42912
GHSA-5526-463r-44x5
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB