Vulnerability GHSA-6ppq-9x26-5r92

Medium Risk
MEDIUM RISK
CVSS Score: 5.3
Score Range: 4.0–6.9
Medium severity vulnerabilities (CVSS 4.0–6.9). Important issues that meaningfully reduce security confidence.
17 hours ago
December 03, 2026 at 09:32 PM UTC
OTS Expire override allows creation of non-expiring secrets despite configured maximum TTL
<1.21.8
<1.21.8

Summary

OTS Expire override allows creation of non-expiring secrets despite configured maximum TTL

Details

Summary

OTS allows clients to override the configured secret expiry through the expire query parameter on the secret creation endpoint. When a server is configured with a positive SECRET_EXPIRY value, sending expire=0 bypasses the configured maximum TTL and creates a secret without an expiration time.

Impact

An unauthenticated remote attacker can create secrets that do not expire automatically, even when the instance operator configured a maximum secret lifetime through SECRET_EXPIRY.

This bypasses the configured retention policy for unread secrets. The secret is still removed when it is read successfully, but if it is never read, it can remain stored indefinitely.

The issue affects both Redis-backed and in-memory storage. In Redis, a zero expiration is passed to go-redis Set, which creates the key without an expiration. In the memory backend, zero duration similarly results in no expiry timestamp being set.

Impacted packages

Timeline

Published
17 hours ago
December 03, 2026 at 09:32 PM UTC
Fixed (v1.21.8)
5 months ago
July 04, 2026 at 11:55 AM UTC
Last Modified
17 hours ago
December 03, 2026 at 09:45 PM UTC