Skip to content

Gateway, service-mesh, and local MCP boundary checks

Sources: hourly offensive-security scan, 2026-07-16 GitHub Security Advisory updates. Primary entries: GHSA-fcrp-7gc2-93g7, GHSA-wcrf-9vrr-854f, GHSA-22xc-xg2r-9j7v, GHSA-v95x-xhq5-4929, GHSA-wvmp-6r4v-j6cv, the updated GHSA-9h52-p55h-vw2f, GHSA-vj7q-gjh5-988w, GHSA-jpw9-pfvf-9f58, and GHSA-hvrp-rf83-w775.

This batch is durable for operators because the advisories expose reusable control-plane trust boundaries: namespace-owned Gateway API backends referenced without target-namespace consent, gateway extension validation reading controller-local files, xDS authentication gaps exposing control-plane resources, mesh clients sending bearer tokens over unverified HTTPS, browser-reachable MCP transports without origin/host controls, and MCP session/task identifiers used without principal or owner binding.

Authorized validation only

Keep proofs to disposable Kubernetes namespaces, lab mesh control planes, owned browser origins, local MCP canaries, fake tokens, and route/decision tables. Do not route production traffic through another tenant's backend, intercept real operator tokens, invoke dangerous MCP tools, read local user files, or use DNS rebinding against systems outside written scope.

What changed

Advisory Component Boundary Operator value
GHSA-fcrp-7gc2-93g7 Envoy Gateway before 1.7.4 and 1.8.0-rc.0 through 1.8.0 HTTPRoute extension-managed custom backendRef can target another namespace without a matching ReferenceGrant Test whether route authors can bind traffic to backend resources whose owner never granted cross-namespace consent.
GHSA-wcrf-9vrr-854f Envoy Gateway before 1.7.4 and 1.8.0-rc.0 through 1.8.0 EnvoyExtensionPolicy Lua validation path-normalization gaps can disclose controller-pod local files Validate extension-policy author boundaries with synthetic files and redacted decision tables, not service-account token capture.
GHSA-22xc-xg2r-9j7v Envoy Gateway in GatewayNamespaceMode before 1.7.4 / 1.8.1 xDS unary and SotW paths can bypass intended JWT checks Check whether in-cluster pods can fetch xDS resources with unauthenticated canary clients.
GHSA-v95x-xhq5-4929 Kuma / kumactl profile setup across vulnerable 1.x and 2.x lines HTTPS control-plane profile without a CA certificate disables TLS verification and sends API tokens over the unverified channel Validate mesh-admin workstation trust assumptions with fake control-plane profiles and token canaries, not live credential capture.
GHSA-wvmp-6r4v-j6cv Kuma / kuma-dp Universal mode across vulnerable 1.x and 2.x lines Data-plane HTTPS control-plane connection without CA disables peer verification and sends dataplane auth tokens Test Universal-mode data-plane bootstrap trust with synthetic tokens and owned control-plane endpoints.
GHSA-9h52-p55h-vw2f MCP Python SDK mcp before 1.23.0 FastMCP streamable HTTP or SSE servers on localhost/127.0.0.1 lacked default DNS-rebinding protection Reuse the existing local-service DNS-rebinding workflow against agent/MCP tools that expose unauthenticated local HTTP transports.
GHSA-vj7q-gjh5-988w MCP Python SDK WebSocket server transport before 1.28.1 Deprecated WebSocket transport accepted browser upgrades without SDK-level Host/Origin validation Validate browser-to-local MCP WebSocket reachability with canary tools only.
GHSA-jpw9-pfvf-9f58 MCP Python SDK SSE and stateful Streamable HTTP transports through 1.27.1 Session requests were routed by session ID without binding to the authenticated principal Test two-client session fixation/injection only with fake OAuth clients and canary JSON-RPC calls.
GHSA-hvrp-rf83-w775 MCP Python SDK experimental tasks 1.23.0 through 1.27.1 Default task handlers used task IDs without enforcing session ownership Validate cross-client task listing, result access, and cancellation with synthetic tasks.

Replayable validation boundaries

  1. Use a disposable cluster or explicitly approved tenant lab with at least two namespaces:
  2. route-ns controlled by the route author;
  3. backend-ns controlled by the backend owner.
  4. Deploy an inert backend in backend-ns that returns a unique marker string and no sensitive data.
  5. Confirm the negative control: a standard Gateway API cross-namespace reference should require a ReferenceGrant in backend-ns before route-ns can route to it.
  6. Create only extension-managed custom backend references that match the advisory precondition. Do not test with production Services, Secrets, or customer traffic.
  7. Record whether Envoy Gateway accepts the route and forwards traffic to the backend marker without a matching ReferenceGrant.
  8. Add controls for:
  9. patched Envoy Gateway versions;
  10. a valid ReferenceGrant present versus absent;
  11. same-namespace backend references;
  12. standard backend references that still enforce the consent model.

