CVE-2026-126658 ByteStash 1.5.10 before 1.6.2 Insufficient Session Expiration via API Keys
MediumCVSS 5.3
EPSS 0.30%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| jordan-dalby/bytestash | >= 1.5.10, < 1.6.2 | 1.6.2 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| jordan-dalby/bytestash | >= 1.5.10, < 1.6.2 | 1.6.2 |
References
- GitHub Security Advisory (GHSA-26m9-ww2j-3cr5) exploit vendor-advisory
- github.com patch
- ByteStash v1.6.2 Release Notes release-notes
- github.com technical-description
- VulnCheck Advisory: ByteStash 1.5.10 before 1.6.2 Insufficient Session Expiration via API Keys third-party-advisory
- NetbyteSEC Advisory NBS-2026-0003 third-party-advisory
- ENISA EUVD EUVD-2026-123402 third-party-advisory