{"id":"CVE-2026-126658","published":"2026-11-11T13:17:23.993","lastModified":"2026-11-11T13:17:23.993","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.","cvssScore":5.4,"cvssSeverity":"MEDIUM","cvssVector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","cwes":["CWE-613"],"vendors":[],"products":[],"references":[{"url":"https://github.com/jordan-dalby/ByteStash/blob/v1.6.1/server/src/repositories/apiKeyRepository.js#L70-L78","tags":[]},{"url":"https://github.com/jordan-dalby/ByteStash/commit/eb4ecdfc30f2e7d1424137fa7fe3a9eed663218b","tags":[]},{"url":"https://github.com/jordan-dalby/ByteStash/releases/tag/v1.6.2","tags":[]},{"url":"https://github.com/jordan-dalby/ByteStash/security/advisories/GHSA-26m9-ww2j-3cr5","tags":[]},{"url":"https://www.vulncheck.com/advisories/bytestash-1.5.10-before-1.6.2-insufficient-session-expiration-via-api-keys","tags":[]}],"exploitRefs":[{"url":"https://github.com/jordan-dalby/ByteStash/blob/v1.6.1/server/src/repositories/apiKeyRepository.js#L70-L78","tags":[]},{"url":"https://github.com/jordan-dalby/ByteStash/commit/eb4ecdfc30f2e7d1424137fa7fe3a9eed663218b","tags":[]},{"url":"https://github.com/jordan-dalby/ByteStash/releases/tag/v1.6.2","tags":[]},{"url":"https://github.com/jordan-dalby/ByteStash/security/advisories/GHSA-26m9-ww2j-3cr5","tags":[]}],"hasPoc":true,"ai":null}