ByteStash 1.5.10 before 1.6.2 Insufficient Session Expiration via API Keys
- State
- Published
- Severity
- 5.3 Medium
- Published
- Nov 11, 2026
- Updated
- Nov 14, 2026
- Reserved
- Nov 11, 2026
Description
ByteStash 1.5.10 before 1.6.2 contains an insufficient session expiration vulnerability that allows holders of API keys to keep access after account deactivation because validateApiKey never checks account status. Attackers holding a deactivated account's API key can read, create, modify and delete its snippets via /api/snippets and use every MCP tool via /mcp.
| Product | Versions |
|---|---|
| ByteStash jordan-dalby | 1.5.10 to before 1.6.2 Affected1.6.2 Not Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 5.3 Medium | VulnCheck | |
| 3.1 | 5.4 Medium | VulnCheck |
Weaknesses
- CWE-613 Insufficient Session Expiration
References
- GitHub Security Advisory (GHSA-26m9-ww2j-3cr5)Vendor Advisory
- https://github.com/jordan-dalby/ByteStash/commit/eb4ecdfc30f2e7d1424137fa7fe3a9eed663218bPatch
- ByteStash v1.6.2 Release NotesRelease Notes
- https://github.com/jordan-dalby/ByteStash/blob/v1.6.1/server/src/repositories/apiKeyRepository.js#L70-L78Technical Details
- NetbyteSEC Advisory NBS-2026-0003Third-Party Advisory
- VulnCheck Advisory: ByteStash 1.5.10 before 1.6.2 Insufficient Session Expiration via API KeysThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.