CVE-2026-126658
published medium CVSS 4.0 · 5.3ByteStash 1.5.10 before 1.6.2 Insufficient Session Expiration via API Keys
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| jordan-dalby | — | ByteStash1.5.10 to < 1.6.2 (affected · semver) · 1.6.2 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 5.4 | medium | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| jordan-dalby | ByteStash | 1.5.10 to < 1.6.2 (affected · semver)1.6.2 (unaffected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-613 Insufficient Session Expiration
References
6- https://github.com/jordan-dalby/ByteStash/blob/v1.6.1/server/src/repositories/apiKeyRepository.js#L70-L78
- https://github.com/jordan-dalby/ByteStash/commit/eb4ecdfc30f2e7d1424137fa7fe3a9eed663218b
- ByteStash v1.6.2 Release Notes https://github.com/jordan-dalby/ByteStash/releases/tag/v1.6.2
- GitHub Security Advisory (GHSA-26m9-ww2j-3cr5) https://github.com/jordan-dalby/ByteStash/security/advisories/GHSA-26m9-ww2j-3cr5
- NetbyteSEC Advisory NBS-2026-0003 https://notes.netbytesec.com/2026/11/cve-2026-126658-bytestash-1510-before.html
- VulnCheck Advisory: ByteStash 1.5.10 before 1.6.2 Insufficient Session Expiration via API Keys https://www.vulncheck.com/advisories/bytestash-1.5.10-before-1.6.2-insufficient-session-expiration-via-api-keys
Provider assertions
2VulnCheck · cna
ByteStash 1.5.10 before 1.6.2 Insufficient Session Expiration via API Keys
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 25727d7e369a678eb420df05fa61412791b171f2970ac144acb7f23b88f7af9e
- Ingested
- 14 Nov 2026, 13:07:25 UTC
- Source record
- Official CVE record