Skip to main content

JetBrains TeamCity EUVDEUVD-2026-33389

| CVE-2026-49381 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-05-29 JetBrains GHSA-mhr7-j6qx-58mw
4.8
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Attacker authenticates as TeamCity admin
  2. Delivery
    Injects stored XSS payload into SAML login page config
  3. Exploit
    Victim user navigates to SAML login page
  4. Execution
    Malicious script executes in victim's browser
  5. Impact
    Limited data (e.g., session context) exfiltrated to attacker

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 that the attacker hold high-privilege (admin-level) access to the TeamCity instance, as confirmed by the CVSS PR:H vector. The victim must subsequently visit the SAML login page (UI:R), meaning the SAML SSO feature must be configured and in use. Exploitation is not possible against default TeamCity installations where SAML is not enabled, and is not achievable by unauthenticated or low-privilege users. The limiting factors - admin-level pre-authentication and required victim interaction - significantly constrain real-world exploitability.

Impact

The CVSS score of 3.4 (Low) accurately reflects the constrained real-world impact: PR:H means the attacker must already hold high-privilege (administrator-level) access to TeamCity to inject the payload, which severely limits the exploitable population. UI:R further requires a victim to visit the SAML login page, adding another prerequisite. The scope change (S:C) with C:L indicates potential to exfiltrate limited data - such as browser context or session tokens - from affected users' browsers, but integrity and availability are unimpacted. No EPSS score was provided in the intelligence, and there is no KEV listing or known POC, suggesting no public or active exploitation at time of writing. The practical risk is low: an admin who can inject XSS on the login page likely already has more direct attack paths within TeamCity. The primary realistic threat model is insider abuse or a compromised admin account being leveraged to persist a credential-harvesting payload targeting other users.

Exploit ScenarioDerived

A threat actor with administrative access to a TeamCity instance - whether via a compromised admin credential or a malicious insider - injects a stored JavaScript payload into the SAML login page configuration. Any user who subsequently visits the SAML login page has the script execute in their browser, potentially exfiltrating session tokens or browser-accessible data back to the attacker. No public proof-of-concept exploit has been identified at time of analysis.

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

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

Alert me

AnalysisAIv1 – May 29, 2026

Stored cross-site scripting in JetBrains TeamCity's SAML login page allows a high-privileged attacker to inject persistent malicious scripts that execute in victims' browsers upon visiting the login page. All TeamCity versions prior to 2026.1 are affected. The changed scope (S:C) in the CVSS vector indicates the injected payload can affect browser sessions beyond the immediate component, though confidentiality impact is rated low and no integrity or availability loss is assessed. No public exploit code and no CISA KEV listing have been identified at time of analysis.

RemediationAI

Upgrade JetBrains TeamCity to version 2026.1 or later, which contains the vendor-released patch for this stored XSS on the SAML login page. The fix is confirmed by JetBrains at https://www.jetbrains.com/privacy-security/issues-fixed/. As a compensating control for organizations unable to patch immediately, restricting admin-level access to the minimum necessary set of trusted accounts reduces the attacker surface significantly, since exploitation requires PR:H (high privileges). Additionally, if SAML SSO is not in active use, disabling the SAML login page configuration eliminates exposure entirely for that deployment, though this would impact SSO-dependent users. Organizations should audit admin account activity for any unexpected changes to SAML-related configuration.

Affected VersionsENISA

TeamCity 0 <2026.1

Affected Packages

euvd teamcity fix: 2026.1

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 vulnerability is classified under CWE-79 (Improper Neutralization of Input During Web Page Generation - Cross-site Scripting), specifically the stored (persistent) variant. JetBrains TeamCity is a CI/CD platform; its SAML login page facilitates federated authentication via Security Assertion Markup Language, commonly used in enterprise SSO configurations. The affected CPE is cpe:2.3:a:jetbrains:teamcity:*:*:*:*:*:*:*:*, encompassing all platform variants before 2026.1. Stored XSS on an authentication page is particularly sensitive because the login page is visited by all users relying on SAML SSO, and injected payloads persist server-side, executing for every subsequent visitor without further attacker interaction after initial injection.

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

NVD PRIMARY 4.8 MEDIUM
AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

Lifecycle Timeline

3
Severity Changed
Jul 22, 2026 - 06:22 NVD
LOW MEDIUM
CVSS changed
Jul 22, 2026 - 06:22 NVD
3.4 (LOW) 4.8 (MEDIUM)
Patch available
May 29, 2026 - 20:02 EUVD

DescriptionNVD

In JetBrains TeamCity before 2026.1 stored XSS on the SAML login page was possible

Threat Intelligence Overview

EPSS Score
0.0%
Top 97% exploitable
Data Quality
6 sources
Confidence: High

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.0%
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· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

24
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +24
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