Cyber Resilience

CVE-2025-59456

Path Traversal in Jetbrains Teamcity ≤ 2025.07.2

Published
17 September 2025
Modified
22 September 2025
Patch / advisory
CVSS Score v3.1 5.5
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:L
EPSS Score 0.12 96th percentile
Risk Priority 60 floored blend · peak EPSS

Summary

CVE-2025-59456 is a medium-severity Relative Path Traversal (CWE-23) vulnerability in Jetbrains Teamcity. Its CVSS base score is 5.5 (Medium).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked in the top 4% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to AC-3 (Access Enforcement) and SI-10 (Information Input Validation) — see the control section below for these in your framework.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

In JetBrains TeamCity before 2025.07.2 path traversal was possible during project archive upload

CWE(s)

Related Threats

MITRE ATT&CK Enterprise TechniquesAI

T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1505.003 Web Shell Persistence
Adversaries may backdoor web servers with web shells to establish persistent access to systems.
Why these techniques?

Path traversal in project archive upload enables arbitrary file write on the TeamCity server, directly facilitating exploitation of a public-facing application and deployment of web shells.

Confidence: MEDIUM · MITRE ATT&CK Enterprise v19.0

CVEs Like This One

CVE-2025-54531Same product: Jetbrains Teamcity
CVE-2024-24938Same product: Jetbrains Teamcity
CVE-2024-27199Same product: Jetbrains Teamcity
CVE-2024-36362Same product: Jetbrains Teamcity
CVE-2025-46433Same product: Jetbrains Teamcity
CVE-2024-47949Same product: Jetbrains Teamcity
CVE-2024-47948Same product: Jetbrains Teamcity
CVE-2024-24942Same product: Jetbrains Teamcity
CVE-2023-39175Same product: Jetbrains Teamcity
CVE-2025-54538Same product: Jetbrains Teamcity

Affected Assets

jetbrains
teamcity
≤ 2025.07.2

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)
  • SI-10 Information Input Validation
  • AC-3 Access Enforcement
  • AC-6 Least Privilege
Detect
Catch it (NIST detect / respond)

Harden
Shrink the surface (DISA STIG)

Validate
Prove the fix (OWASP ASVS)
  • V5.3.2

Mitigating Controls (NIST 800-53 r5) AI

prevent

Directly requires validation of file paths and names extracted from uploaded archives to block traversal sequences.

prevent

Enforces that the upload process may only write to authorized project directories, denying traversal attempts to other paths.

prevent

Restricts the privileges of the TeamCity process handling archive uploads so traversal cannot reach sensitive files outside the intended scope.

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.PS-06 mostly match
prevents

Secure SDLC practices directly require input validation and path sanitization that prevent relative traversal.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

detects

Security testing in development catches path traversal via static/dynamic analysis, but does not itself implement the fix.

prevents

Secure development lifecycle mandates input validation and path-handling controls that directly prevent relative path traversal.

prevents

Application security requirements explicitly call for controls against path traversal and other injection flaws.

prevents

Secure architecture principles include directory isolation and canonicalization, reducing but not eliminating traversal risk.

prevents

Secure coding standards require neutralizing path traversal sequences, directly addressing CWE-23.

mitigates

Information access restriction limits which files can be reached, mitigating impact but not preventing the traversal flaw.

References