CVE-2025-67742
JetBrains TeamCity vulnerability analysis and mitigation

Overview

CVE-2025-67742 is a path traversal vulnerability in JetBrains TeamCity that allows exploitation via the file upload functionality. It affects all versions of JetBrains TeamCity before 2025.11. The vulnerability was published on December 11, 2025, with a patch available in TeamCity 2025.11. It carries a CVSS v3.1 base score of 7.5 (High) per NVD scoring, though ENISA's assessment scores it at 3.8 under a different vector reflecting high-privilege requirements (JetBrains Advisory, Red Hat CVE).

Technical details

The vulnerability is classified as CWE-22 (Improper Limitation of a Pathname to a Restricted Directory — 'Path Traversal'). It arises from insufficient validation of file paths during file upload operations in TeamCity, allowing an attacker to craft upload requests that write files outside of the intended directory boundaries. Exploitation patterns associated with this class of vulnerability include using encoded slashes, alternate path encodings, or directory traversal sequences (e.g., ../) in filenames or upload parameters to escape the restricted upload directory (CAPEC-126, CAPEC-64, CAPEC-78). The ENISA advisory notes that exploitation requires high-privilege authentication, suggesting the vulnerable upload endpoint is accessible only to administrative or similarly privileged users (JetBrains Advisory, Red Hat CVE).

Impact

Successful exploitation by a high-privileged authenticated user could result in unauthorized file placement outside intended directories on the TeamCity server, potentially enabling modification of server configuration files, deployment of malicious scripts, or overwriting of sensitive files. The confidentiality impact is rated High under NVD's scoring, suggesting potential for reading files outside the intended scope. However, integrity and availability impacts are rated None in the NVD vector, and the overall risk is considered limited due to the high-privilege prerequisite (Red Hat CVE, JetBrains Advisory).

Exploitability

There is no public proof-of-concept exploit available, and no evidence of in-the-wild exploitation has been observed as of the time of publication. The EPSS score is extremely low at 0.000020 (approximately 0.002%), reflecting minimal current exploitation probability. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation is further constrained by the requirement for high-privilege authentication, significantly reducing the attack surface (Red Hat CVE).

Mitigation and workarounds

JetBrains has released a fix in TeamCity version 2025.11; upgrading to this version or later is the primary recommended remediation (JetBrains Advisory). As interim mitigations, organizations should limit and audit high-privilege user accounts in TeamCity, implement strict file upload validation and sanitization at the application or WAF layer, and monitor file upload activity for anomalous path patterns. Applying the principle of least privilege to TeamCity user roles will reduce the risk of exploitation.

Community reactions

Coverage of CVE-2025-67742 has been limited, appearing primarily in automated vulnerability tracking feeds and aggregators such as Vulners, VulDB, and CVEFeed. The Secret CISO newsletter briefly referenced the vulnerability in its December 12, 2025 edition alongside other security disclosures. No notable independent researcher commentary or significant community discussion has been identified (Secret CISO).

Additional resources


SourceThis report was generated using AI

Related JetBrains TeamCity vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-65906CRITICAL10
  • JetBrains TeamCity logoJetBrains TeamCity
  • cpe:2.3:a:jetbrains:teamcity
NoYesJul 23, 2026
CVE-2026-63077CRITICAL9.8
  • JetBrains TeamCity logoJetBrains TeamCity
  • cpe:2.3:a:jetbrains:teamcity
YesYesJul 27, 2026
CVE-2026-59796HIGH8.1
  • JetBrains TeamCity logoJetBrains TeamCity
  • cpe:2.3:a:jetbrains:teamcity
NoYesJul 10, 2026
CVE-2026-59795MEDIUM6.1
  • JetBrains TeamCity logoJetBrains TeamCity
  • cpe:2.3:a:jetbrains:teamcity
NoYesJul 10, 2026
CVE-2026-59794MEDIUM5.4
  • JetBrains TeamCity logoJetBrains TeamCity
  • cpe:2.3:a:jetbrains:teamcity
NoYesJul 10, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management