TeamCity wave (82 GHSAs): Kotlin DSL sandbox escapes, viewer-tier credential reads, guest VCS deputy¶
Source: hourly offensive-security scan, GitHub Security Advisories unreviewed wave published 2026-11-19T12:32Z, JetBrains coordinated advisory set. Fixed in TeamCity 2026.2.1 and 2026.1.5 (a few legs 2026.2 / 2026.1.4 / 2025.11.8). CVE-2026-132954 through CVE-2026-133057, third same-product coordinated wave this quarter after the August 5 agent-polling KEV page and the November 18 21-GHSA wave on TeamCity agent-polling protocol authority validation, so the same-product re-sweep rule keeps paying.
Wave in one line: the Kotlin DSL settings sandbox leaked through six distinct callback and class-loading legs, the lowest project roles turned out to read or use server-side credentials they were never supposed to touch, guests could push commits with stored VCS credentials, and roughly sixty stored-XSS advisories mapped every settings and health-report page in the UI.
The operator-relevant legs¶
| Leg | GHSA / CVE | Sev. | Boundary |
|---|---|---|---|
| Public reflection in the Kotlin DSL sandbox | GHSA-fghj-m3mj-p6vq / CVE-2026-133014 | high | Kotlin DSL build configuration code reflects over public members the sandbox meant to hide, reaching execution on the server. |
| Boot classpath libraries in the sandbox | GHSA-cfj5-6x9f-2qgq / CVE-2026-133015 | high | Classes on the compiler boot classpath stay reachable from sandboxed DSL code, bypassing the sandbox's own class filter. |
| Script definitions in the DSL settings repository | GHSA-xxvj-fr26-gw3h / CVE-2026-133016 | high | Script definitions stored in the versioned DSL settings repository execute outside the sandbox's intended trust. |
| UI patches callback in the sandbox | GHSA-mxfp-xx2c-45vf / CVE-2026-133018 | high | A UI-patches callback registered from DSL code runs with server privileges; the callback surface itself was the escape. |
| Context parameters callback in the sandbox | GHSA-m7q5-3fcw-8492 / CVE-2026-133019 | high | Same shape via the context-parameters callback hook. |
| Kotlin DSL compiler arguments | GHSA-h7c3-qjpg-4w2m / CVE-2026-133023 | high | Compiler argument fields reach execution; treat them as argument-injection surfaces per the November 18 VCS argument-injection rule on the sibling page. |
| Code injection in generated Kotlin DSL | GHSA-8wrh-g8wr-v7rq / CVE-2026-133026 | high | User-controlled values are interpolated into generated DSL source, the template-injection leg of the same subsystem. |
| Git VCS root settings | GHSA-52qj-vgw5-w4jf / CVE-2026-133017 | high | RCE via Git VCS root settings, continuing the October 6 Git-URL-dialect and November 18 argument-injection lineage. |
| Mercurial subrepository paths | GHSA-8g7p-m3jw-4f6p / CVE-2026-133021 | high | Subrepository path handling reaches execution, distinct from the November 18 Mercurial argument injection. |
| Personal builds with versioned settings | GHSA-j8gc-758v-9pxf / CVE-2026-133024 | high | Versioned settings in personal builds execute server-side; whoever can start a personal build can run the settings code. |
| Notification Rules form | GHSA-hr45-xq65-g945 / CVE-2026-133022 | high | RCE from the notification rules form, a role surface most testers never touch. |
| Username handling in token authentication | GHSA-6q82-m6jr-8cqf / CVE-2026-133027 | high | Privilege escalation via username normalization at the token-auth boundary; token identity is whatever the username folds to. |
| Untrusted build approval for GitHub fork PRs | GHSA-854j-h863-8qhm / CVE-2026-133020 | high | Fork pull-request build-approval gating could be bypassed, so PR-controlled code runs before the human gate (< 2026.1.5). |
| Project viewers download project settings | GHSA-3jch-g8qp-675g / CVE-2026-133025 | high | Viewer-tier role can download the project settings archive, which carries configuration an auditor would expect to be admin-only. |
| Viewer recovers protected build parameters | GHSA-7592-f2mh-qrjw / CVE-2026-133030 | medium | The build parameter editor leaks protected parameter values to project settings viewers. |
| Guest pushes VCS labels with stored credentials | GHSA-f9w6-w6mr-m8c2 / CVE-2026-133029 | medium | Guests invoke stored VCS credentials to push labels: an unauthenticated actor mutating the upstream repository through the server's deputy credentials. |
| Modified build steps via pipeline debug runs | GHSA-gvjc-jxv4-2ccc / CVE-2026-133028 | medium | Missing authorization lets callers run modified build steps through the pipeline debug-run feature. |
| Cross-project VCS file and patch read | GHSA-c59h-v67c-j4qp / CVE-2026-133043 | medium | Read VCS file contents and patches belonging to other projects. |
| Cross-project AWS connections in cloud profiles | GHSA-4v8p-vp8h-c52c / CVE-2026-133048 | medium | Cloud profiles can use AWS connections belonging to other projects: a stored cloud credential used across the tenant line. |
| Project admins read foreign OAuth secrets | GHSA-rjj3-8m77-xg7q / CVE-2026-132985 | medium | Project administrators read OAuth connection secrets of other projects. |
| Cloud Profiles discloses inaccessible profiles | GHSA-vv4p-p847-5cwc / CVE-2026-132988 | low | The Cloud Profiles page lists cloud profiles of projects the user cannot access, an inventory oracle for stored integrations. |
| Arbitrary file read via Mercurial subrepo symlinks | GHSA-jw8q-wxgp-8w99 / CVE-2026-133053 | medium | Symlinks in Mercurial subrepositories read arbitrary files server-side. |
| SVN integration skips server certificate verification | GHSA-5gqv-vv9q-56qh / CVE-2026-132987 | medium | SVN connections accept unverified server certificates: on-path position against the build feed. |
| Caret password parameters unmasked on Windows | GHSA-vggp-vv5x-wq44 / CVE-2026-132986 | medium | Password parameters containing ^ print unmasked in build logs on Windows (caret is the Windows cmd escape character, the masker's own syntax broke it). |
| XML-RPC mute attribution forgery | GHSA-h2hp-36c5-fm2c / CVE-2026-132996 | low | Mute/unmute via XML-RPC can be attributed to other users; audit-trail forgery on a protocol older than the REST API. |
| REST API user-detail drift | GHSA-9vmv-rrvv-m7mg / CVE-2026-132994 | low | REST API exposes user details hidden from the UI; alternate-API visibility drift. |
| TFS helper server on all interfaces | GHSA-f6mv-rc97-gqww / CVE-2026-133057 | low | Helper service bound 0.0.0.0 rather than localhost; check helper sidecar ports, not just the main listener. |
The remaining ~57 advisories (CVE-2026-132954 through CVE-2026-133057) are a stored/reflected XSS cluster covering Triggers, VCS root settings, checkout rules, cloud profile editors, health reports, diff views, agent popups, the Promote dialog, thread dump page, and roughly fifty other UI surfaces. One page is not the finding; the coverage map is (rule 5).
Durable rules¶
- A sandbox is a surface inventory, not a property. Six independent Kotlin DSL sandbox escape legs (public reflection, boot classpath, script definitions, UI patches callback, context parameters callback, compiler arguments) in one release means the sandbox's deny rules were written per-callback, and every callback a subsystem registers is a new escape candidate. On any product with a config-code sandbox (CI DSLs, low-code scripting, report generators): enumerate the registration sites for hooks/callbacks/extensions a trusted config can define, then test execution from each one separately. A sandbox escape found on one leg says nothing about the other five.
- Read the settings archive at every role you hold. Viewer-tier download of the full project settings archive (133025) plus protected-parameter recovery in the parameter editor (133030) means the config export path and the display path have different ACLs. On any CI or SaaS console, request the admin-shaped artifacts (settings export, YAML/DSL source, archive download) with the lowest token you have; a 200 with a config body is the finding.
- Server-held credentials are deputy surfaces; test them from below. Guests pushing VCS labels with stored credentials (133029), cross-project AWS connection use (133048), and foreign OAuth secret reads (132985) all say the same thing: enumerate every integration holding server-side credentials (VCS roots, cloud profiles, OAuth connections) and attempt use/read from roles below the owner. This is the November 18 viewer-uses-Kubernetes-credentials rule extended down to guest.
- Token identity folds wherever the username is normalized. Privilege escalation "via username handling in token authentication" (133027) belongs next to Fleet's case-folded token columns from the same week: at the token boundary, test case variants, trailing whitespace/dots, and Unicode folds of the username against your own low-priv token. A fold that maps your identity onto an admin string is ATO without a password.
- A coordinated XSS dump is a UI coverage map for the real bugs. Sixty XSS advisories naming specific pages (notification rules, thread dump, promote dialog, cloud profile editors) tell you exactly which forms persist attacker-influenceable strings into admin browsers, and those same forms are where the RCE legs live this wave. Feed the page names from a public XSS cluster back in as your functional-testing checklist before probing deeper boundaries on the same screens.
- Log maskers have their own escape syntax. Caret breaking the password masker on Windows (132986) is the shell-escape-character-as-masker-bypass pattern: when testing log exposure of any parameter, include the hosting OS's escape/quote characters (
^,%,&,$) inside the value.
Replayable validation boundaries¶
- Disposable TeamCity lab at a vulnerable band (2026.1.x below 2026.1.5 / 2026.2.x below 2026.2.1), synthetic projects and tokens. All RCE, DSL, VCS, and debug-run legs are lab-only with inert markers (canary file writes, no real command payloads, no outbound calls).
- Role-matrix legs (settings download, protected parameters, cloud profile disclosure, REST user details) are safe as read-only evidence on customer-approved instances: request with your lowest-tier token, record status plus field names, redact values in evidence.
- Deputy legs: prove with lab-owned VCS roots and synthetic OAuth/AWS connections pointing at your own callbacks; never use live stored credentials or reach third-party infrastructure.
- Username-fold leg: your own synthetic accounts in a lab realm; compare token-auth outcome per username variant in a decision table.
- XSS cluster: do not plant script payloads in shared CI dialogs; on authorized targets stay at reflected-parameter and CSP-observable proof.
- SVN cert leg and TFS helper binding: fingerprint on approved targets (banner, listener bind, version), verify behavior only in lab.