{"id":"CVE-2026-126658","summary":"ByteStash 1.5.10 before 1.6.2 Insufficient Session Expiration via API Keys","details":"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.","aliases":["GHSA-26m9-ww2j-3cr5"],"modified":"2026-11-12T02:48:34.580596818Z","published":"2026-11-11T12:24:35.975Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/126xxx/CVE-2026-126658.json","unresolved_ranges":[{"extracted_events":[{"range":[{"introduced":"1.5.10"},{"fixed":"1.6.2"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"}]},{"extracted_events":[{"source":"DESCRIPTION","range":[{"introduced":"1.5.10"},{"fixed":"1.6.2"}]}]}],"cna_assigner":"VulnCheck","cwe_ids":["CWE-613"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/126xxx/CVE-2026-126658.json"},{"type":"PACKAGE","url":"https://github.com/jordan-dalby/ByteStash"},{"type":"ARTICLE","url":"https://github.com/jordan-dalby/ByteStash/blob/v1.6.1/server/src/repositories/apiKeyRepository.js#L70-L78"},{"type":"FIX","url":"https://github.com/jordan-dalby/ByteStash/commit/eb4ecdfc30f2e7d1424137fa7fe3a9eed663218b"},{"type":"ADVISORY","url":"https://github.com/jordan-dalby/ByteStash/releases/tag/v1.6.2"},{"type":"ADVISORY","url":"https://github.com/jordan-dalby/ByteStash/security/advisories/GHSA-26m9-ww2j-3cr5"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-126658"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/bytestash-1.5.10-before-1.6.2-insufficient-session-expiration-via-api-keys"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/jordan-dalby/bytestash","events":[{"introduced":"0"},{"fixed":"eb4ecdfc30f2e7d1424137fa7fe3a9eed663218b"}],"database_specific":{"extracted_events":[{"range":[{"fixed":"eb4ecdfc30f2e7d1424137fa7fe3a9eed663218b"}],"source":"REFERENCES_COMMIT"}]}}],"versions":["v1.6.1","v1.6.0","v1.5.14","v1.5.13","v1.5.12","v1.5.11","v1.5.10","v1.5.9","v1.5.8","v1.5.7","v1.5.6","v1.5.5","v1.5.4","v1.5.3","v1.5.2","v1.5.1","v1.5.0","v1.4.1","v1.4.0","v1.3.0","v1.2.0","v1.1.0","v1.0.6","v1.0.5","v1.0.4","v1.0.3","v1.0.2","v1.0.1","v1.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-126658.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}