# wasmCloud v2.12.3

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

Security 14 · Breaking changes 9 · Important fixes 11 · Enhancements 1 · Dependency updates 5 · Other changes 15

## Security (14)

### Host NATS connections reject incomplete TLS settings and `ws://` or `wss://` URLs

- Affects: Host NATS connections

Previously, either condition could connect without the requested client-certificate or TLS protection and without an error. Now the host fails to start before connecting or consuming the startup retry window.

> * fix(wash-runtime): refuse half a client certificate and WebSocket URLs for host NATS by @officialasishkumar in https://github.com/wasmCloud/wasmCloud/pull/5925

### OCI pulls now fetch only the first Wasm component layer

- Affects: OCI image pulls with `wash-runtime`

Previously, pulls downloaded the config and every layer, even though only the first Wasm layer was used. Layers whose media type is not a Wasm component type are now rejected.

> * fix(wash-runtime): bound OCI pull size and memory by @ricochet in https://github.com/wasmCloud/wasmCloud/pull/6018

### TLS-configured NATS connections ignore `INFO`-advertised servers

- Affects: Host NATS connections and `wasmcloud:nats` bindings, including the NATS blobstore, configured to use TLS

Previously, a `tls://` connection without a TLS CA, client certificate, or TLS-first setting could add servers advertised in plaintext `INFO` to its reconnect pool and follow them on reconnect. It now stays with its configured servers; in a mixed `nats://` and `tls://` list, the `nats://` servers do not thereby require TLS.

> * fix(wash-runtime): ignore advertised NATS servers on tls:// connections by @ricochet in https://github.com/wasmCloud/wasmCloud/pull/6028

### OCI component pulls now enforce layer-size limits

- Affects: OCI component pulls with `wash-runtime`

Previously, a registry serving a very large component layer could make `wash-runtime` allocate unbounded memory. Pulls now reject negative or over-limit declared sizes before downloading (256 MiB by default, configurable through `OciConfig::max_component_size` and `with_max_component_size()`), and cut off layers that exceed their declared size.

> * fix(wash-runtime): bound OCI pull size and memory by @ricochet in https://github.com/wasmCloud/wasmCloud/pull/6018

### Stalled OCI pulls now time out

- Affects: setups that pull OCI components from registries

A stalled registry could previously hold a pull until the caller's overall deadline, or indefinitely if there was no deadline. Pulls now fail if connecting takes more than 30 seconds or a read receives no data for 60 seconds; reads that keep making progress are not cut off, and push clients are unchanged.

> * fix(wash-runtime): bound OCI pull size and memory by @ricochet in https://github.com/wasmCloud/wasmCloud/pull/6018

### Host component plugin volume mounting

- Affects: host component plugin entries in the runtime-operator chart

The chart previously rejected `volumes` and `volumeMounts` in these entries; configured volumes now mount under `/var/lib/wasmcloud/host-plugin-volumes/<id>/<name>`, and that directory is passed to `wash host` as the plugin volume's `hostPath`. Node `hostPath` sources must be within `pluginHostPaths.allowed`, which is empty by default; plugin volume directories are now reserved for the host's whole life rather than only while the plugin is loaded.

> * feat(runtime-operator): mount volumes into host component plugins by @ricochet in https://github.com/wasmCloud/wasmCloud/pull/6011

### Host socket address policy enforced for HTTP and gRPC egress

- Affects: HTTP or gRPC egress, including pooled connections and the gRPC fallback

Previously, a permitted hostname could resolve to loopback, cloud metadata, or a host-owned listener without the policy being checked against the dialed address; `allowedHosts` alone also allowed access to loopback and other blocked special ranges. The policy now checks dialed addresses while preserving the original HTTP Host and TLS SNI, so local backends that relied on `allowedHosts` alone are no longer automatically reachable through those addresses.

> * fix(runtime)!: apply host address policy to HTTP egress by @ricochet in https://github.com/wasmCloud/wasmCloud/pull/6000

