Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as privileged TeamCity user
-
DeliveryStore script in P4 Code Review tab content
-
ExploitVictim opens affected build tab
-
ExecutionScript executes in victim browser session
-
ImpactHijack session or act as victim
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 | Requires a TeamCity deployment that uses the Perforce (P4) Code Review integration and renders the P4 Code Review build tab; an attacker must be able to store malicious content that reaches that tab (vendor vector sets PR:H, implying elevated privileges to inject), and a separate victim user must then open the affected build tab (UI:R) for the stored script to execute. Exploitation is limited by: the P4 Code Review feature actually being in use, the high privilege level the vendor vector attributes to the injector, the need for victim interaction, and the instance running a version before 2026.2 / 2026.1.4 / 2025.11.8. The specific field or workflow through which content is stored is not described in the available sources. |
| Impact | Signals are mixed and point to a prioritize-but-not-emergency posture. The vendor-supplied CVSS 3.1 vector (AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H, base 8.4) combines network reach and low attack complexity with two significant gating conditions: PR:H (attacker needs high privileges) and UI:R (a victim must view the affected tab). The scope change (S:C) and uniformly High impact ratings are what push an otherwise self-limited stored-XSS into the High band - the vendor models the injected script executing in another user's authenticated browser context against the CI/CD system. There is no CISA KEV listing, no EPSS probability supplied, and no PoC or exploit reference in the input, so by the precision rules this is 'no public exploit identified at time of analysis.' The vuln.today priority is 'this_week' (not act_now/emergency), consistent with a credible but not actively-exploited flaw. Note two tensions to verify: (1) the High C/I/A ratings are unusually severe for a classic stored XSS and depend on the scope-change interpretation - worth confirming against JetBrains' own scoring; (2) PR:H implies the injector already holds significant privileges, which materially narrows the realistic attacker population. The trigger mechanism (who can write to the P4 Code Review tab and how) is not described in the available source. |
| Exploit ScenarioDerived | An attacker who already holds privileged access to a TeamCity instance using the Perforce (P4) Code Review integration stores malicious script in content rendered on the P4 Code Review build tab. When another user - potentially a higher-value operator - later opens that build tab, the script executes in their authenticated browser session, enabling session or action hijacking within the CI/CD system. No public exploit code is identified at time of analysis, and the exact injection path is not described in the available sources. |
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 the P4 Code Review build tab of JetBrains TeamCity allows an authenticated attacker to persist malicious content that executes in a victim's browser when the victim opens the affected tab. TeamCity versions before 2026.2, 2026.1.4, and 2025.11.8 are affected, and exploitation requires the Perforce Code Review integration to be in use plus victim interaction. No public exploit has been identified at time of analysis; the vendor-published CVSS is 8.4, while the independent assessment rates the issue lower with C:L/I:L/A:N.
RemediationAI
Upgrade JetBrains TeamCity to 2026.2, 2026.1.4, or 2025.11.8 (or later), the vendor-released fixed versions for the listed branches. The vendor's fixed-issues advisory at https://www.jetbrains.com/privacy-security/issues-fixed/ is the authoritative reference. No workaround is described in the available sources; updating to a fixed build is the remediation identified in the available data.
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
CWE-79 (cross-site scripting) in TeamCity's P4 Code Review build tab. TeamCity is a CI/CD server, and the tab renders data associated with Perforce code reviews. The root cause is insufficient neutralization of user-controllable stored content before it is placed into the build-tab page, allowing script to run in the context of a victim's TeamCity session. CPE cpe:2.3:a:jetbrains:teamcity:*:*:*:*:*:*:*:* covers TeamCity builds before the fixed versions. The exact storage field or workflow through which content reaches the tab is not described in the available sources. The vendor CVSS vector is AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H, while the independent assessment uses AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N; privilege requirements and impact should therefore be treated as uncertain and likely lower than the vendor score suggests.
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:C/C:H/I:H/A:H
Network-reachable stored XSS needing an authenticated injector (PR:L) and victim viewing the tab (UI:R); script runs in the victim's browser (S:C) with typical low confidentiality/integrity impact and no availability impact - diverging from the vendor's C:H/I:H/A:H.
Primary rating from Vendor (JetBrains).
CVSS VectorVendor: JetBrains
Lifecycle Timeline
2DescriptionCVE.org
In JetBrains TeamCity before 2026.2, 2026.1.4, 2025.11.8 stored XSS on the P4 Code Review build tab was possible
Executive ViewAI
A stored cross-site scripting flaw in JetBrains TeamCity's P4 Code Review build tab (CVE-2026-132913) lets an authenticated user plant persistent malicious content that executes in a colleague's browser when they open the affected tab. Organizations using Perforce Code Review integration are exposed, placing development and CI/CD staff-who often hold elevated repository and pipeline privileges-at risk of session compromise. Leadership should care because a browser-level compromise of CI/CD operators can cascade into source code, build integrity, and release pipeline exposure.
Vendor-released patch: 2026.2, 2026.1.4, and 2025.11.8. Until upgraded, restrict P4 Code Review integration access to trusted users and limit build submission privileges.
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-129678
GHSA-7jwh-3rc8-58q4
NVD
CVE.org
EPSS
VulDB
Exploit-DB