On December 2, 2026, JetBrains disclosed CVE-2026-136858, a critical authentication bypass in TeamCity On-Premises. The flaw is in build agent registration. JetBrains says an unauthenticated attacker who can reach a TeamCity server over HTTP(S) can “impersonate an existing authorized build agent”. The attacker needs no TeamCity user account. JetBrains scores it 9.1 under CVSS 3.1, and the CVE record classes it as CWE-639, authorization bypass through a user-controlled key. A build agent is the machine that runs the jobs a TeamCity server hands out, and the server passes each job the credentials it needs. JetBrains says a successful attack could push out the legitimate agent and intercept the builds assigned to it, which exposes the credentials and other secrets passed to that agent. The attacker could also falsify build results or publish tampered artifacts, and downstream builds that consume those artifacts could then run code the attacker supplied. Every TeamCity On-Premises version is affected. The fixed versions are 2026.1.7, 2026.2.3 and 2026.3, and a security patch plugin covers 2021.2 and later without a server restart. JetBrains has already fixed TeamCity Cloud, says it found no evidence that any Cloud environment was exploited, and asks nothing of Cloud customers. When it published the advisory, JetBrains said it was not aware of any active exploitation. That changed within a day. watchTowr says its Attacker Eye honeypot network observed exploitation attempts on December 3, 2026. SecurityWeek reported on December 4 that Jake Knott, watchTowr’s head of threat intelligence, said the flaw had been reverse engineered, reproduced and used against those honeypots, and that the same attacker had earlier exploited PHP2Shell against a PAN-OS device in the same network. As of December 4, no victim has been confirmed, no working exploit is public, no source addresses or other indicators have been published, and the CVE is not in the CISA Known Exploited Vulnerabilities catalog. This is the second critical unauthenticated TeamCity flaw in about four months. JetBrains disclosed CVE-2026-63077, rated 9.8, on July 27, 2026. CISA added it to KEV on August 5, ASD’s ACSC warned on August 24 that it was being exploited in Australia, and in September CISA marked it as used in ransomware campaigns. That history is the reason to treat this flaw as urgent before any KEV listing. CVE CVSS EPSS CISA KEV Fixed in CVE-2026-136858 9.1 Critical (CVSS 3.1), JetBrains 1.4% No TeamCity 2026.1.7, 2026.2.3 or 2026.3, or the security patch plugin on 2021.2 and later CVSS and EPSS from NVD and FIRST, exploitation status from the CISA Known Exploited Vulnerabilities catalog, checked December 4, 2026. What is confirmed Point Source Authentication bypass during build agent registration, CVSS 3.1 score 9.1, vector AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N, CWE-639 JetBrains, CVE record No TeamCity account needed, only HTTP(S) access to the server JetBrains All TeamCity On-Premises versions affected JetBrains Fixed in 2026.1.7, 2026.2.3 and 2026.3 JetBrains, December 2, 2026 Security patch plugin for 2021.2 and later, installs without a restart, fixes only this flaw JetBrains TeamCity Cloud fixed by JetBrains, no evidence of exploitation, no customer action JetBrains Reported privately by security researcher Jiawei Guo on November 24, 2026 JetBrains Exploitation attempts against honeypots on December 3, 2026 watchTowr The attacker has to guess the ID of an existing agent watchTowr Confirmed victims None reported as of December 4, 2026 Public exploit None found as of December 4, 2026. JetBrains has not published the request sequence Source addresses, user agents or file hashes None published CISA KEV Not listed in the catalog release of December 4, 2026. CISA’s assessment in the CVE record, dated December 2, reads exploitation “none” and automatable “yes” Affected and fixed versions TeamCity On-Premises branch Affected Fix 2026.2 Before 2026.2.3 2026.2.3, or upgrade to 2026.3 2026.1 Before 2026.1.7 2026.1.7, or a later fixed version 2021.2 to 2025.11 All versions Upgrade to 2026.1.7, 2026.2.3 or 2026.3, or install the security patch plugin Older than 2021.2 All versions Upgrade. The patch plugin does not support these versions TeamCity Cloud Fixed by JetBrains No action JetBrains recommends the upgrade over the plugin, because the fixed versions carry other security updates and the plugin fixes only CVE-2026-136858. Use the installer or archive from the TeamCity download page, or the automatic update option under Administration, Updates. The security patch plugin The plugin is the fast path when an upgrade has to wait. JetBrains says it installs without restarting the TeamCity server. How it arrives depends on the version: 2026.2.2 and later: under Administration, Updates, Security patches, the Install automatically setting downloads and installs verified patches as they become available. With that setting on, the server should already have this patch. With Download and notify, an administrator still has to apply the downloaded patch on the Updates page. With Ignore, nothing is installed. 2024.03 through 2026.2.1: the server can download the patch. Review and apply it under Administration, Updates, Available security updates. 2021.2 through 2023.x: download the plugin from the JetBrains advisory and install it under Administration, Plugins. The plugin does not change the server’s version number. A scanner that reads only the version will keep flagging a server that is protected by the plugin, and a version check alone cannot prove that a server is safe. Confirm the plugin in the plugin list as well. Check the version and the plugin: # Example only: adapt and test. TC_URL is your server address, TC_TOKEN an access token curl -s -H "Authorization: Bearer $TC_TOKEN" "$TC_URL/app/rest/server/version" # Is the patch plugin in the data directory? The path is shown under Administration, Global Settings ls "$TEAMCITY_DATA_PATH/plugins" | grep -i 'CVE-2026-136858' The version is also printed in the footer of every TeamCity page. In the web interface, the patch appears under Administration, Plugins. The download is named CVE-2026-136858-patch.zip. How the attack works JetBrains has not published the request sequence, and no public write-up reproduces it. What is known comes from the advisory, from watchTowr and from a patch analysis by Ostorlab. Agents talk to the server over HTTP(S). Agent traffic goes to /app/agents and its subpaths on the TeamCity server. Each authorized agent has an ID, and the server stores an authorization token for it. The server did not tie the claimed agent ID to that token. Ostorlab reconstructed this from the compiled patch plugin, not from TeamCity source code, so treat it as a strong reading and not a vendor statement. In its analysis, a client could present the ID of an existing agent with a different token and still be accepted as that agent. The server logged the mismatch and carried on. The attacker takes the agent’s place. JetBrains says exploitation could displace the legitimate agent. The server then assigns that agent’s builds to the attacker’s client. Builds bring their secrets with them. Whatever the build configuration passes to the agent goes to the attacker: cloud keys, registry and package feed tokens, deploy keys, signing credentials and source code. The attacker answers as the agent. The client can return falsified results or publish tampered artifacts. Any later build or deployment that consumes those artifacts runs what the attacker put in them. The same analysis describes the fix. The patch plugin adds a servlet filter that looks up the claimed agent, compares the presented token with the stored one in constant time, and rejects the request when the token is missing or different. Two details matter for defenders. The mismatch that the old code logged and ignored is the log line JetBrains now gives as the check for exploitation, so unpatched servers have been recording attempts all along. And the attacker has to name an agent that exists. watchTowr lists guessing a valid agent ID as a precondition and gives 1 as its example, which is a low bar because the ID is a small number and not a secret. No original source has published attacker IP addresses, user agents, payloads or file hashes. This advisory does not guess at them. Practical exploit effort The 9.1 score describes what a working attack does. The practical questions are who can reach the server and how much work the attack takes. No exploit is public, and attackers did not wait for one. We found no proof-of-concept repository for the CVE on GitHub on December 4. The patch plugin is public, though, and it is a small piece of compiled Java that shows what check was missing. Ostorlab published its reading of it within a day, and watchTowr saw attempts within a day. Assume capable attackers already have a working client. The attacker needs HTTP(S) access to the server, and nothing else from you. No account, no user interaction and no stolen token. A TeamCity server on the internet is exposed to everyone. An internal server is exposed to anyone on a network that can reach it, including a compromised workstation or a contractor connection. The attacker has to pick an agent that exists. Low agent IDs are the obvious first guesses. A server with a single agent or a small fixed pool is as exposed as a large one. What a successful attack gives is the pipeline, not the server. JetBrains describes intercepted builds, exposed secrets, falsified results and tampered artifacts. It does not describe code execution on the TeamCity server, and the CVSS vector has no availability impact. The damage comes afterwards, from the credentials those builds carry and from the software they ship. It is noisier than most authentication bypasses. An unpatched server logs each mismatch, and the real agent is pushed aside, which can show up as a disconnected agent or as builds that behave oddly. Nobody has yet published how visible a successful takeover is in practice, so do not count on noticing it. Our assessment as of December 4: Question CVE-2026-136858 Public exploit None found. Private exploit attempts seen by watchTowr since December 3 Credentials needed None Network access HTTP(S) to the TeamCity server, reaching /app/agents What the attacker must know The ID of an authorized agent, which can be guessed What it yields The builds assigned to that agent, their secrets, and the ability to return false results and tampered artifacts Most exposed Internet-facing servers, then servers whose builds handle credentials or publish artifacts Loudest signal The token mismatch line in teamcity-server.log with a non-empty token For an attacker who can reach the server, this is cheap to use and pays off in credentials and in a path into your software. Patch as an emergency change. Who should act first Internet-facing TeamCity servers, and servers that accept agent connections from outside trusted networks. These are within reach of the attempts watchTowr is seeing. Patch them today or take them off the internet. Servers whose builds handle credentials or publish artifacts that other builds, customers or production systems consume. Release, signing and deployment pipelines carry the most to lose. This includes software vendors and MSPs that build or deploy for customers. Servers older than 2021.2. The patch plugin does not cover them, so the only fix is an upgrade. Servers protected by the plugin only. Confirm the plugin is installed and enabled, and plan the upgrade. Internal servers reachable from user, contractor or partner networks. An attacker who is already inside can use the same request. A build server is a supply chain asset. The same reasoning applied to the GitLab flaw in our GitLab CVE-2026-97229 advisory, and build servers are also a target of the PolinRider supply chain malware. Threat hunting playbook Hunt from December 2, 2026, the day of disclosure, to today. If your logs go back further, extend to November 24, the day the flaw was reported, and beyond where you can: every on-premises version is affected, and unpatched servers were already writing the log line. No indicators have been published, so these hunts look for the behavior: the log line, agent traffic from the wrong place, agents that changed, and build secrets used somewhere new. Log paths below are for a default Linux or Docker install (/opt/teamcity/logs). On Windows the default is C:\TeamCity\logs. Hunt 1: the token mismatch line in teamcity-server.log JetBrains gives one check for possible exploitation. Search teamcity-server.log for entries containing this text: of the existing agent, but different authorization token "<token>" A non-empty token may be an attempt to take over an existing agent. Entries with an empty token ("") are expected, and JetBrains says to disregard them for this check. # Example only: adapt and test. Current and rotated logs LOGS=/opt/teamcity/logs MATCH='of the existing agent, but different authorization token' # Every mismatch line zcat -f "$LOGS"/teamcity-server.log* | grep -F "$MATCH" # Only the lines that matter: a token was presented and it was the wrong one zcat -f "$LOGS"/teamcity-server.log* | grep -F "$MATCH" \ | grep -vF 'authorization token ""' # Hits per hour, to see bursts (uses the timestamp at the start of each line) zcat -f "$LOGS"/teamcity-server.log* | grep -F "$MATCH" \ | grep -vF 'authorization token ""' | cut -c1-14 | sort | uniq -c # Docker: run the same search inside the running container docker exec <container> sh -c "grep -hF 'of the existing agent, but different authorization token' \ /opt/teamcity/logs/teamcity-server.log* | grep -vF 'authorization token \"\"'" On a Windows server: # Example only: adapt and test Select-String -Path 'C:\TeamCity\logs\teamcity-server.log*' -SimpleMatch 'of the existing agent, but different authorization token' | Where-Object { $_.Line -notmatch 'authorization token ""' } | Select-Object Filename, LineNumber, Line If the server log is collected in Splunk: index=teamcity source="*teamcity-server.log*" "of the existing agent, but different authorization token" | search NOT "authorization token \"\"" | timechart span=1h count TeamCity rotates this log by size, so a busy server may keep only a few days. Copy the log directory before it rotates, and check whether your log collector has older copies. For each hit with a non-empty token, note the timestamp and the agent it names. Then follow JetBrains’ steps: review that agent’s connection history and the builds assigned to it around that time, and confirm that the hostname and source IP address are the ones you expect. A hit is a lead. It shows an attempt, not a successful takeover. Hunt 2: agent traffic from outside your agent networks Real agents connect from addresses you know. Anything else that requests /app/agents is worth a look. This hunt needs the access log of the reverse proxy, load balancer or WAF in front of TeamCity. On an NGINX proxy, list the sources first: # Example only: adapt and test. Sources that requested the agent paths, busiest first zcat -f /var/log/nginx/access.log* | awk '$7 ~ "^/app/agents" {print $1}' | sort | uniq -c | sort -rn In Microsoft Sentinel, if the proxy log is ingested as a custom table: // Example only: adapt and test. Assumes a custom table ProxyAccess_CL with client_ip_s, uri_s, method_s, status_d let agent_ranges = dynamic(["10.20.0.0/16", "203.0.113.10/32"]); // where real agents connect from, including NAT gateways ProxyAccess_CL | where TimeGenerated > datetime(2026-11-24) | where uri_s startswith "/app/agents" | where coalesce(ipv4_is_in_any_range(client_ip_s, agent_ranges), false) == false | summarize Requests = count(), FirstSeen = min(TimeGenerated), LastSeen = max(TimeGenerated), Methods = make_set(method_s, 5), Statuses = make_set(status_d, 10), Paths = make_set(uri_s, 15) by client_ip_s | order by FirstSeen asc In Splunk, with a standard web access sourcetype: index=web sourcetype=access_combined uri_path="/app/agents*" | where NOT (cidrmatch("10.20.0.0/16", clientip) OR cidrmatch("203.0.113.10/32", clientip)) | stats count min(_time) as first max(_time) as last values(method) as methods values(status) as status values(uri_path) as paths by clientip | convert ctime(first) ctime(last) | sort first Expect internet scanners on an exposed server. Prioritize sources whose requests were answered with a success status, and sources that appear in Hunt 1 at the same time. Hunt 3: one source working through agent IDs The attacker has to find an agent ID that exists. Guessing shows up as one source sending many requests to the agent paths in a short time, with many of them refused. JetBrains has not said where in the request the ID sits, so this hunt counts requests, errors and distinct paths without assuming a format. // Example only: adapt and test. Same custom table as Hunt 2. Tune the thresholds to your agent count ProxyAccess_CL | where TimeGenerated > datetime(2026-11-24) | where uri_s startswith "/app/agents" | summarize Requests = count(), Errors = countif(status_d >= 400), DistinctPaths = dcount(uri_s), FirstSeen = min(TimeGenerated), LastSeen = max(TimeGenerated), SamplePaths = make_set(uri_s, 15) by client_ip_s, bin(TimeGenerated, 1h) | where Errors >= 10 or DistinctPaths >= 10 | order by Errors desc index=web sourcetype=access_combined uri_path="/app/agents*" | bin _time span=1h | stats count as requests count(eval(status>=400)) as errors dc(uri) as distinct_paths by clientip, _time | where errors>=10 OR distinct_paths>=10 | sort - errors A real agent that lost its registration can also produce errors, so check each source against your agent list before you escalate. On the server side, the hourly count in Hunt 1 shows the same guessing as a run of mismatch lines. Hunt 4: agents whose address or hostname changed A takeover replaces the real agent with the attacker’s client, which connects from somewhere else. Compare what the server records for each agent with what you know to be true. Start with the lowest agent IDs, which are the easiest to guess. In the web interface, open Agents, then each agent’s summary for its hostname, IP address and last communication time, and its build history for what it ran. To do it in bulk, use the REST API: # Example only: adapt and test. Needs an access token that can view agent details curl -s -H "Authorization: Bearer $TC_TOKEN" -H "Accept: application/json" \ "$TC_URL/app/rest/agents?locator=authorized:any,connected:any&fields=agent(id,name,ip,connected,authorized,lastActivityTime)" \ | jq -r '.agent[] | [.id, .name, .ip, .connected, .authorized, .lastActivityTime] | @tsv' \ | sort -n > agents-$(date +%F).tsv # Compare with an earlier snapshot, or with your own agent inventory diff agents-2026-12-01.tsv agents-$(date +%F).tsv # Builds one agent ran since disclosure, for the agents that changed or appeared in Hunt 1 curl -s -H "Authorization: Bearer $TC_TOKEN" -H "Accept: application/json" \ "$TC_URL/app/rest/builds?locator=agent:(id:1),sinceDate:20261202T000000%2B0000,defaultFilter:false,count:500&fields=build(id,number,buildTypeId,status,startDate,finishDate)" Look for an agent that reports an IP address outside your agent ranges, a hostname that does not follow your naming, or a change of address with no matching change ticket. Cloud agents change address by design, so judge them against the cloud provider’s ranges and your NAT gateways. Search teamcity-server.log for the agent’s name around the time of the change to see its registrations and disconnects. Hunt 5: what a successful takeover leads to The attacker’s gain is the secrets in the builds and the trust placed in the artifacts. Both leave traces outside TeamCity, and those logs are usually kept for longer than the server log. List the credentials that builds on the affected agents receive, then check where each was used. For AWS keys, with CloudTrail in Microsoft Sentinel: // Example only: adapt and test. Access keys stored in TeamCity, used from addresses that are not your agents let ci_keys = dynamic(["AKIAEXAMPLEKEY000001"]); // access key IDs your builds use let agent_ranges = dynamic(["10.20.0.0/16", "203.0.113.10/32"]); AWSCloudTrail | where TimeGenerated > datetime(2026-12-02) | where UserIdentityAccessKeyId in (ci_keys) | where coalesce(ipv4_is_in_any_range(SourceIpAddress, agent_ranges), false) == false | summarize Calls = count(), Events = make_set(EventName, 25), FirstSeen = min(TimeGenerated), LastSeen = max(TimeGenerated) by UserIdentityAccessKeyId, SourceIpAddress, UserAgent | order by FirstSeen asc For Microsoft Entra service principals that pipelines sign in with: // Example only: adapt and test. Service principals whose secrets or certificates live in TeamCity let ci_apps = dynamic(["00000000-0000-0000-0000-000000000000"]); // application IDs your builds use let agent_ranges = dynamic(["10.20.0.0/16", "203.0.113.10/32"]); AADServicePrincipalSignInLogs | where TimeGenerated > datetime(2026-12-02) | where AppId in (ci_apps) | where coalesce(ipv4_is_in_any_range(IPAddress, agent_ranges), false) == false | summarize SignIns = count(), Resources = make_set(ResourceDisplayName, 20), FirstSeen = min(TimeGenerated), LastSeen = max(TimeGenerated) by ServicePrincipalName, AppId, IPAddress, Location | order by FirstSeen asc Apply the same question to every other secret the builds hold: Container registry and package feed tokens: pushes, pulls or new tags from addresses that are not your agents, or outside the time of any build. Deploy keys and Git credentials: clones, pushes or new keys from an unknown address in your Git hosting audit log. Signing credentials: signing operations that do not line up with a release build. Deployment credentials: sessions on production systems that no pipeline run explains. Then check the artifacts. For a build in the suspect window, rebuild the same commit on an agent you trust and compare what the two builds published: # Example only: adapt and test. Two builds of the same commit: hash every published file and compare for id in 48211 48257; do curl -sf -H "Authorization: Bearer $TC_TOKEN" "$TC_URL/app/rest/builds/id:$id/artifacts/archived" -o "build-$id.zip" mkdir -p "build-$id" && unzip -q "build-$id.zip" -d "build-$id" (cd "build-$id" && find . -type f -exec sha256sum {} + | sort -k2) > "build-$id.sha256" done diff build-48211.sha256 build-48257.sha256 Builds that are not reproducible differ on their own, through timestamps and build numbers, so a difference is a reason to open the files and not a verdict. Also compare what your registry or package feed holds with what the build log says was published, and check signatures on anything released in the window. Hold the line until you patch If you cannot upgrade today, do these in this order: Install the security patch plugin. It needs no restart, which removes the usual reason to wait. Restrict the agent paths at the reverse proxy. JetBrains recommends allowing /app/agents and its subpaths only from the addresses where legitimate agents connect, including the outbound addresses of cloud agents and any NAT gateways they use. Take the server off the internet. JetBrains advises limiting access to trusted networks and using a VPN for users or agents outside them. Alert on Hunt 1 in real time, so a mismatch with a non-empty token starts a response the same hour. An NGINX example for step 2: # Example only: adapt and test. Agent traffic only from the addresses where real agents connect location /app/agents { allow 10.20.0.0/16; # build agent subnet allow 203.0.113.10; # NAT gateway used by cloud agents deny all; # repeat the proxy_pass and proxy_set_header lines from your main location block } If TeamCity is served under a context path, add it in front of /app/agents. If the proxy itself sits behind a load balancer, make sure it sees the real client address, or the rule will match the load balancer and allow everyone. The allowlist is a mitigation and not a fix. It does not stop an attacker who can send from an allowed address, and it leaves the missing check in place. Patch anyway. Responding to evidence of an attempt For a mismatch with a non-empty token, or any other sign from the hunts above: Preserve the evidence first: the TeamCity log directory, the build logs and results from the window, the published artifacts and the proxy logs. The server log rotates quickly. Work out which agent and which builds. Use the timestamp to review that agent’s connection history, hostname and source IP address, and list every build assigned to it around that time. Patch the server, with a fixed version or the plugin, and restrict /app/agents. Rotate every credential passed to those builds: cloud keys, registry and package tokens, deploy keys, signing credentials, service accounts and VCS credentials. JetBrains says to rotate any credentials passed to potentially affected builds. If you cannot tell which builds the attacker received, rotate everything that agent’s pool could be given. Treat artifacts from those builds as untrusted until you have rebuilt or verified them, and trace where they were used or deployed. Pull back anything that reached a registry, a package feed, a customer or production. Look for use of the stolen secrets with Hunt 5, in the cloud, registry, Git hosting and identity logs. As a precaution, re-register the affected agents after patching, so each gets a new authorization token, and review who can authorize agents. If a signing key or a release pipeline was within reach, bring in whoever owns your software release process and your customers’ security contacts early. Proving an artifact clean takes longer than rotating a key. Detection rules to keep Line in teamcity-server.log containing of the existing agent, but different authorization token with a non-empty token. Request to /app/agents or a subpath from an address outside the agent allowlist, whether allowed or denied. One source with 10 or more refused requests to the agent paths within an hour. Authorized agent whose IP address or hostname changes without a change ticket. Authorized agent that disconnects and reconnects from a new address within minutes. Build credential (cloud key, service principal, registry token or deploy key) used from an address outside your agent ranges. Artifact published or signed outside the time of any build. TeamCity server below 2026.1.7, 2026.2.3 or 2026.3 with no patch plugin installed. Timeline October 4, 2023: CISA adds the TeamCity authentication bypass CVE-2023-42793 to KEV. In December 2023, CISA advisory AA23-347A describes its exploitation by Russia’s Foreign Intelligence Service (SVR). March 7, 2024: CISA adds the TeamCity authentication bypass CVE-2024-27198 to KEV. April 20, 2026: CISA adds the TeamCity path traversal flaw CVE-2024-27199 to KEV. July 27, 2026: JetBrains discloses CVE-2026-63077, an unauthenticated remote code execution flaw in TeamCity rated 9.8. August 5, 2026: CISA adds CVE-2026-63077 to KEV. August 24, 2026: ASD’s ACSC warns of exploitation of CVE-2026-63077 in Australia. September 2026: CISA marks CVE-2026-63077 as used in ransomware campaigns. November 24, 2026: Jiawei Guo reports CVE-2026-136858 privately to JetBrains. December 2, 2026: JetBrains publishes its advisory, TeamCity 2026.1.7, 2026.2.3 and 2026.3, the security patch plugin and the CVE record. It says it knows of no active exploitation. December 3, 2026: watchTowr observes exploitation attempts on its Attacker Eye honeypot network. Ostorlab publishes an analysis of the patch plugin. December 4, 2026: watchTowr publishes its report, and SecurityWeek and BleepingComputer cover the attempts. The CISA KEV catalog released that day does not list the CVE. Frequently Asked Questions Is CVE-2026-136858 being exploited? Attempts are confirmed. watchTowr says its honeypot network saw exploitation attempts on December 3, 2026, one day after disclosure. JetBrains said on December 2 that it was not aware of active exploitation. As of December 4, no victim has been confirmed and no exploit code is public. Which TeamCity versions fix CVE-2026-136858? TeamCity 2026.1.7, 2026.2.3 and 2026.3. A security patch plugin covers 2021.2 and later. Versions older than 2021.2 have to upgrade. Is TeamCity Cloud affected? JetBrains has already applied the fix to TeamCity Cloud and says it found no evidence that any Cloud environment was exploited through this flaw. Cloud customers do not need to do anything. Does the attacker need an account? No. JetBrains says an unauthenticated attacker who can reach the server over HTTP(S) can exploit it. watchTowr adds that the attacker has to guess the ID of an existing agent, which is a small number and easy to guess. Does the patch plugin need a restart? No. JetBrains says the plugin installs without restarting the TeamCity server. It fixes only CVE-2026-136858 and does not change the version number the server reports, so confirm it under Administration, Plugins. How do I check if my TeamCity server was hit? Search teamcity-server.log, including rotated copies, for the text of the existing agent, but different authorization token. A non-empty token may be a takeover attempt, and an empty token is expected. For each hit, review that agent’s connection history, hostname and source IP address, and the builds it ran around that time. Is CVE-2026-136858 on CISA KEV? Not as of the catalog release of December 4, 2026. Four earlier TeamCity flaws are in the catalog: CVE-2023-42793, CVE-2024-27198, CVE-2024-27199 and CVE-2026-63077, the last added on August 5, 2026. Do not wait for a listing. Is it related to CVE-2026-63077? It is a different flaw. CVE-2026-63077, fixed in July 2026, allowed unauthenticated remote code execution on the server through the agent polling protocol. CVE-2026-136858 is an authentication bypass in agent registration that lets an attacker impersonate a build agent. A server patched in July still needs this fix. Is there a public exploit for CVE-2026-136858? None that we could find on December 4, 2026, and JetBrains has not published the request sequence. The patch plugin is public, so the missing check can be worked out from it, and watchTowr’s honeypots show that someone already has. Does restricting /app/agents fix it? No. JetBrains lists it as an additional mitigation. It blocks the path from addresses you do not allow, but an attacker on an allowed address is not stopped, so patch as well. How ThreatDefence is responding ThreatDefence has added CVE-2026-136858 to our vulnerability intelligence. Across all monitored environments, our SOC is: identifying TeamCity servers below 2026.1.7, 2026.2.3 and 2026.3, starting with the ones reachable from the internet reviewing TeamCity server logs for the token mismatch line, and proxy logs for agent traffic from unexpected addresses watching for build credentials used from new addresses and for build agents that change address or hostname helping customers upgrade or install the patch plugin, and rotate build secrets where an attempt is found If you want help finding TeamCity servers across your environment or checking whether a build agent was taken over, contact us. Read more about our managed detection and response and our threat hunting service.