### OCI layer allocation failures now fail pulls instead of aborting the host

- Affects: setups that pull OCI components

Previously, a very large manifest layer declaration could reserve up to the size limit for every concurrent pull before bytes arrived; with a limit near `u64::MAX`, an oversized declaration could abort the host. The buffer now starts at no more than 8 MiB and grows as bytes arrive.

> * fix(wash-runtime): grow OCI layer buffer as bytes arrive by @ricochet in https://github.com/wasmCloud/wasmCloud/pull/6024

### `hstore` decoding checks fixed in the PostgreSQL plugin

- Affects: `wash-runtime` PostgreSQL plugin decoding of `hstore` (Inferred)

Previously, a guest-defined type named `hstore` could encode an enormous entry count, triggering an approximately 100 GB allocation and aborting the host, taking down its workloads. The plugin now rejects named types that are not base types and treats counts exceeding the available bytes as errors; memory reservation is bounded by the value length.

> * fix(postgres): bound hstore and array decode allocations by value length by @ricochet in https://github.com/wasmCloud/wasmCloud/pull/6022

### PostgreSQL array decoding allocation bounds

- Affects: setups using the `wash-runtime` PostgreSQL plugin to decode arrays

A server-supplied count could trigger an oversized allocation and abort the host; exploiting this required a malicious server or a man-in-the-middle on an unencrypted connection. Now overstated counts are errors, and memory reserved during decoding is limited by the value's own length.

> * fix(postgres): bound hstore and array decode allocations by value length by @ricochet in https://github.com/wasmCloud/wasmCloud/pull/6022

### Runtime-operator rejects unsafe host plugin volume sources

