CVE-2026-49381: JetBrains TeamCity stored XSS on SAML login page

CVE-2026-49381 · Severity: low · CVSS 3.4 · Published 2026-05-29

JetBrains TeamCity, a popular continuous integration and deployment server, is affected by a security vulnerability on its SAML login page. An attacker with high-level administrative privileges could inject malicious scripts that execute in the browsers of other users when they visit the login page. While the risk is rated as low, this could potentially be used to capture sensitive session information or perform unauthorized actions on behalf of other users.

Technologies: Jetbrains TeamCity. Vendors: Jetbrains.

Quick answers

Is CVE-2026-49381 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-49381 being exploited in the wild.
How severe is CVE-2026-49381?
Low severity, with a CVSS score of 3.4, published 29 May 2026.
Which products and versions are affected?
Jetbrains TeamCity Before 2026.1.
Is there a fix for CVE-2026-49381?
A patch was published on 2026-05-29: Fixed in version 2026.1. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2026-49381 attacked?
It is attacked over the network, in a network appliance.
Am I affected by CVE-2026-49381?
Check whether you run Jetbrains TeamCity at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

A stored cross-site scripting (XSS) vulnerability exists in JetBrains TeamCity versions prior to 2026.1 within the SAML authentication component. The flaw is classified as CWE-79, resulting from improper neutralization of input during web page generation on the SAML login page. An attacker with high privileges (PR:H) can inject malicious scripts that are subsequently served to other users. Exploitation requires a victim to interact with the affected page (UI:R). The vulnerability has been addressed in TeamCity version 2026.1.

Affected products

  • JetBrains TeamCity Before 2026.1

Timeline

  • 2026-05-29: advisory: Initial disclosure by JetBrains and NVD publication.
  • 2026-05-29: patched: Fixed in version 2026.1.

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.