OTS Expire override allows creation of non-expiring secrets despite configured maximum TTL
Affected
| Package | Affected versions | Fixed in |
|---|---|---|
| go:github.com/Luzifer/ots | < 1.21.8 | 1.21.8 |
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…
Read on GitHub Advisory Database
On 12/04/2026, 06:32 AM, GitHub Advisory Database published "OTS Expire override allows creation of non-expiring secrets despite configured maximum TTL" (type: Advisory). Severity is "Medium" (medium). Related technologies: Go, GitHub.