CVE-2026-59793: TeamCity Perforce Integration Arbitrary File Access – CVSS 8.8
JetBrains TeamCity versions prior to 2026.1.2 contain a flaw in their Perforce version control system integration that allows authenticated users to access files they should not have permission to read. An attacker with valid TeamCity credentials can exploit this to retrieve sensitive files from the server, potentially including configuration data, source code, or other protected assets. This is a post-authentication vulnerability—the attacker must already have a TeamCity account, but the impact is substantial once inside.
Source data · NVD / CISA · public domain
- CVSS
- 3.1 · 8.8 HIGH · CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Weaknesses (CWE)
- CWE-73
- Affected products
- 1 configuration(s)
- Published / Modified
- 2026-07-10 / 2026-07-14
NVD description (verbatim)
In JetBrains TeamCity before 2026.1.2 arbitrary file access was possible via the Perforce VCS integration
1 reference(s) · View on NVD →
SEC.co analysis · AI-assisted, reviewed against source
Technical summary
CVE-2026-59793 is an arbitrary file access vulnerability in TeamCity's Perforce VCS integration mechanism. The vulnerability is classified under CWE-73 (External Control of File Name or Path), indicating a path traversal or file-handling weakness in the Perforce plugin. The attack vector is network-based and requires low complexity; it demands valid credentials (PR:L) but no user interaction. The CVSS 3.1 score of 8.8 reflects high impact across confidentiality, integrity, and availability, though the availability impact likely stems from the potential to corrupt or delete files rather than cause direct denial of service. The vulnerability exists in the abstraction layer where TeamCity translates user requests into Perforce operations.
Business impact
Compromise of sensitive files stored within or accessible through TeamCity instances poses significant business risk. Attackers could exfiltrate proprietary source code, build artifacts, deployment credentials embedded in configurations, or intellectual property. In regulated environments, unauthorized file access may trigger compliance violations (SOX, HIPAA, PCI-DSS depending on data classification). If integrity is affected—files modified or deleted—build reliability and software supply chain integrity are compromised, potentially resulting in tainted releases or operational downtime. Organizations relying on TeamCity as a central CI/CD hub face elevated risk if this vulnerability remains unpatched.
Affected systems
JetBrains TeamCity versions before 2026.1.2 are affected. All deployment models (cloud-hosted, on-premises) running vulnerable versions are at risk. The vulnerability requires Perforce integration to be configured; TeamCity instances using only Git, SVN, or other VCS providers are unaffected. Any TeamCity instance accessible to authenticated users (including those with minimal permissions) becomes an attack surface.
Exploitability
Exploitability is moderate to high in practice. An attacker must possess valid TeamCity credentials, which is a meaningful barrier but not insurmountable—credentials may be obtained through phishing, insider access, or compromised employee accounts. Once authenticated, the attack requires no special tooling or interaction; a simple API or UI interaction can trigger file access. The attack is deterministic and repeatable. However, the vulnerability is not known to be exploited in the wild (KEV status is false), suggesting either recent discovery or limited public awareness. No active weaponization has been documented.
Remediation
Upgrade TeamCity to version 2026.1.2 or later. This version contains fixes to the Perforce integration that properly restrict file access to authorized paths and users. Before upgrading, identify all TeamCity instances in your environment using Perforce integration and verify compatibility with your Perforce server version. Disable the Perforce integration on non-critical instances if an upgrade timeline extends beyond 30 days. Implement least-privilege access controls within TeamCity to minimize the blast radius of compromised accounts.
Patch guidance
Apply the TeamCity 2026.1.2 security update as soon as practical within your change management process. Verify the update addresses the Perforce integration specifically. Test in a staging environment first to ensure no breaking changes with your Perforce server configuration or existing build pipelines. Monitor JetBrains security advisories for any updates indicating incomplete fixes or related issues. If you are on an older release train (e.g., 2025.x), consult JetBrains documentation to determine the supported upgrade path and any intermediate patch requirements.
Detection guidance
Monitor TeamCity server logs and audit trails for unusual file access patterns, particularly queries targeting sensitive configuration directories, credential stores, or source repository paths outside normal build operations. Inspect Perforce server logs for anomalous read or write operations initiated by TeamCity service accounts, especially access to files not associated with active build jobs. Check for unexpected API calls to the Perforce integration endpoints. If your security monitoring integrates with TeamCity, configure alerts for failed authentication attempts followed by successful logins from the same source. Review TeamCity user account activity before and after July 10, 2026 (publication date) for any suspicious access.
Why prioritize this
HIGH severity (CVSS 8.8) driven by high confidentiality and integrity impact, combined with low attack complexity and authentication-based access vector. While KEV status is false and weaponization is unobserved, the vulnerability is immediately exploitable by any insider or attacker who obtains valid credentials. Organizations with sensitive source code, regulated data, or critical build pipelines should treat this as urgent and prioritize patching within 14 days. Those with mature identity and access controls limiting TeamCity user counts can extend the timeline slightly but should not delay significantly.
Risk score, explained
The 8.8 CVSS score reflects the combination of network accessibility (AV:N), minimal attack prerequisites (AC:L), requirement for valid authentication (PR:L), and comprehensive confidentiality/integrity/availability impact (C:H/I:H/A:H). The authentication requirement prevents casual exploitation and reduces the score from a potential 9.8, but the ease of execution once authenticated and the breadth of potential file access justify the high rating. The lack of scope change (S:U) indicates the impact is confined to the vulnerable component itself, not wider system elevation.
Frequently asked questions
Do we need to patch immediately if we don't use Perforce?
No, but verify your configuration. If your TeamCity instance uses only Git, Subversion, Mercurial, or other non-Perforce VCS providers, this vulnerability does not apply. However, if you have Perforce integration configured but dormant, you should still patch to eliminate the risk if the configuration is ever activated.
Can this vulnerability be exploited without TeamCity user credentials?
No. The vulnerability requires valid authentication (PR:L in the CVSS vector). An attacker must possess legitimate or compromised TeamCity user account credentials to trigger file access. However, TeamCity instances accessible over the network to untrusted users increase risk significantly.
Does the vulnerability affect TeamCity Cloud (SaaS) instances?
JetBrains manages SaaS patching centrally, so TeamCity Cloud instances are expected to be updated automatically. Verify your cloud tenant is running 2026.1.2 or later by checking Administration > About. On-premises instances require manual patching and represent the primary patch responsibility for most organizations.
What should we do if we cannot patch within two weeks?
Immediately restrict TeamCity user accounts to the minimum necessary, disable Perforce integration if not actively required, and implement network segmentation to limit TeamCity access to trusted IP ranges. Enable enhanced logging and alerting on Perforce server access. Monitor the vulnerability closely for any public exploit disclosure or active abuse signals, as delayed patching increases breach risk over time.
This analysis is based on published CVE data as of July 2026 and does not constitute exhaustive security guidance. Organizations should validate patch availability, compatibility, and applicability against their specific TeamCity configurations and Perforce environments. Consult JetBrains official security advisories and vendor documentation for authoritative technical details. SEC.co makes no warranty regarding the completeness or accuracy of derived risk assessments and recommends independent security review before making production decisions. Source: NVD (public-domain), retrieved 2026-08-17. Analysis generated by SEC.co (claude-haiku-4-5).
Related vulnerabilities
- CVE-2026-53915HIGHGoLand Remote Code Execution via Untrusted Project Configuration
- CVE-2025-52465HIGHGeoServer Master Password Plaintext Dump Vulnerability
- CVE-2025-71324HIGHFlowise Unauthenticated Path Traversal & Database Disclosure
- CVE-2026-10303HIGHServerCo getssl ACME Token Validation Flaw Enables Path Traversal
- CVE-2026-10694HIGHRemote File Inclusion in SourceCodester Online Food Ordering System 2.0
- CVE-2026-10816HIGHNetScaler ADC and Gateway Unauthenticated Arbitrary File Read Vulnerability
- CVE-2026-11527HIGHConfig::IniFiles Command Injection and File Overwrite Vulnerability
- CVE-2026-35076HIGHMBS Solutions Gateway Arbitrary File Deletion Vulnerability