CVE-2026-126658ByteStash 1.5.10 before 1.6.2 Insufficient Session Expiration via API Keys
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.
What to do
None of the Linux distributions or Windows releases we track list an affected package for this CVE. Check the vendor-reported products below.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
What the vendor says
As published in the CVE record by VulnCheck, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- jordan-dalby ByteStash: affected: 1.5.10 to before 1.6.2, 1.6.2 not affected; fixed in
1.6.2
Vendor advisories:
- https://github.com/jordan-dalby/ByteStash/security/advisories/GHSA-26m9-ww2j-3cr5 (vendor-advisory)
- https://github.com/jordan-dalby/ByteStash/commit/eb4ecdfc30f2e7d1424137fa7fe3a9eed663218b (patch)
- https://github.com/jordan-dalby/ByteStash/releases/tag/v1.6.2 (release-notes)
References
- https://github.com/jordan-dalby/ByteStash/security/advisories/GHSA-26m9-ww2j-3cr5
- https://github.com/jordan-dalby/ByteStash/commit/eb4ecdfc30f2e7d1424137fa7fe3a9eed663218b
- https://github.com/jordan-dalby/ByteStash/releases/tag/v1.6.2
- https://github.com/jordan-dalby/ByteStash/blob/v1.6.1/server/src/repositories/apiKeyRepository.js#L70-L78
- https://notes.netbytesec.com/2026/11/cve-2026-126658-bytestash-1510-before.html
- https://www.vulncheck.com/advisories/bytestash-1.5.10-before-1.6.2-insufficient-session-expiration-via-api-keys
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.