{"affected":[{"defaultStatus":"unaffected","ecosystem":"github","packageName":"jordan-dalby/ByteStash","product":"ByteStash","source":"CNA: VulnCheck","vendor":"jordan-dalby","versions":[{"lessThan":"1.6.2","status":"affected","version":"1.5.10","versionType":"semver"},{"status":"unaffected","version":"1.6.2","versionType":"semver"}]}],"cveId":"CVE-2026-126658","cwes":["CWE-613"],"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.","epss":null,"exploits":[],"kev":null,"metrics":[{"score":5.3,"severity":"medium","source":"CNA: VulnCheck","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","version":"4.0"},{"score":5.4,"severity":"medium","source":"CNA: VulnCheck","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","version":"3.1"}],"modifiedAt":1794399875975,"publishedAt":1794399875975,"references":[{"source":"CNA: VulnCheck","tags":["vendor-advisory"],"url":"https://github.com/jordan-dalby/ByteStash/security/advisories/GHSA-26m9-ww2j-3cr5"},{"source":"CNA: VulnCheck","tags":["patch"],"url":"https://github.com/jordan-dalby/ByteStash/commit/eb4ecdfc30f2e7d1424137fa7fe3a9eed663218b"},{"source":"CNA: VulnCheck","tags":["release-notes"],"url":"https://github.com/jordan-dalby/ByteStash/releases/tag/v1.6.2"},{"source":"CNA: VulnCheck","tags":["technical-description"],"url":"https://github.com/jordan-dalby/ByteStash/blob/v1.6.1/server/src/repositories/apiKeyRepository.js#L70-L78"},{"source":"CNA: VulnCheck","tags":["third-party-advisory"],"url":"https://www.vulncheck.com/advisories/bytestash-1.5.10-before-1.6.2-insufficient-session-expiration-via-api-keys"}],"remediation":[{"kind":"fix","source":"CNA: VulnCheck","text":"The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.","url":"https://github.com/jordan-dalby/ByteStash/commit/eb4ecdfc30f2e7d1424137fa7fe3a9eed663218b"}],"revision":"2876fd844a18b1736aa99ff1d0467de65e8095c79cf6634170252839229d8afc","sources":[{"modifiedAt":1794399875975,"name":"CNA: VulnCheck","retrievedAt":1794402601144,"url":"https://www.cve.org/CVERecord?id=CVE-2026-126658"}],"ssvc":null,"status":"published","title":"ByteStash 1.5.10 before 1.6.2 Insufficient Session Expiration via API Keys","updatedAt":1794402601144}