Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as high-privileged TeamCity user
-
DeliveryInject script into recipe export error
-
ExploitPayload stored server-side
-
ExecutionVictim views export error page
-
PersistScript executes in victim browser session
-
ImpactHijack session / act as victim in TeamCity
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 an authenticated TeamCity user with high privileges (PR:H) who can create or run a build recipe whose export produces an error, and the ability to embed a script payload into that recipe export error output, which is stored and served unsanitized. The attack is not self-executing: a second user must view the affected recipe export error page in the web UI (UI:R) for the payload to fire in their browser session. Limiting factors: the high-privilege prerequisite means the attacker must already hold a trusted TeamCity role, and required victim interaction means the payload only triggers when someone opens the affected output - both substantially reduce realistic exploitability below the raw 6.8 score. Affects TeamCity versions before 2026.2.1. |
| Impact | This is a moderate-priority issue rather than a top-tier emergency. The vuln.today Decision label is 'this_month' (not act_now/emergency), and there is no CISA KEV listing, no EPSS score supplied, and no public exploit or PoC reference in the input - so by the precision rule this is 'no public exploit identified at time of analysis.' The most important mitigating signal is the CVSS vector's PR:H: exploitation requires an already highly-privileged, authenticated TeamCity user to plant the stored payload, which sharply narrows the realistic attacker population since such a user typically already controls build configurations. UI:R further limits it - a victim must view the affected recipe export error output. One internal inconsistency should be flagged: the JetBrains-supplied vector (CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H, 6.8) rates confidentiality, integrity AND availability as High with scope Unchanged, which is atypical for a stored XSS (CWE-79), where the script executes in a victim's browser - a different security authority - normally yielding a scope change and lower, confidentiality/integrity-weighted impacts. The vendor's high C/I/A values may reflect the CI/CD context (session theft leading to pipeline tampering), but they are not explained in the single available reference; verify the impact rating with JetBrains. Net: a real but not urgent, privilege-gated web vulnerability on an internet-reachable CI server. |
| Exploit ScenarioDerived | A privileged TeamCity user crafts a build recipe whose export triggers an error message containing an embedded script payload, which is stored and later rendered unsanitized when another user views that export error in the TeamCity web UI. When a victim (e.g., an administrator) opens the affected page, the script runs in their authenticated browser session, enabling session/token theft or actions on their behalf within TeamCity. No public PoC or exploit code is identified in the available sources, and injection requires high-privilege access (PR:H) plus victim interaction (UI:R). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 19, 2026
Stored cross-site scripting in JetBrains TeamCity before 2026.2.1 lets a high-privilege authenticated user embed a script payload into recipe export error output, which is then stored and served unsanitized. The payload only fires when a second user opens the affected recipe export error page in the web UI, so exploitation requires both an already-trusted TeamCity role and victim interaction - factors the independent assessment weighs as substantially reducing realistic exploitability below the nominal 6.8 score. No public exploit code has been identified at time of analysis, and the issue is rated 'this_month' priority rather than an emergency; the vendor has released TeamCity 2026.2.1 as the fix.
RemediationAI
Upgrade to JetBrains TeamCity 2026.2.1 or later, which is the vendor-released fixed version addressing this stored XSS in recipe export errors; the fix is documented on the JetBrains privacy and security issues-fixed page at https://www.jetbrains.com/privacy-security/issues-fixed/. The available sources do not describe any interim workaround or compensating control, so the upgrade is the remediation path given in the evidence. Because exploitation requires an authenticated high-privilege TeamCity account, reviewing which users and groups hold elevated roles limits who could stage such a payload, though this is not a vendor-stated mitigation.
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
The flaw is a CWE-79 cross-site scripting issue in JetBrains TeamCity's recipe export error handling. Rather than reflecting input, the payload is persisted: error output generated during recipe export is stored and later rendered in the web UI without proper output encoding or sanitization, making this the stored variant of XSS. The affected product is identified by the CPE cpe:2.3:a:jetbrains:teamcity, covering all releases prior to 2026.2.1. The CVSS 3.1 vector (AV:N/AC:L/PR:H/UI:R) indicates a network-reachable attack that requires the attacker to already hold high privileges in TeamCity and requires a separate victim to interact with the affected page; the independent assessment adjusts scope to changed (S:C) with low confidentiality and integrity impact (C:L/I:L/A:N), reflecting that the injected script executes in the victim's browser session rather than compromising the server directly. The specific code path and the exact encoding failure are not described in the available sources.
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:H/UI:R/S:U/C:H/I:H/A:H
Stored XSS executes in a victim's browser (S:C) with limited confidentiality/integrity impact; injection needs a high-privilege authenticated user (PR:H) and victim viewing (UI:R), and availability is not affected (A:N).
Primary rating from Vendor (JetBrains).
CVSS VectorVendor: JetBrains
Lifecycle Timeline
1DescriptionCVE.org
In JetBrains TeamCity before 2026.2.1 stored XSS in recipe export errors was possible
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
Remote code execution in JetBrains TeamCity server affects versions before 2026.1.3 and before 2025.11.7, where a crafte
Remote code execution in JetBrains TeamCity (versions before 2026.1.3 and before 2025.11.7) is possible through argument
Remote code execution in JetBrains TeamCity allows an authenticated user with rights to create or modify Perforce VCS ro
Remote code execution in JetBrains TeamCity before 2026.1.3 and before 2025.11.7 is reachable by an authenticated user w
Remote code execution in JetBrains TeamCity CI/CD servers affects releases before 2026.2, 2026.1.4, and 2025.11.8 when t
EUVD-2026-129817
GHSA-3ggq-p5c2-rqv9
NVD
CVE.org
EPSS
VulDB
Exploit-DB