CVE-2026-16652: Temporal Server Schedule exclusion search can cause excessive CPU consumption
Temporal Server did not bound the work performed while searching for a Schedule's next action time. An authenticated caller with namespace write permission could create or update a Schedule that combines a fine-grained cadence with an exclusion calendar that rejects every candidate time, causing the server to evaluate excluded candidates without a per-search work budget. This can consume excessive CPU in Frontend and Schedule worker components. A persisted specification can also cause its backing Schedule Workflow to repeatedly fail and retry, allowing CPU consumption to continue without additional requests until the Schedule is deleted or its backing Workflow is terminated. Repeated or parallel exploitation can deny service. The issue affects availability only; it does not expose or modify Workflow data.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Temporal Serverto a version that resolves this vulnerability.Fixed in 1.30.7 - Upgrade
Upgrade
Temporal Serverto a version that resolves this vulnerability.Fixed in 1.31.3 - Upgrade
Upgrade
Temporal Serverto a version that resolves this vulnerability.Fixed in 1.32.0 - Configuration
Set scheduler.specMaxIterations to a positive (non-zero, non-negative) value; setting it to zero or a negative value disables the hard bound.
Temporal Server scheduler.specMaxIterations = positive - Compensating control
Review and replace or remove Schedule specifications that exceed the configured bound to prevent excessive CPU consumption from Schedule exclusion searches and repeated failure/retry behavior.