# wasmCloud v2.13.1

2026-12-04 · [Original release notes](https://github.com/wasmCloud/wasmCloud/releases/tag/v2.13.1) · [Full summary](https://ratatosk.io/en/releases/wasmcloud/v2.13.1)

Security 10 · Breaking changes 6 · Important fixes 6 · Enhancements 2 · Other changes 25

## Check before upgrading

### Prerequisites

- **runtime-operator upgrade order documented**: Rolling the operator and hosts together with the `runtime-operator` chart can cause a temporary broker-bind problem.
  > * fix(runtime): harden workload identity and credential brokering by @vados-cosmonic in https://github.com/wasmCloud/wasmCloud/pull/6108

## Security (10)

### Direct OAuth token handoff now checks subject lease authority

- Affects: workloads or integrations using direct OAuth token exchanges based on workload identity (Inferred)

An exchange fails when no lease authority remains; otherwise, the returned token lifetime is capped at the time left on the lease.

> * fix(runtime): harden workload identity and credential brokering by @vados-cosmonic in https://github.com/wasmCloud/wasmCloud/pull/6108

### URI user information removed from credential audit events

- Affects: credential audit events for outgoing URIs with user information (Inferred)

When a rejected request carried user information in its authority, that information could be included in the credential audit event before this release.

> * fix(runtime): harden workload identity and credential brokering by @vados-cosmonic in https://github.com/wasmCloud/wasmCloud/pull/6108

### Egress-secret query checks now reject normalized duplicate names

- Affects: egress-secret requests with query parameter names that a lenient upstream server may merge with the secret parameter

Previously, a case-variant duplicate such as `?key=<PH>&KEY=…` passed the check, letting a case-insensitive server splice guest text next to the secret. The check now covers Unicode case folding, dot/space-to-underscore conversions, surrounding whitespace, and bracket suffixes.

> * fix(wash-runtime): egress secret follow-ups from #5986 review by @vados-cosmonic in https://github.com/wasmCloud/wasmCloud/pull/6107
> - 8c4dab67bdd3 fix(wash-runtime): fold lenient query names and tighten #6107 follow-ups (Bailey Hayes)

### Ingress gateway trust policy filters protected headers and trailers

- Affects: Ingress built with `IngressBuilder`, including gateway traffic with custom routing headers or trailers and local routing
- Additional action: By default, `X-Workload-Id` is trusted only with a listener-verified peer client certificate. Additional headers require `IngressBuilder::protected_gateway_headers` and a gateway trust check, and the gateway must replace client-supplied values.

If a gateway peer does not pass the trust check, its protected headers and trailers are stripped before routing; additional headers are covered only when configured as protected. Protected fields are always stripped from local-routing requests.

> * fix(wash-runtime)!: harden embedded HTTP trust boundaries by @ricochet in https://github.com/wasmCloud/wasmCloud/pull/6111

### wash-runtime secret comparisons now ignore ASCII case

- Affects: wash-runtime echoed-secret and secret query-parameter handling (Inferred)

Previously, an upstream could reflect a mixed-case secret in a response field name and have it reach the guest, or a case-variant duplicate query parameter could pass the pollution check and splice guest text beside the secret. These names are now compared ignoring ASCII case.

> - 5fd7320ff372 fix(wash-runtime): match echoed secrets and duplicate parameters ignoring case (Victor Adossi)

https://github.com/wasmCloud/wasmCloud/compare/v2.13.0...v2.13.1

### Federated SPIFFE certificates validated against shared leaf profile

- Affects: deployments using workload-identity SPIFFE certificates

Federated issuer certificates must declare `CA=false` and use critical digital-signature key usage without CA-signing usages. When extended key usage is present, it must permit the TLS role being verified.

> * fix(runtime): harden workload identity and credential brokering by @vados-cosmonic in https://github.com/wasmCloud/wasmCloud/pull/6108

### Mixed-case reflected-secret exposure fixed in egress response scanning

- Affects: egress-credential requests

When an upstream reflected a secret in a response header field name with different ASCII case, the exact comparison could miss it and pass the field to the guest. Header names are now compared ignoring ASCII case, preventing the reflected secret from reaching the guest.

> * fix(wash-runtime): egress secret follow-ups from #5986 review by @vados-cosmonic in https://github.com/wasmCloud/wasmCloud/pull/6107

### Explicit security hooks required for `HostHandler`

- Affects: Rust implementations of `HostHandler`, including wrappers and standalone HTTP transports
- Additional action: HTTP handler wrappers must forward the egress address gate, workload credentials, broker hooks, and attested requests; existing `HostHandler` implementations must explicitly implement the five hooks.

Omitting a required security hook is now a build error.

> * fix(wash-runtime)!: harden embedded HTTP trust boundaries by @ricochet in https://github.com/wasmCloud/wasmCloud/pull/6111

### URI userinfo redacted in runtime credential audits

- Affects: runtime credential audits (Inferred)

When an audit includes a URI with userinfo, that userinfo is now redacted.

> - 2f2cef5e1065 fix(runtime): redact URI userinfo in credential audits (Victor Adossi)

https://github.com/wasmCloud/wasmCloud/compare/v2.13.0...v2.13.1

### Embedded HTTP trust boundaries hardened in `wash-runtime`

- Affects: setups using `wash-runtime`'s embedded HTTP (Inferred)

> - 5694c3a92e56 fix(wash-runtime)!: harden embedded HTTP trust boundaries (Bailey Hayes)

https://github.com/wasmCloud/wasmCloud/compare/v2.13.0...v2.13.1

## Breaking changes (6)

### One live host per `WorkloadCredentials` store

- Affects: Rust embedders or runtimes sharing a `WorkloadCredentials` store across live hosts
- Action required: When reusing the store for another host, the previous host must be gone and its workload-credential bindings must be empty.

Evidence: “workload credentials already belong to a live host” https://github.com/wasmCloud/wasmCloud/pull/6108

> * fix(runtime): harden workload identity and credential brokering by @vados-cosmonic in https://github.com/wasmCloud/wasmCloud/pull/6108

### Operator enforces the complete signed-lease size limit

- Affects: Workload-identity policies or placements that produce a complete compact signed lease over 65,536 bytes

These setups now fail with an error instead of producing a lease.

Evidence: “The operator and host limit the complete compact JWS to 65,536 bytes.” https://github.com/wasmCloud/wasmCloud/pull/6108

> * fix(runtime): harden workload identity and credential brokering by @vados-cosmonic in https://github.com/wasmCloud/wasmCloud/pull/6108

### Identity handling now validates federated SVID leaf constraints

- Affects: setups using federated SVIDs (Inferred)

> - ceb2f6b0dcea fix(identity)!: validate federated SVID leaf constraints (Victor Adossi)

https://github.com/wasmCloud/wasmCloud/compare/v2.13.0...v2.13.1

### Broker enforces subject leases during direct token handoff

- Affects: broker direct token handoff (Inferred)

> - 16d60a429ea7 fix(broker): enforce subject lease at direct token handoff (Victor Adossi)

https://github.com/wasmCloud/wasmCloud/compare/v2.13.0...v2.13.1

### Credential stores bound to one host

- Affects: setups using identity credential stores (Inferred)

> - 9f58f6b5392b fix(identity): bind each credential store to one host (Victor Adossi)

https://github.com/wasmCloud/wasmCloud/compare/v2.13.0...v2.13.1

### Host wire limit enforced on signed leases

- Affects: setups that use signed leases

> - 2af17af7d0b3 fix(operator): enforce the host wire limit on signed leases (Victor Adossi)

https://github.com/wasmCloud/wasmCloud/compare/v2.13.0...v2.13.1

## Important fixes (6)

### Workload-identity heartbeat compatibility fixed

- Affects: hosts and operators exchanging workload-identity capability in heartbeats (Inferred)

Older operators could not register hosts unless identity support was advertised in heartbeat labels, and the operator did not accept the field sent by existing identity-aware hosts. Hosts now advertise identity support in labels, and operators accept either the label or the legacy field.

> * fix(runtime): harden workload identity and credential brokering by @vados-cosmonic in https://github.com/wasmCloud/wasmCloud/pull/6108

### Automatic identity workload reassignment after confirmed stop

- Affects: identity-referenced workloads with automatic host placement

If a start was dispatched but its reply was lost, and the workload is found on a host that lacks its identity requirements, the operator stops it and waits for confirmation that it is absent before selecting another identity-capable host. Pinned-host workloads instead return an incompatibility condition.

> * fix(runtime): harden workload identity and credential brokering by @vados-cosmonic in https://github.com/wasmCloud/wasmCloud/pull/6108

### Operator cache preserves pending-stop ConfigMaps for replay

- Affects: pending-stop replay with embedded operator cache options and workload namespace selectors or transforms

Previously, workload cache selectors or transforms could hide pending-stop records or remove data needed by the replay index. The operator-namespace cache now uses unfiltered label and field selectors and strips managed fields, keeping those ConfigMaps available for replay.

> * fix(operator): share the pending-stop cache configuration by @ricochet in https://github.com/wasmCloud/wasmCloud/pull/6112

### Operator reselects incompatible automatic identity placements

- Affects: setups using automatic identity placements

> - 892ae594954f fix(operator): reselect incompatible automatic identity placements (Victor Adossi)

https://github.com/wasmCloud/wasmCloud/compare/v2.13.0...v2.13.1

### Broker accepts absolute URI resource indicators

- Affects: broker resource indicators (Inferred)

> - 2be9e48d8961 fix(broker): accept absolute URI resource indicators (Victor Adossi)

https://github.com/wasmCloud/wasmCloud/compare/v2.13.0...v2.13.1

### Single-role EKU support added for federated X.509-SVIDs in Identity

- Affects: setups using federated X.509-SVIDs with a single-role EKU

> - c08f736ee2a2 fix(identity): allow single-role EKU for federated X.509-SVIDs (Bailey Hayes)

https://github.com/wasmCloud/wasmCloud/compare/v2.13.0...v2.13.1

## Enhancements (2)

- Token exchange accepts absolute URI resource indicators
- Embedded operator cache settings via `EmbeddedOperatorConfig.CacheOptions` (To use: Use `cfg.CacheOptions(...)` when constructing the manager, with `Namespace` set beforehand.)

## Other changes (25)

- Identity-lease polling bound scoped to identity-bearing workloads
- Ingress-host conflict scan skips grants with no host names
- Split-TLS gRPC pools in `wash-runtime` use the shared pool builder
- Runtime identity advertised through compatible heartbeat labels
- Operator renewal polling scoped to identity workloads
- Identity skips ingress scans for grants without hostnames
- `wash-runtime` per-origin gRPC pools keep one idle connection per host
- `wash-runtime` boxes its per-origin gRPC pool builder
- Operator shares pending-stop cache configuration
- wash-runtime host egress delegated through one trait
- wash-runtime gateway header trust check updated
- runtime-operator reconciler file updated
- Change to `runtime-operator/cmd/main.go`
- Runtime host controller updated
- Runtime host controller tests updated
- Host pod controller update in `runtime-operator`
- Runtime identity lease test changes
- Runtime operator workload controller updated
- Runtime workload controller tests updated
- Runtime workload route controller updated
- `runtime-operator` updated
- Runtime operator test updates
- Workload identity lease code updated
- Workload identity lease tests changed
- End-to-end test file updated

---

Summaries are produced by AI, so they can be wrong, and they are provided without warranty.
