JetBrains TeamCity CVE-2025-67742
HIGHAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach TeamCity upload endpoint
-
DeliverySubmit file with path traversal sequence
-
ExploitEscape intended upload directory
-
ExecutionAccess sensitive server files
-
ImpactDisclose confidential data
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires reaching TeamCity's file-upload functionality on a server running a version before 2025.11. The scored vector marks PR:N (unauthenticated), but file-upload endpoints in TeamCity are generally available only to authenticated users, so in practice a valid account/session is the likely realistic prerequisite - this discrepancy should be confirmed with JetBrains. Limiting factors: the flaw yields confidentiality impact only (no integrity/availability per C:H/I:N/A:N), no public exploit exists, and exploitation depends on the specific upload endpoint being exposed and the traversal-vulnerable code path being reachable in the deployed version. |
| Impact | Signals are moderate and partially conflicting. The NVD CVSS 3.1 base of 7.5 (AV:N/AC:L/PR:N/UI:N/C:H/I:N/A:N) frames this as a remotely reachable, confidentiality-only information-disclosure flaw with no integrity or availability impact. However, EPSS is low at 0.80% (55th percentile), there is no CISA KEV listing, and no public exploit code was identified at time of analysis, so this is not currently an actively exploited or mass-weaponized issue. The most important tension: the vector claims PR:N (unauthenticated) and I:N, yet the root cause is a path traversal 'via file upload' in a CI/CD server where upload endpoints are normally gated behind authentication, and file-upload traversal commonly yields file WRITE (integrity) rather than pure read. This suggests the scored vector may understate the privilege prerequisite (PR:N likely should be PR:L) and possibly misclassify impact - verify with JetBrains. Net: treat as a real but moderate-priority patching item (reachable network service, confidentiality impact on a sensitive build server), not a drop-everything emergency, pending clarification of auth and impact scope. |
| Exploit ScenarioDerived | An attacker with network reachability to a TeamCity server (and, realistically, a valid session since file-upload endpoints are typically authenticated) submits a file upload whose path contains traversal sequences, causing the server to read or place a file outside the intended directory and expose sensitive server-side files such as configuration or credentials. Because AC:L, exploitation is technically simple once the endpoint is reached, but no public proof-of-concept exists at time of analysis. Realistic impact is disclosure of confidential build-system data per the scored C:H/I:N/A:N vector. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 07, 2026
Path traversal in JetBrains TeamCity's file-upload handling, affecting versions before 2025.11, lets an attacker supply crafted path sequences to read files outside the intended upload location, exposing sensitive server-side data (C:H/I:N/A:N). The vendor-scored CVSS 3.1 base is 7.5 (AV:N/AC:L/PR:N/UI:N), but our independent assessment flags a discrepancy: the scored vector is unauthenticated (PR:N) while TeamCity's file-upload functionality is generally restricted to authenticated users, so a valid session is the realistic prerequisite and the effective score may be inflated. Exploitation is not confirmed actively exploited (no CISA KEV), no public exploit code exists, and EPSS is low at 0.80% (55th percentile), making near-term risk moderate and largely contingent on whether the vulnerable upload endpoint is reachable.
RemediationAI
Vendor-released patch: upgrade JetBrains TeamCity to 2025.11 or later, which contains the fix for the file-upload path traversal; confirm details on JetBrains' advisory page (https://www.jetbrains.com/privacy-security/issues-fixed/) and in the 2025.11 release notes before scheduling maintenance. Until upgrading, reduce exposure by placing the TeamCity server behind a firewall or VPN so the upload endpoint is not reachable from untrusted networks - the trade-off is that remote build agents and developer workstations outside the trusted network lose connectivity and will need tunneled or proxied access. Enforce strong authentication and least-privilege service accounts on the server, since the practical attack path most likely requires a valid session even though the vendor vector is PR:N - the trade-off is operational overhead and possible resistance from teams using shared build accounts. Keep the server off the public internet where possible, which also mitigates other pre-auth risks. Review server logs and audit trails for crafted filenames or path sequences in upload requests, monitor for unexpected reads of configuration, credential, or build-data files, and rotate any secrets that may have been exposed until triage is complete. Treat uploaded content from untrusted users as hostile, and if the specific upload feature can be disabled without breaking build workflows, consider doing so as a stopgap; disabling it will break integrations that depend on it.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
CWE-22 (Improper Limitation of a Pathname to a Restricted Directory, i.e. path traversal) in JetBrains TeamCity's file-upload functionality: the upload handler constructs a destination path from user-controlled input without adequate canonicalization or validation against the intended directory, so sequences such as ../ can escape the upload root. The affected CPE (cpe:2.3:a:jetbrains:teamcity:*:*:*:*:*:*:*:*), constrained to versions before 2025.11, indicates the flaw affects the TeamCity server product broadly, a CI/CD control plane commonly deployed with access to source code, build credentials, and deployment secrets, which raises the value of any arbitrary file read. The CVSS vector's C:H/I:N/A:N indicates the traversal yields disclosure of file contents only, with no integrity or availability impact, yet the attack is network-vectored and low-complexity with no user interaction, which is why it scores 7.5 despite the read-only impact. Note the scoring discrepancy between the vendor vector (PR:N) and our assessment (PR:L), which aligns with TeamCity's usual authentication requirements for upload endpoints; the precise vulnerable code path and whether any upload endpoint is actually reachable without a session should be confirmed with JetBrains.
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
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
File-upload endpoints in TeamCity are normally authenticated, so PR:L rather than PR:N; network-reachable and low-complexity, with confidentiality-only impact per the described disclosure.
Primary rating from NVD.
CVSS VectorNVD
DescriptionNVD
In JetBrains TeamCity before 2025.11 path traversal was possible via file upload
Executive ViewAI
JetBrains TeamCity deployments running versions prior to 2025.11 are affected by a high-severity file-disclosure issue that could expose sensitive server-side data to an attacker who can reach the upload function. Because TeamCity typically orchestrates builds and deployments, leaked credentials or configuration data could enable broader compromise of connected systems and intellectual property, so leadership should care about exposure and data sensitivity. No public exploit identified at time of analysis and EPSS is low, making near-term exploitation less likely, but the lack of a vendor-released patch means mitigation and monitoring are required until a fix or upgrade is validated.
No vendor-released patch identified at time of analysis; interim mitigations include restricting or disabling the TeamCity file-upload function, enforcing authentication and least privilege where upload is required, deploying WAF rules to block path traversal patterns, network-segmenting TeamCity, monitoring logs for file-read anomalies, and applying vendor mitigations as they become available.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
Malicious file upload attacks exploit insufficient validation when web applications accept user-provided files.
Affected Products (CPE)NVD
Path traversal in JetBrains TeamCity before 2023.11.4 enables remote attackers to perform a limited set of administrativ
Remote code execution in JetBrains TeamCity before 2026.1.3 and 2025.11.7 allows unauthenticated attackers to execute ar
In JetBrains TeamCity before 2023.11.4 authentication bypass allowing to perform admin actions was possible. Rated criti
In JetBrains TeamCity before 2023.05.4 authentication bypass leading to RCE on TeamCity Server was possible. Rated criti
In JetBrains TeamCity before 2023.11.3 authentication bypass leading to RCE was possible. Rated critical severity (CVSS
Remote code execution in JetBrains TeamCity before 2026.1.2 and 2025.11.6 allows an attacker to escape the Kotlin DSL sa
Sandbox escape in JetBrains TeamCity's Kotlin DSL configuration mechanism allows an attacker who can supply or modify ve
JetBrains TeamCity versions prior to 2026.2, 2026.1.4, and 2025.11.8 contain a flaw in the password reset mechanism that
Remote code execution affects JetBrains TeamCity releases older than 2026.2, 2026.1.4, and 2025.11.8, where a type-white
In JetBrains TeamCity before 2024.07 access tokens could continue working after deletion or expiration. Rated critical s
In JetBrains TeamCity before 2022.04.7, 2022.10.6, 2023.05.6, 2023.11.5 authentication bypass was possible in specific e
In JetBrains TeamCity before 2023.05 bypass of permission checks allowing to perform admin actions was possible. Rated c
NVD
CVE.org
EPSS
GitHub PoC
Exploit-DB