# CVE-2026-65907: JetBrains TeamCity code execution in Git VCS roots

Source: https://junglewise.ai/threats/cve-2026-65907-jetbrains-teamcity-code-execution-in-git-vcs-roots  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-07-23. Updated: 2026-07-23  
License: CC BY 4.0 with a link back

CVE-2026-65907 · Severity: critical · CVSS 9.1 · Published 2026-07-23

JetBrains TeamCity, a continuous integration and deployment server used to automate software building and testing, contains a vulnerability that could allow an attacker to execute malicious code. By exploiting the way the system handles Git repository connections, an attacker could gain full control over the build server. This could lead to the theft of source code, intellectual property, or the compromise of the entire software delivery pipeline.

Technologies: [Jetbrains TeamCity](https://junglewise.ai/threats/technologies/teamcity). Vendors: [Jetbrains](https://junglewise.ai/threats/vendors/jetbrains).

## Quick answers

**Is CVE-2026-65907 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-65907 being exploited in the wild.

**How severe is CVE-2026-65907?** Critical severity, with a CVSS score of 9.1, published 23 July 2026.

**Which products and versions are affected?** Jetbrains TeamCity before 2026.1.2, 2025.11.6.

**Is there a fix for CVE-2026-65907?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2026-65907 attacked?** It is attacked over the network, in a network appliance.

**Am I affected by CVE-2026-65907?** 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 code injection vulnerability (CWE-94) exists in JetBrains TeamCity's Git Version Control System (VCS) root configuration. The flaw allows an attacker with high-level administrative privileges to execute arbitrary code on the TeamCity server by manipulating Git VCS root settings. The vulnerability is reachable over the network without user interaction, though it requires 'High' privileges (PR:H). Successful exploitation results in a scope change (S:C), potentially allowing the attacker to move beyond the TeamCity application to the underlying host system. The issue is fixed in versions 2026.1.2 and 2025.11.6.

## Affected products

- JetBrains TeamCity before 2026.1.2, 2025.11.6

## Timeline

- 2026-07-23: disclosed
- 2026-07-23: advisory

## References

- [https://www.jetbrains.com/privacy-security/issues-fixed/](https://www.jetbrains.com/privacy-security/issues-fixed/)

## Related threats

- [JetBrains TeamCity stored XSS in classic build log](https://junglewise.ai/threats/cve-2026-111096-in-jetbrains-teamcity-before-2026-2-2026-1-4-2025-11-8-stored)
- [JetBrains TeamCity stored XSS in project overview](https://junglewise.ai/threats/cve-2026-111095-in-jetbrains-teamcity-before-2026-2-2026-1-4-2025-11-8-stored)
- [JetBrains TeamCity remote code execution in build messages protocol](https://junglewise.ai/threats/cve-2026-111094-in-jetbrains-teamcity-before-2026-2-2026-1-4-2025-11-8-remote)
- [JetBrains TeamCity Git submodule URL validation bypass](https://junglewise.ai/threats/cve-2026-106219-in-jetbrains-teamcity-before-2026-2-1-missing-validation-of-git)
- [JetBrains TeamCity Kotlin DSL sandbox escape RCE](https://junglewise.ai/threats/cve-2026-106218-in-jetbrains-teamcity-before-2026-1-3-2025-11-7-kotlin-dsl)
