Original 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.
Affected software
- ByteStash ≥ 1.5.10 < 1.6.2 Fixed in: 1.6.2 repository or package match
Details
- Published
- 2026-11-11
- Last modified
- 2026-11-14
- CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N- CWE
- CWE-613
- EPSS (30-day exploit probability)
- 0.24% (percentile 15)
References
- cve.org/CVE-2026-126658
- nvd.nist.gov/vuln/detail/CVE-2026-126658
- github.com/jordan-dalby/ByteStash/security/advisories/GHSA-26m9-ww2j-3cr5
- github.com/jordan-dalby/ByteStash/commit/eb4ecdfc30f2e7d1424137fa7fe3a9eed663218b
- github.com/jordan-dalby/ByteStash/releases/tag/v1.6.2
- github.com/jordan-dalby/ByteStash/blob/v1.6.1/server/src/repositories/apiKeyRepository.js#...
- notes.netbytesec.com/2026/11/cve-2026-126658-bytestash-1510-before.html
- www.vulncheck.com/advisories/bytestash-1.5.10-before-1.6.2-insufficient-session-expiration...
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.