Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2025-54531

CVE-2025-54531: JetBrains TeamCity Path Traversal Flaw

CVE-2025-54531 is a path traversal vulnerability in JetBrains TeamCity affecting Windows systems through plugin unpacking. This article covers technical details, affected versions, security impact, and mitigation.

Published: March 24, 2026

CVE-2025-54531 Overview

CVE-2025-54531 is a critical path traversal vulnerability affecting JetBrains TeamCity on Windows systems. The vulnerability exists in the plugin unpacking mechanism, allowing attackers to write files to arbitrary locations outside the intended directory during plugin extraction. This flaw can be exploited remotely without authentication, potentially leading to complete compromise of the TeamCity server and connected build infrastructure.

Critical Impact

Unauthenticated remote attackers can exploit this path traversal vulnerability to write arbitrary files to the TeamCity server, potentially achieving remote code execution and compromising the entire CI/CD pipeline infrastructure.

Affected Products

  • JetBrains TeamCity versions before 2025.07
  • JetBrains TeamCity installations running on Windows operating systems
  • TeamCity servers with plugin upload functionality enabled

Discovery Timeline

  • 2025-07-28 - CVE-2025-54531 published to NVD
  • 2025-07-31 - Last updated in NVD database

Technical Details for CVE-2025-54531

Vulnerability Analysis

This vulnerability is classified under CWE-23 (Relative Path Traversal), a weakness where the application fails to properly sanitize file paths during archive extraction operations. In the context of TeamCity, when a plugin archive is uploaded and unpacked, the extraction routine does not adequately validate file paths contained within the archive. Maliciously crafted plugin packages can include files with path traversal sequences that escape the designated plugin directory.

On Windows systems, the vulnerability is particularly impactful due to the operating system's file path handling characteristics. An attacker can craft a malicious plugin archive containing files with paths such as ..\..\..\..\path\to\target that, when extracted, write files to locations outside the plugin directory. This could include sensitive system directories, TeamCity configuration files, or executable locations that would be run by the TeamCity service.

Root Cause

The root cause of CVE-2025-54531 lies in insufficient input validation within the plugin unpacking functionality. When TeamCity processes plugin archives, the extraction logic fails to normalize and validate file paths before writing files to disk. The lack of proper path canonicalization allows archive entries containing relative path components (such as .. or ..\) to traverse outside the intended extraction directory.

This type of vulnerability, commonly known as "Zip Slip," occurs when archive extraction routines trust the file paths embedded in archive entries without verifying that the resolved destination path remains within the expected target directory.

Attack Vector

The attack is conducted over the network and requires no prior authentication or user interaction. An attacker can exploit this vulnerability by uploading a specially crafted plugin archive to the TeamCity server. The malicious archive contains entries with path traversal sequences in their filenames.

When TeamCity processes the uploaded plugin, it extracts the archive contents without properly sanitizing the embedded file paths. The path traversal sequences cause files to be written to arbitrary locations on the Windows file system, constrained only by the permissions of the TeamCity service account.

Potential attack scenarios include:

  • Overwriting TeamCity configuration files to modify server behavior
  • Writing malicious executables or scripts to directories in the system PATH
  • Deploying web shells to accessible web directories
  • Replacing legitimate binaries with malicious versions to achieve code execution on service restart

Detection Methods for CVE-2025-54531

Indicators of Compromise

  • Unexpected files appearing outside the TeamCity plugin directories, particularly in system directories or web-accessible locations
  • Plugin upload events in TeamCity logs immediately preceding suspicious file system activity
  • Files with unusual naming patterns or timestamps in critical system directories
  • Unauthorized modifications to TeamCity configuration files or executables

Detection Strategies

  • Monitor file system activity on TeamCity servers for write operations to directories outside the plugin installation path
  • Implement file integrity monitoring (FIM) on critical system directories and TeamCity installation folders
  • Review TeamCity audit logs for unusual plugin upload activity, especially from unexpected IP addresses
  • Deploy endpoint detection solutions to identify path traversal attack patterns in archive extraction operations
  • Configure alerts for the creation of executable files in sensitive directories by the TeamCity process

Monitoring Recommendations

  • Enable comprehensive audit logging for file system operations on the TeamCity server
  • Set up real-time alerts for any file modifications in the TeamCity bin, conf, and webapps directories
  • Monitor network traffic for plugin upload requests from unauthorized sources
  • Implement centralized log collection and analysis to correlate plugin uploads with subsequent suspicious activity

How to Mitigate CVE-2025-54531

Immediate Actions Required

  • Upgrade JetBrains TeamCity to version 2025.07 or later immediately
  • Restrict plugin upload permissions to trusted administrators only
  • Review recently uploaded plugins for any suspicious content
  • Conduct a file system audit to identify any files written outside expected directories
  • Consider temporarily disabling plugin upload functionality until the patch is applied

Patch Information

JetBrains has released TeamCity version 2025.07 which addresses this path traversal vulnerability. Organizations should update their TeamCity installations as soon as possible. Detailed information about security issues fixed in TeamCity releases is available from the JetBrains Security Issues Fixed advisory page.

Workarounds

  • Implement strict network segmentation to limit access to the TeamCity server from untrusted networks
  • Configure a web application firewall (WAF) to inspect and block requests containing path traversal patterns
  • Restrict plugin upload functionality to only trusted internal administrators via TeamCity's role-based access control
  • Deploy file integrity monitoring on the TeamCity server to detect unauthorized file modifications
  • Run TeamCity under a dedicated service account with minimal file system permissions
bash
# Restrict TeamCity service account permissions on Windows
# Run in PowerShell as Administrator

# Remove write permissions to sensitive directories
icacls "C:\Windows\System32" /deny "TeamCityServiceAccount:(W)"
icacls "C:\Program Files" /deny "TeamCityServiceAccount:(W)"

# Verify TeamCity installation permissions are properly scoped
icacls "C:\TeamCity" /T /Q

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypePath Traversal

  • Vendor/TechJetbrains Teamcity

  • SeverityCRITICAL

  • CVSS Score9.4

  • EPSS Probability0.00%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityLow
  • CWE References
  • CWE-23
  • Vendor Resources
  • JetBrains Security Issues Fixed
  • Related CVEs
  • CVE-2024-27199: JetBrains TeamCity Path Traversal Flaw

  • CVE-2025-46433: JetBrains TeamCity Path Traversal Flaw

  • CVE-2026-28196: JetBrains TeamCity Info Disclosure Flaw

  • CVE-2026-28195: JetBrains TeamCity Auth Bypass Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English