Particle.news

Critical TeamCity Bug Lets Attackers Impersonate Build Agents

The flaw lets unauthenticated actors steal build secrets, alter artifacts, creating urgent need for patches along with network restrictions.

Overview

  • JetBrains disclosed the vulnerability on Wednesday and released patched TeamCity builds 2026.1.7, 2026.2.3 and 2026.3 plus a security-patch plugin for 2021.2 and later.
  • Independent defenders reported that the issue was reverse engineered and exploited against honeypots roughly a day after disclosure, showing attackers moved from discovery to active targeting very quickly.
  • The bug lets an unauthenticated actor who can reach a TeamCity server over HTTP(S) pose as a legitimate build agent, which can expose credentials the server hands to agents, let attackers read secrets, and allow tampering or malicious artifacts that downstream builds may run.
  • JetBrains and security outlets urge on-premises admins to update or install the patch plugin if they cannot restart, restrict requests to /app/agents to known agent IPs, check teamcity-server.log for non-empty authorization-token entries, rotate exposed credentials, and treat impacted artifacts as untrusted until verified.
  • This is the latest in a string of high-severity TeamCity authentication bypasses that have been weaponized in the wild, increasing supply-chain risk and meaning system administrators and DevOps teams must prioritize fast remediation and forensic checks.