Report this as route namespace control -> extension-managed backendRef -> target namespace backend use without ReferenceGrant consent, extension policy author -> controller validation path -> synthetic local file disclosure, or in-cluster pod -> xDS Fetch/SotW path -> canary xDS resource access without expected JWT binding. Evidence should include object manifests with non-sensitive names, route status, gateway logs with markers only, xDS client decisions, and version data.

Kuma kumactl and kuma-dp unverified control-plane profiles

  1. Build a lab profile with a fake or low-privilege token. Never use a real admin token or dataplane auth token for interception evidence.
  2. Stand up an owned HTTPS endpoint with a certificate that should fail verification for the configured hostname.
  3. Add a vulnerable-style kumactl HTTPS control-plane profile without --ca-cert-file, or start a Universal-mode kuma-dp lab process without KUMA_CONTROL_PLANE_CA_CERT.
  4. Run a harmless read-only kumactl command or data-plane bootstrap attempt against the owned endpoint and capture whether the fake token is sent despite certificate mismatch.
  5. Repeat with patched Kuma and with an explicit CA certificate to show the corrected trust decision.

Report this as mesh CLI or data plane HTTPS profile without CA -> certificate verification disabled -> bearer/dataplane token exposed to attacker-controlled control-plane endpoint. Keep the captured token synthetic and redact hostnames if they reveal customer topology.

MCP Python SDK local transport and session-boundary probes

Use the existing DNS rebinding local-service testing workflow, constrained to MCP-specific preconditions:

  1. Launch a disposable FastMCP server with streamable HTTP or SSE transport on localhost/127.0.0.1, or a deprecated WebSocket transport only if the application explicitly wires it into an ASGI server.
  2. Expose only harmless canary tools/resources, such as whoami_canary, echo_canary, or a static resource named public-marker.
  3. From an owned browser origin and rebinding domain, test whether browser JavaScript can reach the local MCP endpoint after DNS answers rotate from public IP to loopback, or whether a cross-origin WebSocket can complete the MCP initialize flow.
  4. For authenticated SSE or stateful Streamable HTTP servers, use two fake OAuth clients and verify whether a request bearing one principal can inject canary JSON-RPC messages into a session created by another principal when only the session ID is known.
  5. If server.experimental.enable_tasks() is present, use two synthetic clients to test whether task listing, result retrieval, or cancellation is scoped to the creating session.
  6. Capture only request/response markers, origin headers, session/task IDs, and tool names. Do not expose file-reading, shell, cloud, credential, or browser-control tools during the test.
  7. Repeat against fixed versions (mcp 1.23.0 for DNS-rebinding defaults, 1.27.2 for task ownership, 1.28.1 for WebSocket origin/host validation, or the relevant patched HTTP transport) or an explicit TransportSecuritySettings configuration as a negative control.

Report this as browser-origin DNS rebinding or WebSocket reachability -> local MCP transport -> canary tool/resource invocation, session ID without principal binding -> cross-client JSON-RPC injection, or task ID without owner binding -> cross-client task read/cancel.

Operator checklist

  • Does the Gateway API route cross a namespace boundary, and is a target-namespace ReferenceGrant absent?
  • Is the backend reference standard Gateway API behavior or extension-managed custom behavior?
  • Can extension-policy and xDS evidence be reduced to synthetic files/resources and route/auth decision tables?
  • Can all Kubernetes evidence be reduced to synthetic namespaces, marker Services, and route status tables?
  • Does any kumactl or Universal-mode kuma-dp profile point at HTTPS without an explicit CA or publicly trusted serving certificate?
  • Are mesh CLI and dataplane token proofs synthetic, low-privilege, and captured only on owned infrastructure?
  • Are local MCP HTTP/SSE/WebSocket servers unauthenticated or weakly authenticated, loopback/LAN-bound, and reachable from a browser origin?
  • Are MCP session and task IDs bound to the authenticated principal and creating session?
  • Are dangerous MCP tools disabled during validation?

November 12 follow-up: grpc-js-xds silently drops VirtualHost and Route RBAC overrides (GHSA-gg5j-6742-v827, CVE-2026-128065)

Source: GHSA published 2026-11-12 22:55Z. @grpc/grpc-js-xds >= 1.14.0, < 1.14.2 ACKs xDS resources containing RBACPerRoute overrides but evaluates every RPC under the broader top-level policy. Three independent breaks, all fail-open and all silent:

  1. parseOverrideFilterConfig() looks up the filter registry using the override message type URL (...rbac.v3.RBACPerRoute) while setup() registers the RBAC filter only under the top-level type (...rbac.v3.RBAC): the lookup returns null and server.ts skips the override without error.
  2. overrideConfigMaps is documented as keyed by HTTP filter name but stored keyed by typeUrl; route typed_per_filter_config entries keyed by HttpFilter.name (e.g. rbac) therefore never find their map.
  3. handleRouteConfigurationResource() reads route.typed_per_filter_config and never reads virtualHost.typed_per_filter_config, so VirtualHost-scoped tightenings are invisible.

