CVE-2026-126658 json
ByteStash 1.5.10 before 1.6.2 Insufficient Session Expiration via API Keys
published yesterday modified 21h ago also EUVD-2026-123402 , GHSA-26m9-ww2j-3cr5
Unreviewed: the maintainers' own advisory
Published by the maintainers on their GitHub repository jordan-dalby/ByteStash. GitHub has not reviewed it into the GitHub Advisory Database, so the affected packages and versions are the maintainers' word. Read the full advisory on GitHub.
- cvss
- 5.4
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- —
- no EPSS score yet
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- jordan-dalby ByteStash 1.6.2
Is CVE-2026-126658 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 5.3 | 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 |
| CNA | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N |
| CNA | 4.0 | 5.3 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| NVD | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N |
Affected products
- jordan-dalby ByteStash
Classification
- Weakness
-
- CWE-613 DEPRECATED: Insufficient Session Expiration
References
-
github.com
/jordan-dalby/ByteStash/commit/eb4ecdfc30f2e7d1424137fa7fe3a9eed663218b
patch
-
github.com
/jordan-dalby/ByteStash/security/advisories/GHSA-26m9-ww2j-3cr5
vendor-advisory, advisory
-
github.com
/jordan-dalby/ByteStash/releases/tag/v1.6.2
release-notes
-
github.com
/jordan-dalby/ByteStash/blob/v1.6.1/server/src/repositories/apiKeyRepository.js#L70-L78
technical-description
-
vulncheck.com
/advisories/bytestash-1.5.10-before-1.6.2-insufficient-session-expiration-via-api-keys
third-party-advisory
Sources
- CVE List CVE-2026-126658
- NVD CVE-2026-126658
- Maintainer advisory GHSA-26m9-ww2j-3cr5
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
The maintainers of jordan-dalby/ByteStash published their own advisory on GitHub. Reviewed sources take precedence over it.