A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
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-59457

CVE-2025-59457: JetBrains TeamCity Info Disclosure Flaw

CVE-2025-59457 is an information disclosure vulnerability in JetBrains TeamCity that allows credential leakage through missing Git URL validation on Windows. This article covers technical details, affected versions, and mitigation.

Published: May 26, 2026

CVE-2025-59457 Overview

CVE-2025-59457 affects JetBrains TeamCity versions prior to 2025.07.2. The vulnerability stems from missing Git URL validation, which allows credential leakage on Windows hosts. An authenticated attacker with low privileges can supply a crafted Git URL that causes TeamCity to leak stored credentials during repository operations. JetBrains tracks the issue in its public security bulletin and shipped a fix in 2025.07.2.

Critical Impact

Authenticated attackers with project-level access can exfiltrate Git credentials stored in TeamCity, enabling lateral movement into source code repositories and downstream CI/CD systems.

Affected Products

  • JetBrains TeamCity versions before 2025.07.2 running on Windows
  • TeamCity build agents and server components handling Git VCS roots
  • CI/CD pipelines using stored Git credentials within affected TeamCity instances

Discovery Timeline

  • 2025-09-17 - CVE-2025-59457 published to NVD
  • 2025-09-22 - Last updated in NVD database

Technical Details for CVE-2025-59457

Vulnerability Analysis

The flaw is classified under [CWE-183] (Permissive List of Allowed Inputs). TeamCity accepts Git repository URLs without validating their structure or scheme before passing them to the Git client on Windows. The Git client interprets specially crafted URL components as local paths, UNC paths, or helper invocations, causing it to expose credentials configured for the VCS root.

The attack requires network access to the TeamCity server and authenticated access with permission to configure or modify a VCS root. No user interaction is required. Successful exploitation results in disclosure of sensitive credentials without affecting integrity or availability of the TeamCity service itself. The scope is changed because credentials issued to TeamCity grant access to external Git hosting providers.

Root Cause

TeamCity fails to enforce an allowlist of acceptable URL schemes and path formats for Git VCS roots on Windows. Git on Windows supports several URL handling behaviors, including credential helper invocation and filesystem path resolution, that an attacker can abuse when the application does not sanitize input.

Attack Vector

An attacker with project administrator or VCS root configuration rights submits a malicious Git URL when creating or editing a VCS root. When TeamCity executes a Git operation such as fetch or clone on the Windows agent or server, the Git process resolves the crafted URL and writes or transmits the stored credentials to a location the attacker controls.

No verified public proof-of-concept code is available. Refer to the JetBrains Security Issues Fixed advisory for vendor-confirmed technical details.

Detection Methods for CVE-2025-59457

Indicators of Compromise

  • Unexpected modifications to VCS root configurations referencing unusual URL schemes, UNC paths (\\host\share), or local filesystem paths
  • Git process execution on TeamCity Windows hosts spawning credential helper binaries from non-standard locations
  • Outbound network connections from TeamCity agents to hosts not associated with configured Git providers

Detection Strategies

  • Audit TeamCity configuration history for VCS root URL changes made by non-administrative users since deployment of affected versions
  • Inspect TeamCity server and agent logs for Git command invocations containing URL parameters with embedded shell metacharacters or non-HTTPS schemes
  • Correlate authentication events on connected Git hosting providers with TeamCity activity to identify unauthorized credential use

Monitoring Recommendations

  • Enable verbose audit logging for VCS root creation, modification, and credential assignment events
  • Forward TeamCity audit and build logs to a centralized SIEM and alert on anomalous Git URL patterns
  • Monitor egress traffic from CI/CD infrastructure for connections to unfamiliar destinations during build operations

How to Mitigate CVE-2025-59457

Immediate Actions Required

  • Upgrade JetBrains TeamCity to version 2025.07.2 or later on all Windows-based servers and agents
  • Rotate all Git credentials and access tokens stored in TeamCity VCS roots, treating them as potentially exposed
  • Review and restrict project administrator and VCS root configuration permissions to the minimum required user set

Patch Information

JetBrains released the fix in TeamCity 2025.07.2. The vendor advisory and remediation guidance are published at the JetBrains Security Issues Fixed page. Apply the update through the standard TeamCity upgrade procedure, ensuring both server and connected build agents are running patched versions.

Workarounds

  • Restrict VCS root configuration privileges to a small group of trusted administrators until patching is complete
  • Replace long-lived Git credentials with short-lived tokens scoped to specific repositories to limit the impact of leakage
  • Audit existing VCS roots and remove or recreate any with suspicious URL configurations
bash
# Verify TeamCity server version after upgrade
curl -s -u <admin>:<token> https://teamcity.example.com/app/rest/server | grep version

# Expected output should show version 2025.07.2 or later

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

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechJetbrains Teamcity

  • SeverityHIGH

  • CVSS Score7.7

  • EPSS Probability0.00%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-183
  • Vendor Resources
  • JetBrains Security Issues Fixed
  • Related CVEs
  • CVE-2026-49377: JetBrains TeamCity Data Exposure Vulnerability

  • CVE-2026-49378: JetBrains TeamCity Information Disclosure

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

  • CVE-2026-28196: JetBrains TeamCity Info Disclosure Flaw
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today 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