Operator value for service-mesh and gateway pentests: this is the config-plane analog of parse-vs-connect. The control plane believes it delivered a stricter per-route/per-vhost policy, the ACK says "applied," and the data plane enforces the broad default. The decision surface to probe on any xDS-consuming server (grpc-xds, Envoy-compatible custom data planes, proxyless gRPC): (a) canary per-route RBAC deny under a broad top-level ALLOW and check whether the deny actually fires, (b) same test at the VirtualHost scope, (c) fingerprint the key-vs-registry mismatch class by grepping the data-plane source for registry lookups where the lookup key is the payload type rather than the registered filter name, and for map writes keyed on a field the readers do not use. A key-vs-name mismatch inside a policy engine is almost always fail-open because a missed lookup falls through to the default branch, not to a hard error. Report shape: control-plane delivers per-route deny -> ACK -> RPC evaluates top-level ALLOW -> canary method reachable; evidence is the ACK state plus the method-call decision table, with GRPC_XDS_EXPERIMENTAL_RBAC=true noted as the feature gate precondition.

November 12 second follow-up: grpc-js-xds safe_regex matchers lose anchors to top-level alternation, ALLOW rules widen to partial string matches (GHSA-r7hq-q2xm-6c5m, CVE-2026-126367, @grpc/grpc-js-xds < 1.14.2 / < 1.13.2)

The sibling fail-open on the same data plane, this time inside the matcher itself: SafeRegexValueMatcher and PathSafeRegexValueMatcher compile the target as new RE2(`^${targetRegex}$`) without a surrounding group, so a config regex using top-level alternation (the natural way to list methods or service identities, e.g. admin|editor) compiles to /^admin|editor$/: "starts with admin" OR "ends with editor". These matchers back route selection, xDS credentials, and every RBAC decision path (url_path permissions/principals, authenticated.principal_name mTLS SAN/CN, requested_server_name, header rules), so an ALLOW rule written with alternation silently grants any method name, certificate identity, or header value that extends an intended branch (XadminY, editorZ). DENY rules only broaden, which is fail-safe, so the bug is invisible from the deny side and exploitable only through allow rules. Advisory ships a runnable PoC calling the exported RBAC engine directly (no server, no network).

Operator rules extending this page:

  • Anchor-dilution audit on every "config regex" field: any matcher built as ^${userRegex}$ (or the same in Java/Go/JS policy engines) misbinds anchors under |, and alternation is the expected config idiom for allow-lists, so these bugs ship in production configs. Black-box battery: for any allow-listed enum surface behind a policy engine, probe prefix<target>suffix shapes that only satisfy an unanchored branch (method names, SAN strings, server names, header values); a match that no intended full-string alternative describes is the proof.
  • Pair with the gg5j leg above as one xDS-policy fail-open suite: gg5j = override never applied (control-plane trust broken), r7hq = applied rule matches too much (rule grammar broken). Both are ACK-silent, so probe with per-rule canaries (deny must deny, allow must reject near-miss identities), not by trusting ACK state.
  • Report shape: quote the exact config regex, the compiled /^a|b$/ form (the PoC prints SafeRegex(/^admin|editor$/u) as the tell), and one accepted identity/header/method that the intended rule set excludes; bound proofs to test services you control.

November 13 follow-up: Kroxylicious ACL rules-file parser unquotes regex literals with string rules, escapes die and ALLOW rules widen (GHSA-655w-c5cf-wj5f, CVE-2026-128424, medium)

The Kafka proxy's matching /…/ regex literals in the ACL authorizer's rules file are unquoted using the string-unquoting routine instead of a regex-aware one, which strips every backslash escape before compilation. matching /orders\.v1/ becomes regex orders.v1 (dot = any char, so ordersXv1 passes), and character classes lose their meaning (\d → literal d, \w → literal w). Author-intended narrow allow rules silently grant more topics/transactions than written; DENY rules only narrow, so like the r7hq leg above, the failure is asymmetric and visible only from the allow side.

