The CVE-2026-134799 vulnerability is a login cross-site request forgery issue in ByteStash 1.5.0 before 1.6.1. This vulnerability occurs in the /api/auth/oidc/callback handler due to OIDC state not being bound to the initiating browser, allowing attackers to start an OIDC login with their own account and lure victims into opening the withheld callback URL. This could lead to victims being logged into the attacker's account, enabling them to read saved snippets. Defenders should assess exposure, especially in deployments using OIDC for login, and prioritize verification and potential upgrades.
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.