Every CVESearch/Get API key

GHSA-6ppq-9x26-5r92

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

Explain with AI
ChatGPTClaudeGoogle AI
Severity
5.3Medium
Network attack, no privileges, no user interactionCVSS 3.1, GitHub Advisories
Exploitation
Unknown
No source reports exploitation yet.
Exploit chance
Unknown
No source reports an EPSS score yet.
Listed fix
1.21.8 for github.com/Luzifer/ots
From GitHub Advisories and OSV

Overview

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.

CVSS 3.1 vector

Exploitability

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

Impact

Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Affected

Packages 1

Affected packages
PackageAffectedFixed
github.com/Luzifer/ots
Go
before 1.21.8
1.21.8

Sources

GitHub Advisories Score usedCVSS 3.15.3

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

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.

Record
GHSA-6ppq-9x26-5r92
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Weakness
CWE-20
Updated
2026-12-03
OSVCVSS 3.15.3

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

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.

Record
GHSA-6ppq-9x26-5r92
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Weakness
CWE-20
Updated
2026-12-03

History

Recorded by Every CVE

Changes recorded by Every CVE
DayChangedSources
Affected packages, referencesOSV
First indexedGitHub Advisories

Upstream dates may differ.

References

MoveEnter Open