Skip to main content

JetBrains TeamCity CVE-2026-59794

| EUVDEUVD-2026-42912 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-07-10 JetBrains GHSA-5526-463r-44x5
5.4
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Register or compromise a build agent
  2. Delivery
    Inject XSS payload into agent-reported data
  3. Exploit
    Payload stored on server
  4. Execution
    Admin opens cloud profile page
  5. Persist
    Script executes in admin's browser session
  6. Impact
    Steal 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

TeamCity 0 <2026.1.2

Affected Packages

euvd teamcity fix: 2026.1.2

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

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

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).

3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/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
Low
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

Lifecycle Timeline

3
Severity Changed
Jul 10, 2026 - 18:52 NVD
HIGH MEDIUM
CVSS changed
Jul 10, 2026 - 18:52 NVD
7.3 (HIGH) 5.4 (MEDIUM)
Patch available
Jul 10, 2026 - 16:16 EUVD

DescriptionNVD

In JetBrains TeamCity before 2026.1.2 stored XSS on the cloud profile page was possible via agent-reported data

Executive ViewAI

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.2%
Top 95% exploitable
Prevalence
High
widely deployed enterprise CI/CD server from a major vendor
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

27
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +27
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

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-2026-106218 CRITICAL
10.0 Oct 06

Sandbox escape in JetBrains TeamCity's Kotlin DSL configuration mechanism allows an attacker who can supply or modify ve

CVE-2026-100255 CRITICAL
9.8 Sep 30

JetBrains TeamCity versions prior to 2026.2, 2026.1.4, and 2025.11.8 contain a flaw in the password reset mechanism that

CVE-2026-111094 CRITICAL
9.8 Oct 15

Remote code execution affects JetBrains TeamCity releases older than 2026.2, 2026.1.4, and 2025.11.8, where a type-white

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

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