# GO-2026-5413: ots has a negative expire override that can bypass its secret retention policy in github.com/Luzifer/ots

- Database: Go
- Published: 2026-06-25
- Modified: 2026-06-25

## Also published as

- [GHSA-H5FQ-653G-GXRM](https://cve.now/GHSA-H5FQ-653G-GXRM.md) (GitHub)

## Affected versions

- github.com/Luzifer/ots (Go): fixed in 1.21.5

## Description

ots has a negative expire override that can bypass its secret retention policy in github.com/Luzifer/ots

## References

- https://github.com/Luzifer/ots/security/advisories/GHSA-h5fq-653g-gxrm
- https://github.com/Luzifer/ots/commit/3511bd18a2bec75bd9c6b4d513f2a90ccf4209b7
- https://github.com/Luzifer/ots/releases/tag/v1.21.5

Page: https://cve.now/GO-2026-5413

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
