This module exploits an unsafe XStream deserialization vulnerability in the JetBrains TeamCity agent polling protocol. An unauthenticated attacker can register a build agent, then submit a crafted error response that causes TeamCity to deserialize an attacker-controlled object graph. The object graph uses FreeMarker and Commons Collections to invoke BasicDataSource.getConnection(). HSQLDB initialization statements then write a one-shot JSPWS file to the TeamCity webroot. Requesting the JSPWS file executes the payload with the privileges of the TeamCity server process, deletes the JSPWS source file, and removes the build agent registered by the module. This vulnerability was patched in TeamCity version 2025.11.7, and version 2026.1.3.
Exploit database
Vulnerability
CVE-2026-63077
Vulnerability details
- Score
- 9.8
- Severity
- critical
CVSS 3.1 · JetBrains
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HDescription
In JetBrains TeamCity before 2026.1.3, 2025.11.7 unauthenticated remote code execution was possible via the agent polling protocol
CVE ProgramExploit source choices
5 sourcesJetBrains TeamCity Agent Polling Unauthenticated Remote Code Execution
2026-07-27jetbrains_teamcity_rce_cve_2026_63077.rb
sfewer-r7/cve-2026-63077
Unauthenticated Remote Code Execution in JetBrains TeamCity (CVE-2026-63077)
2026-08-072 files · 21 stars
anggatechi/cve-2026-63077
CVE-2026-63077 — Unauthenticated Remote Code Execution in JetBrains TeamCity via agent polling protocol deserialization. CVSS 9.8 CRITICAL. Mass exploitation tool with interactive shell, multi-threading, and real-time result logging.
2026-08-082 files · 1 stars
bakos-sandor-nx/teamcity-cve-2026-63077-remediation
JetBrains TeamCity On-Premises CVE-2026-63077 Emergency Hardening & Patch Runbook Package
2026-08-1957 files · 0 stars
basesixtythree/b63-poc-cve-2026-63077
PoC and verification material for CVE-2026-63077 (JetBrains TeamCity agent-polling deserialization RCE)
2026-10-2216 files · 0 stars