CVE-2026-126658 Details
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.
A vulnerability exists in ByteStash versions 1.5.10 prior to 1.6.2, where the session expiration for API keys is not properly managed. This flaw allows users with deactivated accounts to retain access through their API keys, as the validation process does not check the account status. Consequently, these users can read, create, modify, and delete snippets via the '/api/snippets' endpoint, and access all MCP tools through the '/mcp' endpoint.
Users should upgrade to ByteStash version 1.6.2, which addresses this vulnerability by ensuring that deactivated users' API keys are invalidated and by allowing the creation of new keys when an account is reactivated.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Nov 11, 2026CISA-ADP
Assessed Nov 13, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-613 | Insufficient Session Expiration | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| ByteStash | >= 1.5.10, < 1.6.2 (semver) |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 14, 2026 | CVE Modified | [email protected] |
| Nov 13, 2026 | CVE Modified | CISA-ADP |
| Nov 11, 2026 | New CVE Received | [email protected] |
Volerion