Cyber Resilience

CVE-2025-31139

Info Disclosure in Jetbrains Teamcity ≤ 2025.03

Published
27 March 2025
Modified
16 May 2025
Patch / advisory
CVSS Score v3.1 4.3
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
EPSS Score 0.0094 57th percentile
Risk Priority 35 floored blend · peak EPSS

Summary

CVE-2025-31139 is a medium-severity Insertion of Sensitive Information into Log File (CWE-532) vulnerability in Jetbrains Teamcity. Its CVSS base score is 4.3 (Medium).

Operationally, ranked in the top 43% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to AU-3 (Content of Audit Records) and SI-11 (Error Handling) — 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.03 base64 encoded password could be exposed in build log

CWE(s)

Related Threats

CVEs Like This One

CVE-2023-38067Same product: Jetbrains Teamcity
CVE-2025-46432Same product: Jetbrains Teamcity
CVE-2024-41824Same product: Jetbrains Teamcity
CVE-2023-34223Same product: Jetbrains Teamcity
CVE-2023-38064Same product: Jetbrains Teamcity
CVE-2023-39175Same product: Jetbrains Teamcity
CVE-2025-54538Same product: Jetbrains Teamcity
CVE-2024-47950Same product: Jetbrains Teamcity
CVE-2024-39879Same product: Jetbrains Teamcity
CVE-2026-49376Same product: Jetbrains Teamcity

Affected Assets

jetbrains
teamcity
≤ 2025.03

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)
  • AU-3 Content of Audit Records
  • SI-11 Error Handling
  • CM-6 Configuration Settings
Detect
Catch it (NIST detect / respond)

Harden
Shrink the surface (DISA STIG)

Validate
Prove the fix (OWASP ASVS)

Mitigating Controls (NIST 800-53 r5) AI

prevent

Directly specifies the content of audit and log records so that sensitive values such as passwords are excluded from build logs.

prevent

Requires the system to handle conditions and output (including build logs) without exposing sensitive information such as credentials.

prevent

Enforces secure configuration settings on TeamCity that disable or sanitize logging of base64-encoded passwords.

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 prohibit writing sensitive data to logs; eliminating the weakness satisfies only one narrow slice of the control.

PR.PS-04 partial match
prevents

Log generation configuration can and should exclude sensitive data, but the control statement focuses on availability rather than content filtering.

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.

A.8.15 Logging mostly match
prevents

Requiring de-identification and privacy controls before logs leave the organization reduces the chance that sensitive data inadvertently captured in logs becomes exposed to external parties.

mitigates

By defining what records must be kept, where, and for how long, the control discourages the inadvertent inclusion of sensitive information in logs or other externally accessible files that fall outside the formal record system.

mitigates

Mandating deletion of temporary files and logs that may contain sensitive information prevents those artifacts from remaining accessible after the data is no longer needed.

A.8.11 Data masking partial match
mitigates

When log entries are produced from masked data sets, the control prevents the inadvertent insertion of sensitive values into externally accessible log files.

mitigates

DLP inspection of logs and file transfers can detect and block the inadvertent placement of sensitive tokens or credentials into externally accessible log files before they are written or transmitted.

prevents

Requiring restrictions on free-text fields and proper error-message handling stops developers from embedding or leaking sensitive data into logs or diagnostic output.

References