Skip to content
MediumVulnerability

CVE-2026-126658: ByteStash insufficient session expiration allows deactivated API key access

Identifier
CVE-2026-126658
Published
Record updated
View JSON
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.3%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

ByteStash versions 1.5.10 before 1.6.2 fail to expire access properly, so holders of API keys keep access after their account is deactivated. The cause is that validateApiKey never checks account status. An attacker with a deactivated account's API key can read, create, modify and delete its snippets via /api/snippets and use every MCP tool via /mcp.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.