Read the docs

JetBrains TeamCity RCE via Mercurial subrepository paths

Priority MEDIUM 41CWE-23Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA.

Summary

JetBrains TeamCity versions from 2026.2 before 2026.2.1, and versions before 2026.1.5, allow remote code execution through crafted Mercurial subrepository paths. The flaw is classified as CWE-23 (Relative Path Traversal) and has a CVSS 3.1 base score of 8.8 (HIGH). CISA has not added it to KEV, and the references include no exploit link.

Written with Claude Haiku 5.5 from the sources below · 2026-11-25

Description from the CNA

In JetBrains TeamCity before 2026.2.1, 2026.1.5 remote code execution was possible via Mercurial subrepository paths

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00662 46th percentileScored 2026-11-30
Fix Fixed TeamCity (JetBrains): 2026.2.1, 2026.1.5

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
JetBrainsTeamCity2026.2 to before 2026.2.1; before 2026.1.52026.2.1, 2026.1.5Patch availableCNA
  • TeamCity VendorJetBrains Affected 2026.2 to before 2026.2.1; before 2026.1.5 Fixed in 2026.2.1, 2026.1.5 Patch available CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:jetbrains:teamcity:*:*:*:*:*:*:*:*before 2026.1.5; 2026.2 to before 2026.2.1VulnerableJetBrains
  • cpe:2.3:a:jetbrains:teamcity:*:*:*:*:*:*:*:* Versions before 2026.1.5; 2026.2 to before 2026.2.1 Vulnerable ·JetBrains

Remediation

Upgrade TeamCity to version 2026.2.1 or 2026.1.5, depending on the release line in use.

Written with Claude Haiku 5.5 from the sources below · 2026-11-25

  • Fix · CNA TeamCity (JetBrains) Fixed in 2026.2.1, 2026.1.5

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Release ·

    JetBrains TeamCity 2026.1.5, 2026.2.1

    21 records Highest priority Priority MEDIUM 7 MEDIUM, 14 LOW

    Other records, highest priority first

    • TI-2026-94510 Privilege escalation in JetBrains TeamCity token authenticationPriority MEDIUM 41
    • TI-2026-94507 Remote code execution in JetBrains TeamCity via personal buildsPriority MEDIUM 41
    • TI-2026-94502 Remote code execution in JetBrains TeamCity Kotlin DSL sandboxPriority MEDIUM 41

Timeline

  1. 2026-11-19 Threatist record created from CVE-2026-133021
  2. 2026-11-19 Fix available: JetBrains/[email protected], JetBrains/[email protected] · CNA
  3. 2026-11-19 CISA SSVC decision points changed
  4. 2026-11-19 Alias added: GHSA-8g7p-m3jw-4f6p
  5. 2026-11-20 CISA SSVC decision points changed
  6. 2026-11-25 CVSS score added · NVD

References

  • TI-2026-45031 Unauthenticated remote code execution in JetBrains TeamCity KEVCVSS 3.1CRITICAL 9.8
  • TI-2024-18053 Authentication bypass in JetBrains TeamCity allows admin actions KEVCVSS 3.1CRITICAL 9.8
  • TI-2023-22884 Authentication bypass in JetBrains TeamCity enables code execution KEVCVSS 3.1CRITICAL 9.8
  • TI-2024-18054 Path traversal in JetBrains TeamCity allows limited admin actions KEVCVSS 3.1HIGH 7.3
  • TI-2024-15905 In JetBrains TeamCity before 2023.11.3 authentication bypass leading to RCE was possible CVSS 3.1CRITICAL 9.8
  • TI-2015-01192 JetBrains TeamCity 8 and 9 before 9.0.2 allows bypass of account-creation restrictions… CVSS 3.1MEDIUM 6.5
See all 370 →

Sources