NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
🐹
🐹 Go
Not in CISA KEV
MEDIUM severity

OTS Expire override allows creation of non-expiring secrets despite configured maximum TTLGHSA-6ppq-9x26-5r92

MEDIUMFix: Luzifer/ots@035019e

GHSA-6ppq-9x26-5r92 is a medium-severity (CVSS 5.3) vulnerability in github.com/Luzifer/ots. A fix is available for github.com/Luzifer/ots — see the affected versions and patch details below.

Published
Updated
Affected
1 pkg
Patched
1 / 1
Exploits
None indexed
Exploitation data as of Dec 3, 2026 · OSV.dev, FIRST.org (EPSS)

Real-World Exposure

1 pkg affected
🐹github.com/Luzifer/ots

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects Go packages — download data is not available via public APIs for these ecosystems.

Description

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.

Affected Packages

1 total 1 fixed
EcosystemPackageVulnerable rangeFix
🐹Gogithub.com/Luzifer/otsall versions1.21.8go get github.com/Luzifer/ots@v1.21.8

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for github.com/Luzifer/ots, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update github.com/Luzifer/ots to 1.21.8 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-6ppq-9x26-5r92 is resolved across your whole dependency graph.

  3. Workarounds

    If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.

Frequently Asked Questions

### 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 remo
O3 Security · Impact-Aware SCA

Is GHSA-6ppq-9x26-5r92 in your dependencies?

Find it across Go, including transitive dependencies.

OTS Expire override allows creation of non-expiring…