- Affects: Runtime-operator chart configurations with host plugin volumes using `gitRepo` or `flexVolume`, including read-only mounts
- [CVE-2024-10220](https://www.cve.org/CVERecord?id=CVE-2024-10220)

Previously, the chart accepted these volume sources even though they can execute commands on the node. Helm rendering now fails for either source and identifies the plugin and volume.

> * fix(charts)!: reject unsafe plugin volume sources by @ricochet in https://github.com/wasmCloud/wasmCloud/pull/6030

### `wasmtime-wasi` Windows sandbox escape fixed

- Affects: Windows setups using `wasmtime-wasi` 48.x with WASI filesystem access exposed to guest components (Inferred)
- GHSA-f2pq-268w-886c, [RUSTSEC-2026-0587](https://osv.dev/vulnerability/RUSTSEC-2026-0587)

With `wasmtime-wasi` 48.0.9, a drive-prefixed path component could escape the WASI filesystem sandbox on Windows. With 48.0.10, this escape is fixed.

> * fix(deps): bump wasmtime to 48.0.10 for RUSTSEC-2026-0587 by @ricochet in https://github.com/wasmCloud/wasmCloud/pull/6036

### HTTP egress and fallback destination checks tightened

- Affects: HTTP egress with private ranges allowed and the custom-handler gRPC fallback

When private ranges were allowed, requests to Alibaba Cloud metadata or Azure WireServer could pass, and restricted IPv4 addresses embedded in compatible IPv6, well-known NAT64, or 6to4 destinations were not blocked. Those destinations are now blocked, and the custom-handler gRPC fallback rejects non-HTTP(S) schemes before dialing; previously, it could dial with those schemes.

> * fix(wash-runtime): close HTTP egress policy bypasses by @ricochet in https://github.com/wasmCloud/wasmCloud/pull/6032

### fix(runtime)!: grant localhost HTTP access without raw sockets by @ricochet in https://github.com/wasmCloud/wasmCloud/pull/6031

- Affects: Not stated in the release notes

> * fix(runtime)!: grant localhost HTTP access without raw sockets by @ricochet in https://github.com/wasmCloud/wasmCloud/pull/6031

## Breaking changes (9)

### WIT dependency fetching now follows `wit.skip_fetch` in `wash build`

- Affects: `wash build` runs with `wit.skip_fetch: true` configured and `--skip-fetch` omitted

Previously, omitting `--skip-fetch` overrode the setting and fetched WIT dependencies, which could fail offline or when a dependency was not published to a registry. With dependencies already local, the build can now succeed without contacting a registry, but the flag still cannot force a fetch when the configuration says to skip.

Evidence: “`wit.skip_fetch: true` in `.wash/config.yaml` (or the user config) has no effect on `wash build`. WIT dependencies are fetched anyway, and the build fails wherever the fetch can't succeed: offline, or for a package that isn't published to any registry.” https://github.com/wasmCloud/wasmCloud/pull/6004

> * fix(wash): honor `wit.skip_fetch` from config in `wash build` by @jfleitz in https://github.com/wasmCloud/wasmCloud/pull/6004

### Stable `WorkloadReplicaSet` names and template reuse

- Affects: WorkloadDeployments managed by runtime-operator (Inferred)

Previously, when a new set’s `ADD` event requeued reconciliation before the status update reached the cache, the rollout could create a duplicate, needlessly starting and stopping the workload. Returning to a template whose set still exists now keeps its workloads running; existing sets retain random names until the next template change.

Evidence: “Going back to a template whose set still exists, for example reverting during a rollout, now rolls out to that set instead of creating a copy. Its workloads keep running. Sets that already exist keep their random names and are unaffected until the next template change.” https://github.com/wasmCloud/wasmCloud/pull/5923

> * fix(runtime-operator): create one WorkloadReplicaSet per deployment template by @officialasishkumar in https://github.com/wasmCloud/wasmCloud/pull/5923

### PostgreSQL parameter binding now rejects mismatched values

- Affects: PostgreSQL parameter bindings in the wash-runtime plugin (Inferred)

Previously, some string and byte values whose encoded bytes did not match the parameter type could reach PostgreSQL and be read as a different value without an error. Such mismatches now return `WrongType` (reported as `invalid-params`); compatible bindings continue to work.

Evidence: “Behavior changes: values that used to reach the server and happen to work are now refused, such as `text` bound to `bytea`, `json` bound to `text`, or `varchar` bound to `ltree`. `ts-query` and `pg-snapshot` bound to `tsquery` and `pg_snapshot` are refused, since their text is not the binary form of those types. Bind them with the matching variant or cast in SQL (`$1::text`).” https://github.com/wasmCloud/wasmCloud/pull/5850

> * fix(wash-runtime): refuse postgres string and byte values for types that misread them by @RaphaelFakhri in https://github.com/wasmCloud/wasmCloud/pull/5850

### Workload volume admission validation tightened

- Affects: Workload volume declarations with both `ephemeral` and `hostPath`, duplicate or non-DNS-label names, or more than 64 entries

Previously, setting both `ephemeral` and `hostPath` made the operator drop `hostPath` and use scratch space; duplicate names left the host using whichever came last, and non-DNS-label names were accepted. Admission now rejects those invalid declarations, and the CRD limits the `volumes` list to 64 entries.

Evidence: “- **Admission:** a CEL rule makes `ephemeral` and `hostPath` mutually exclusive. `volumes` becomes a list map keyed by `name`, so duplicates are rejected, and `name` must be a DNS label (63 characters at most).” https://github.com/wasmCloud/wasmCloud/pull/6023

> * fix(runtime-operator): validate Workload volumes and mounts by @ricochet in https://github.com/wasmCloud/wasmCloud/pull/6023

### P3 trigger restarts now retry refused ingress registrations

- Affects: P3 trigger services that register HTTP or messaging ingresses with the host

Previously, a refused re-registration was only logged and the driver started anyway, so the service could exit or run without that ingress until a later guest fault. Now a refusal blocks the restart until a retry succeeds or the restart budget is exhausted; each refusal uses one restart and adds 200 ms of backoff up to 5 seconds, partial registrations are closed and retried with fresh channels, and an HTTP refusal also pauses messaging and dispatch, with calls queued during that attempt ending with it.

Evidence: “The trade-off is that a service whose HTTP registration is refused also pauses its messaging (and dispatch) ingress until the retry succeeds, as it does during any restart. With dispatch claimed, calls queued during a refused attempt end with that attempt, as they do when an incarnation faults.” https://github.com/wasmCloud/wasmCloud/pull/5999

> * fix(wash-runtime): spend trigger-service restarts on refused re-registration by @officialasishkumar in https://github.com/wasmCloud/wasmCloud/pull/5999

### Undefined-volume mounts rejected during `Workload` config checks

- Affects: component or service volume mounts in a `Workload` that reference undefined volumes

Previously, a mount could name a volume that was not defined; the host started the component without that mount and logged a warning. Now the operator refuses the `Workload` during its config check before choosing a host, and the `Config` condition identifies the component or service and missing volume.

Evidence: “- **Mount references are checked by the operator.** A CEL rule matching each mount to a volume exceeds the CRD cost budget by more than 100x unless new `maxItems` limits are added to `components` and `volumeMounts`. Instead, `materializeWorkload` refuses the Workload during the config check, before a host is chosen. The Config condition names the component (or service) and the missing volume.” https://github.com/wasmCloud/wasmCloud/pull/6023

> * fix(runtime-operator): validate Workload volumes and mounts by @ricochet in https://github.com/wasmCloud/wasmCloud/pull/6023

### HostHeartbeat start time now uses `std::time::SystemTime`

- Affects: Rust code using the public `HostHeartbeat::started_at` field (Inferred)

Previously, this field used `chrono::DateTime<chrono::Utc>`. Heartbeat messages still carry seconds and nonnegative nanoseconds.

Evidence: “- `HostHeartbeat::started_at` is now `SystemTime`; use `elapsed()` for uptime or `duration_since(UNIX_EPOCH)` for Unix timestamps.” https://github.com/wasmCloud/wasmCloud/pull/6019

> * refactor(runtime)!: use Jiff for durations and timestamps by @ricochet in https://github.com/wasmCloud/wasmCloud/pull/6019

### wash duration parsing switches to Jiff's friendly format

- Affects: wash CLI flags or runtime configuration that provide duration values
- Action required: Duration values must be rewritten to conform to Jiff's friendly format before upgrading; for example, use `1h30m`, `2h`, `2h`, and `12h` instead of `30m1h`, `1h1h`, `1.5h30m`, and `0.5d`.

The previous `humantime` parser accepted duration forms that Jiff rejects, including `30m1h`, `1h1h`, `1.5h30m`, and `0.5d`. Jiff requires units in descending order without repeats and fractions last; months, years, and fractional days are rejected, while days and weeks are fixed multiples of 24 hours.

Evidence: “Compared with humantime, rewrite `30m1h` as `1h30m`, `1h1h` as `2h`, and `1.5h30m` as `2h`. +Use `12h` instead of a fractional day such as `0.5d`.” https://github.com/wasmCloud/wasmCloud/pull/6019

> * refactor(runtime)!: use Jiff for durations and timestamps by @ricochet in https://github.com/wasmCloud/wasmCloud/pull/6019

### wasmCloud Rust source-build requirements raised

- Affects: wasmCloud source builds using Rust below 1.98.0
- Action required: Rust 1.98.0 or later for production builds; Rust 1.100.0 for development and tests

Evidence: “Pin development and tests to Rust 1.100.0 and raise the production MSRV to 1.98.0, matching Wasmtime main.” https://github.com/wasmCloud/wasmCloud/pull/6034

> * chore!: upgrade to Rust 1.100 and MSRV 1.98 by @ricochet in https://github.com/wasmCloud/wasmCloud/pull/6034

## Important fixes (11)

### runtime-operator ReplicaSet reuse now checks template metadata

- Affects: WorkloadDeployments with changes to `spec.template.labels` or `spec.template.annotations`

During an A → B → A rollback, the controller could reuse A’s ReplicaSet with old metadata and report the Deployment synced. Metadata-only updates now create a matching ReplicaSet, while existing sets with matching templates remain synced.

> * fix(runtime-operator): honor deployment template metadata by @ricochet in https://github.com/wasmCloud/wasmCloud/pull/6008

### Host deletion now checks object identity and resource version

- Affects: Hosts managed by the runtime-operator

If a Host changes after a deletion decision is made, the stale decision must be reconciled against the current Host rather than acted on.

> * fix(runtime-operator): isolate Host cleanup from readiness by @vados-cosmonic in https://github.com/wasmCloud/wasmCloud/pull/5962

### Runtime-operator heartbeat writes protected from stale probes

- Affects: Hosts receiving heartbeat status writes from the runtime operator

When a probe outlived its Host and wrote a heartbeat after a same-name replacement existed, it could overwrite the replacement's status with stale data. Resource-version checks now prevent that overwrite.

> * fix(runtime-operator): isolate Host cleanup from readiness by @vados-cosmonic in https://github.com/wasmCloud/wasmCloud/pull/5962

### Host plugin volume opens no longer hold the shared volume-policy lock

- Affects: host component plugins that open volumes, with workload volume access governed by the shared volume policy (Inferred)

On a slow filesystem, opening a host plugin volume held the shared volume-policy lock, blocking unrelated mounts and reservation cleanup. Workload path checks use a policy snapshot and retry if plugin reservations change while a directory is opening; temporary reservations are released if an open fails.

> * fix(wash-runtime): release volume policy locks before filesystem access by @ricochet in https://github.com/wasmCloud/wasmCloud/pull/6005

### Host readiness no longer blocked by Workload cleanup

- Affects: Runtime-operator installations that reconcile `Host` resources and delete `Workload` resources

When two departing `Host` resources occupied both Host workers while their `Workload` resources were being deleted, replacement Hosts could remain unready. Cleanup now runs separately, so readiness reconciliation can continue while cleanup workers are blocked; those workers still share a limit of 24 concurrent `Workload` deletes.

> * fix(runtime-operator): isolate Host cleanup from readiness by @vados-cosmonic in https://github.com/wasmCloud/wasmCloud/pull/5962

### Host cleanup retries fixed and reusable finalizer API added

- Affects: Host cleanup and the `ConditionedReconciler.SeparateFinalizer()` API

When two departing Hosts occupy both Host workers while their Workloads are being deleted, replacement Hosts can remain unready. Cleanup errors now retain the Host finalizer for retry, and cleanup resumes for deleting Hosts after an operator restart.

> * fix(runtime-operator): isolate Host cleanup from readiness by @vados-cosmonic in https://github.com/wasmCloud/wasmCloud/pull/5962

### Component-plugin `wasi:tls` support fixed

- Affects: component plugins importing `wasi:tls` in runtimes built with `wasi-tls` (Inferred)

The runtime recognizes the linked `wasi:tls` draft as a host builtin and forwards the engine TLS provider into component-plugin stores.

> * fix(runtime): support TLS imports and trust providers in component plugins by @ricochet in https://github.com/wasmCloud/wasmCloud/pull/6014

### OCI disk-cache writes avoid an extra full copy

- Affects: setups that use the disk cache for OCI pull results (Inferred)

Previously, `write_to_cache` joined the digest and component into one buffer, creating an extra full copy. It now writes them directly to the temporary file; the atomic rename and on-disk format remain unchanged, so existing cache files continue to work.

> * fix(wash-runtime): bound OCI pull size and memory by @ricochet in https://github.com/wasmCloud/wasmCloud/pull/6018

### PostgreSQL date and time conversion fixes

- Affects: setups using the `wash-runtime` PostgreSQL plugin with date, time, timestamp, or timestamp-with-time-zone values (Inferred)

Date infinities were previously mapped to Chrono’s minimum and maximum dates, and timestamp timezone conversion used Chrono’s UTC conversion path. Now infinities use PostgreSQL’s actual sentinels, offsets are applied before encoding, invalid offsets and out-of-range UTC conversions are rejected, and out-of-day `TIME` values fail decoding instead of wrapping to midnight.

> * refactor(runtime): replace PostgreSQL chrono conversions with time by @ricochet in https://github.com/wasmCloud/wasmCloud/pull/6016

### Declared-only host interface plugin binding fixed

- Affects: Workloads with plugin-served `hostInterfaces` entries unused by components or services, excluding host-builtin WASI entries and entries required by a WASI override

Previously, matching only checked item imports, so the serving plugin missed `on_workload_bind` and teardown missed the declared interfaces; plugins shared across components could also be unbound once per component. Now the plugin gets a workload-level bind and one `on_workload_resolved` notification with the workload ID, then is unbound once per workload in reverse order with the interfaces it was bound with.

> * fix(runtime): bind and unbind plugins for spec-only hostInterfaces by @ricochet in https://github.com/wasmCloud/wasmCloud/pull/6015

### Repeated KV bucket creation logs fixed

- Affects: setups that use `kv-admin.create-bucket` to ensure JetStream KV buckets exist

When `kv-admin.create-bucket` was called for a bucket that already existed—often as an “ensure” on startup—it logged a “created” message at info on every call. Buckets that have held a message now log at debug; newly created buckets log at info, though an empty bucket ensured again within five seconds of clock skew can still be logged as created.

> * fix(nats): log a KV bucket as created only when kv-admin creates it by @jfleitz in https://github.com/wasmCloud/wasmCloud/pull/6040

## Enhancements (1)

- JetStream KV bucket management via `kv-admin` (To use: Use the new `kv-admin` interface; `create-bucket` requires NATS 2.10 or newer, and `limit-marker-ttl-ms` requires NATS 2.11 or newer.)

## Dependency updates (5)

5 more, none mentioning security

- `* chore(deps): upgrade Wasmtime to 48.0.9 by @ricochet in https://github.com/wasmCloud/wasmCloud/pull/6013`
- `* chore(deps): update wasm-tools to 0.263 and align TLS fixture by @ricochet in https://github.com/wasmCloud/wasmCloud/pull/6017`
- `* chore(deps): bump the all-docker group across 3 directories with 3 updates by @dependabot[bot] in https://github.com/wasmCloud/wasmCloud/pull/6044`
- `* chore(deps): bump the all-go group across 2 directories with 2 updates by @dependabot[bot] in https://github.com/wasmCloud/wasmCloud/pull/6045`
- `* chore(deps): bump the all-github-actions group across 1 directory with 2 updates by @dependabot[bot] in https://github.com/wasmCloud/wasmCloud/pull/6046`

## Other changes (15)

- WASI Preview 2 links in `README.md` and `CONTRIBUTING.md` point to `wasi-0.2`
- Repository guidance for agents and development tasks added
- Guest WIT references updated to newer WASI versions
- Runtime operator plugin comment corrected
- TLS echo plugin fixture paths and interfaces aligned with vendored WASI 0.3.2 packages
- WIT package inspection test updated for the new encode API
- Static errors in the shared `lseg` decoder test
- Expanded runtime-operator test coverage
- runtime-operator declares `github.com/nats-io/jwt/v2` directly
- Name-only `Workload` volumes sent as explicit `emptyDir`
- Operator guide to KV bucket permissions, workload scope, resource budgets, configuration precedence, and create/ensure behavior
- Service WIT world reuse during plugin binding
- wash-runtime test cleanup for Clippy lints
- Cached WASI and HTTP base linkers reused for services
- String allocations removed from `WitInterface::merge` identity checks

---

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