Operator rules extending the page's policy-grammar doctrine:

  • Quote-handling is a parser-grammar decision, and reuse of the wrong unquoter is a silent rule-widener. For any policy file with both string literals and regex literals (ACLs, rate-limit matchers, WAF rules, routing predicates): test an allow rule containing \. and [\d] shapes and probe near-miss resources (ordersXv1, d, w literals) against it. A generic "strip backslashes" tokenizer shared between string and regex syntaxes is the code fingerprint (white-box grep: one unescape function called from both literal grammars).
  • Third leg of the same trio as gg5j (override never applied) and r7hq (anchors misbind): rule never meant what it says. Standing audit for any authorization proxy/message-broker gateway in scope: per-rule canary suite with intended-match positives, near-miss negatives (.-substitution, alternation-extension, case/prefix/suffix shapes), and deny-side confirmations. All three bugs are config-silent; only crafted negatives reveal them. Proofs bound to topics you own.

November 21 follow-up: NATS Server leafnode connections never consult the message-trace destination permission, trace metadata leaks to subjects the tenant could not publish to (GHSA-p3j5-5hrq-p75h / CVE-2026-58254, medium, fixed 2.12.8 / 2.14.3)

NATS Server applied Nats-Trace-Dest destination permission checks to ordinary client connections but not consistently to messages arriving over leafnode connections, so a leafnode operator could steer trace events onto subjects that account permissions would otherwise deny. The trace events carry routing, subscription, account, service-import, and JetStream metadata (not the original payload), and trace-only behavior could also suppress normal delivery or storage of the affected messages. Fixed in 2.12.8 and 2.14.3 (vulnerable: v2.14.2, v2.12.7 and below). Rules: - Connection-class parity is a standing battery for every messaging/RPC server with multiple ingress types. Permission/ACL checks written for the client path must be re-run per connection class: leafnode, route/gateway, websocket, MQTT, and any inter-server hop. The probe shape: identify a check that exists on one class (here, trace-destination authorization on clients), craft the equivalent operation through each alternate class, and diff the outcomes. Same axis as this page's config-plane write-key-vs-read-key legs: the check exists, the call site on the second path is missing. - Side-channel metadata planes are disclosure surfaces worth probing even when the payload is out of reach. Tracing/debug headers (Nats-Trace-Dest, Jaeger-style propagation, X-Trace families) typically expose topology, subject inventory, account names, and import maps, i.e. exactly the recon an operator wants from a pub-sub broker that is otherwise well ACL'd. Enumerate every header-shaped tracing hook and test destination control from each trust tier, including co-tenant leaf operators. - Audit-side grep: for any per-message authorization function, grep -rn its call sites and confirm each connection-class ingress (client parser, leafnode parser, route parser) reaches it; an authorization helper called only from the client path is this bug's shape in any Go/Java/Rust broker. - Validation: two disposable NATS servers you own with synthetic accounts/subjects and your own leafnode credentials; observe which subjects receive trace events; never steer traces in someone else's fleet.

November 27 follow-up: Payload CMS trusts the client-supplied upload collection instead of the server-selected one, upload-scoped users read files outside their collection (CVE-2026-137936 / GHSA-4cvv-hwx9-xv6h, medium, 3.25.0 before 3.90.0 and 4.0.0-canary before 4.0.0-canary.34)

The headless-CMS wave adds a clean instance of the client-chooses-the-namespace axis: Payload's client upload handling used the upload collection supplied by the client rather than the one the server resolved for the request. In multi-upload-collection deployments, an authenticated user with upload permission on collection A can reach files in collection B by naming B in the request. Permission was checked against the right capability, wrong object space.

Operator rules:

  1. Server-derived namespace vs client-declared namespace is a grep-able decision on every file/upload API. For each upload/download endpoint, ask: which string identifies the bucket/collection/tenant, where did it come from (session, route, DB record) or from the request (field, query param, path segment)? A request-sourced namespace paired with a capability check that ignores the namespace = this bug. Battery: with user-U holding upload rights on collection A only, replay upload/read/delete requests declaring collection B; positive = any cross-collection bytes moved or returned.
  2. Capability checks that validate the verb but not the noun pair are the standing confused-deputy shape on this page (the grpc-js-xds write-key/read-key mismatch is the config-plane twin). Report framing: the ACL model is per-collection, the enforcement path is not.
  3. Validation: two disposable collections in your own Payload instance with synthetic files; never enumerate real tenants.

Reporting notes

  • Lead with the trust invariant that failed: namespace consent, TLS server identity, or browser-to-localhost origin isolation.
  • Avoid publishing reusable exploit manifests for shared clusters; use minimal object snippets or redacted route tables.
  • For MCP findings, include the SDK version, transport, bind host, authentication state, session/task owner model, and the exact canary tool/resource invoked.
  • For Kuma findings, do not claim production compromise unless a real profile, network path, and token exposure were approved and observed. Prefer synthetic-token proof.
  • For Envoy Gateway findings, avoid collecting service-account tokens or TLS private keys; use mounted marker files, fake Secrets, and xDS canary resources to prove the parser/auth boundary.