Read the docs

ByteStash Insufficient Session Expiration via API Keys

Priority MEDIUM 57CWE-613Published · Updated

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

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00241 15th percentileScored 2026-11-16
Fix Fixed ByteStash (jordan-dalby): 1.6.2

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

VendorProductAffected versionsFixed inStatusSource
jordan-dalbyByteStash1.5.10 to before 1.6.21.6.2Patch availableCNA
  • 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

  1. 2026-11-11 Threatist record created from CVE-2026-126658
  2. 2026-11-11 Alias added: GHSA-45rq-x49h-cmwp
  3. 2026-11-13 CISA SSVC decision points changed
  4. 2026-11-14 1 new reference · CNA

References

Sources