PatchSiren cyber security CVE debrief
CVE-2026-126658 jordan-dalby CVE debrief
CVE-2026-126658 is a medium-severity vulnerability affecting ByteStash versions 1.5.10 and prior, which suffer from insufficient session expiration via API keys. This issue allows holders of API keys to retain access even after their account has been deactivated. The vulnerability is due to the validateApiKey function not checking the account status. As a result, attackers with a deactivated account's API key can still read, create, modify, and delete snippets via the /api/snippets endpoint and use every MCP tool via /mcp.
- Vendor
- jordan-dalby
- Product
- ByteStash
- CVSS
- MEDIUM 5.3
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-11-11
- Original CVE updated
- 2026-11-14
- Advisory published
- 2026-11-11
- Advisory updated
- 2026-11-14
Who should care
Defenders responsible for ByteStash deployments, particularly those using API keys for authentication, should assess their exposure and prioritize remediation. This includes reviewing access logs, verifying API key revocation procedures, and upgrading to a patched version.
Why it matters
CVE-2026-126658 is a medium-severity vulnerability in ByteStash that allows holders of API keys to retain access even after their account has been deactivated. Defenders should prioritize verifying API key revocation procedures, reviewing access logs, and upgrading to a patched version to prevent potential unauthorized access and misuse.
- Verify API key revocation procedures to prevent unauthorized access
- Review access logs for /api/snippets and /mcp to detect potential suspicious activity
- Upgrade to ByteStash version 1.6.2 or later to address the vulnerability
- Monitor for potential misuse of API keys by deactivated accounts
Technical summary
The validateApiKey function in ByteStash 1.5.10 before 1.6.2 does not check the account status, allowing holders of API keys to retain access even after their account has been deactivated. This can lead to unauthorized access to snippets and MCP tools. Defenders should prioritize verifying API key revocation and account deactivation procedures, reviewing access logs for /api/snippets and /mcp, and upgrading to ByteStash version 1.6.2 or later to address the vulnerability. The vulnerability allows attackers with a deactivated account's API key to read, create, modify, and delete snippets via the /api/snippets endpoint and use every MCP tool via /mcp.
Defensive priority
Defenders should prioritize verifying API key revocation and account deactivation procedures, reviewing access logs for /api/snippets and /mcp, and upgrading to ByteStash version 1.6.2 or later.
Recommended defensive actions
- Verify API key revocation and account deactivation procedures
- Review access logs for /api/snippets and /mcp
- Upgrade to ByteStash version 1.6.2 or later
- Monitor for suspicious activity related to API key usage
- Check relevant monitoring, detection, and logs for exposed assets that need extra review
- Track exceptions, retest remediated assets, and close the item only after evidence is documented.
- Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up.
Evidence notes
The CVE Program record and NVD vulnerability detail provide official information on the vulnerability. Supplemental sources include a GitHub Security Advisory, a patch commit, release notes, and a technical description of the vulnerability.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-126658 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-126658
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-126658 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-126658
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
ByteStash 1.5.10 before 1.6.2 Insufficient Session Expiration via API Keys
Unverified legacy reference
URL: https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/126xxx/CVE-2026-126658.json
cve_program_cvelist_v5
-
Source reference
Unverified legacy reference
URL: https://github.com/jordan-dalby/ByteStash/security/advisories/GHSA-26m9-ww2j-3cr5
Supplemental source - vendor-advisory
-
Source reference
Unverified legacy reference
URL: https://github.com/jordan-dalby/ByteStash/commit/eb4ecdfc30f2e7d1424137fa7fe3a9eed663218b
Supplemental source - patch
-
Source reference
Unverified legacy reference
URL: https://github.com/jordan-dalby/ByteStash/releases/tag/v1.6.2
Supplemental source - release-notes
-
Source reference
Unverified legacy reference
URL: https://github.com/jordan-dalby/ByteStash/blob/v1.6.1/server/src/repositories/apiKeyRepository.js
Supplemental source - technical-description
-
Source reference
Unverified legacy reference
URL: https://www.vulncheck.com/advisories/bytestash-1.5.10-before-1.6.2-insufficient-session-expiration-via-api-keys
Supplemental source - third-party-advisory
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.