{"id":"MSF-multi--http--jetbrains_teamcity_rce_cve_2026_63077","name":"JetBrains TeamCity Agent Polling Unauthenticated Remote Code Execution","description":"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.","cves":["CVE-2026-63077"],"author":"Antoni Tremblay, sfewer-r7","published":"2026-07-27","platform":"Linux,Unix,Windows","type":"remote","language":"Ruby","source":"metasploit","sourceUrl":"https://github.com/rapid7/metasploit-framework/blob/90dfbaa741421d0179f9f371109c215d49400444/modules/exploits/multi/http/jetbrains_teamcity_rce_cve_2026_63077.rb","path":"modules/exploits/multi/http/jetbrains_teamcity_rce_cve_2026_63077.rb","revision":"90dfbaa741421d0179f9f371109c215d49400444","filename":"jetbrains_teamcity_rce_cve_2026_63077.rb","vulnerabilities":[{"id":"CVE-2026-63077","state":"PUBLISHED","title":null,"titleSource":null,"description":"In JetBrains TeamCity before 2026.1.3, 2025.11.7 unauthenticated remote code execution was possible via the agent polling protocol","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2026-63077","cvss":{"version":"3.1","baseScore":9.8,"severity":"critical","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"JetBrains","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-63077"},"updatedAt":"2026-09-23T03:55:33.804Z","retrievedAt":"2026-11-25T16:13:47.334Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/MSF-multi--http--jetbrains_teamcity_rce_cve_2026_63077.png?v=2","url":"https://exploitbin.com/exploits/MSF-multi--http--jetbrains_teamcity_rce_cve_2026_63077","downloadUrl":"https://exploitbin.com/api/v1/exploits/MSF-multi--http--jetbrains_teamcity_rce_cve_2026_63077/download","codeUrl":"https://exploitbin.com/api/v1/exploits/MSF-multi--http--jetbrains_teamcity_rce_cve_2026_63077/code","licenseUrl":"https://exploitbin.com/sources#metasploit"}