Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as privileged TeamCity user
-
DeliveryInject script into SSH Agent key chooser
-
ExploitPayload stored in build configuration
-
ExecutionVictim opens affected page
-
ImpactScript executes in victim browser context
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 a high-privilege authenticated TeamCity user (PR:H) who can configure a build's SSH Agent build feature and inject a payload into its key chooser field, and it additionally requires a second user to view the affected page (UI:R) for the stored script to fire. This is not a default-configuration remote attack: it depends on the attacker already holding privileges sufficient to edit build feature configuration, which limits the realistic threat to malicious insiders or compromised privileged accounts. The SSH Agent build feature must be in use for the injected key-chooser payload to be reached by a victim. |
| Impact | This is a low-to-moderate priority issue (CVSS 4.8, Medium), not an urgent one, and the signals are internally consistent rather than conflicting. The CVSS vector CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N describes a stored cross-site scripting flaw that is network-reachable but requires high privileges (PR:H) - an attacker who can already configure a build's SSH Agent feature - plus victim interaction (UI:R), yielding only low confidentiality and integrity impact with a scope change (S:C) reflecting script execution in another user's browser context. No EPSS score, KEV listing, or exploit/PoC reference is present in the input, so there is no public exploit identified at time of analysis and no evidence of active or automatable exploitation. The vuln.today decision label is 'this_month', which aligns with patch-in-a-normal-cycle rather than emergency handling. The principal limiting factor is the PR:H prerequisite: the attacker must already be a privileged, authenticated TeamCity user, which sharply narrows the realistic threat to insiders or holders of compromised privileged accounts. The single reference is a generic JetBrains security page, not a CVE-specific advisory, so independent corroboration of fixed versions beyond the description is limited. |
| Exploit ScenarioDerived | A privileged authenticated TeamCity user who can edit a build configuration injects a malicious script payload via the SSH Agent build feature's key chooser, which is stored persistently. When another user (for example an administrator reviewing the configuration) later views the affected page, the stored script executes in their browser session. No public exploit code is identified at time of analysis. |
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 SSH Agent build feature key chooser of JetBrains TeamCity allows a high-privilege authenticated user to persist script content that executes in another user's browser session when the affected configuration page is viewed. Fixed in TeamCity 2026.2, 2026.1.4 and 2025.11.8, so all earlier builds in those release lines are affected, and the SSH Agent build feature must be in use for the injected payload to be reached. Realistic exposure is limited to malicious insiders or compromised privileged accounts, since the attacker must already hold rights to edit build feature configuration; no public exploit has been identified at time of analysis (CVSS 4.8, Medium, priority 'this_month').
RemediationAI
Upgrade to TeamCity 2026.2, 2026.1.4 or 2025.11.8 - the vendor-released patch versions for the respective release lines - as documented on the JetBrains fixed-issues page at https://www.jetbrains.com/privacy-security/issues-fixed/. Because exploitation requires the ability to edit build feature configuration, restrict and review who holds administrative and project-administrator rights in TeamCity, and audit SSH Agent build features for unexpected entries in the key chooser field, treating this as containment for malicious-insider or compromised-account scenarios rather than a substitute for patching.
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 TeamCity's SSH Agent build feature, specifically in the key chooser UI used when configuring that feature. Because the payload is stored rather than reflected, it persists in build configuration data and is rendered to subsequent viewers: the assessed vector (CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N) reflects network reachability, low attack complexity, high privileges required, user interaction from a second victim, and a scope change, with limited confidentiality and integrity impact. The trigger mechanics beyond the key chooser input path are not described in the available sources, and the scope change indicates the injected script runs in the context of the TeamCity web UI beyond the attacker's own privileges. The affected product identifier is cpe:2.3:a:jetbrains:teamcity, with no version constraints enumerated in the CPE string itself.
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:L/I:L/A:N
Stored XSS requires a privileged user to inject payload (PR:H) and a victim to render it (UI:R); scope changes to the victim's browser (S:C) with low C/I and no availability impact.
Primary rating from Vendor (JetBrains).
CVSS VectorVendor: JetBrains
Lifecycle Timeline
1DescriptionCVE.org
In JetBrains TeamCity before 2026.2, 2026.1.4, 2025.11.8 stored XSS in the SSH Agent build feature key chooser 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-129688
GHSA-c648-jxhm-57vm
NVD
CVE.org
EPSS
VulDB
Exploit-DB