ByteStash Insufficient Session Expiration via API Keys
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-613.
Summary
ByteStash 1.5.10 before 1.6.2 contains an insufficient session expiration flaw (CWE-613) that lets holders of API keys keep access after their account is deactivated. The validateApiKey function never checks account status. An attacker holding a deactivated account's API key can read, create, modify and delete its snippets through /api/snippets and use every MCP tool through /mcp. CVSS 4.0 scores it 5.3 (MEDIUM).
Written with Claude Haiku 5.5 from the sources below · 2026-11-13
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| jordan-dalby | ByteStash | 1.5.10 to before 1.6.2 | 1.6.2 | Patch available | CNA |
- ByteStash Vendorjordan-dalby Affected 1.5.10 to before 1.6.2 Fixed in 1.6.2 Patch available CNA
Remediation
Upgrade ByteStash to version 1.6.2 or later.
Written with Claude Haiku 5.5 from the sources below · 2026-11-13
- Fix · CNA ByteStash (jordan-dalby) Fixed in 1.6.2
Timeline
- 2026-11-11 Threatist record created from CVE-2026-126658
- 2026-11-11 Alias added: GHSA-45rq-x49h-cmwp
- 2026-11-13 CISA SSVC decision points changed
- 2026-11-14 1 new reference · CNA
References
Sources
- CVE-2026-126658 · CVE Program
- CVE-2026-126658 · NVD
- FIRST EPSS
- GHSA-45rq-x49h-cmwp · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences