CVE-2025-57732

7.5

JetBrains · TeamCity

JetBrains TeamCity versions prior to 2025.07.1 are susceptible to a privilege escalation vulnerability caused by incorrect directory ownership.

Executive summary

A privilege escalation vulnerability in JetBrains TeamCity, tracked as CVE-2025-57732, allows a local authenticated attacker to gain unauthorized elevated permissions.

Vulnerability

This vulnerability involves an improper implementation of directory permissions, categorized as CWE-282 (Improper Ownership Management). An authenticated local user can exploit this flaw to escalate privileges within the application environment.

Business impact

The exploitation of this vulnerability could lead to a complete compromise of the TeamCity build server, allowing an attacker to manipulate build pipelines, access sensitive source code, or steal deployment credentials. With a CVSS score of 7.5, this high-severity flaw represents a significant risk to the integrity and confidentiality of the software development lifecycle.

Remediation

Immediate Action: Update JetBrains TeamCity to version 2025.07.1 or later as specified in the official vendor security advisory.

Proactive Monitoring: Audit system logs for unexpected modifications to directory ownership or unauthorized attempts to access restricted configuration files.

Compensating Controls: Ensure that the TeamCity service runs under a dedicated, least-privileged service account to limit the potential impact of local privilege escalation.

Exploitation status

Public Exploit Available: Unknown

Analyst recommendation

Given the potential for full system compromise within the CI/CD pipeline, organizations should prioritize patching affected TeamCity instances. Verify that the update to version 2025.07.1 is successfully applied across all build agents and server nodes to neutralize the risk of unauthorized privilege escalation.

More JetBrains CVEs

Sources