CVE-2026-134799: ByteStash 1.5.0 before 1.6.1 Login CSRF via OIDC Callback
ByteStash 1.5.0 before 1.6.1 contains a login cross-site request forgery vulnerability in the /api/auth/oidc/callback handler because OIDC state is not bound to the initiating browser. Attackers can start an OIDC login with their own account and lure victims into opening the withheld callback URL, logging them into the attacker's account to read saved snippets.
Affected Software
Event History
Frequently Asked Questions
Which deployments are affected?
ByteStash versions 1.5.0 before 1.6.1 are affected. Version 1.6.1 and later are not identified as affected by the provided advisory.
What does an attacker need to exploit this issue?
An attacker must initiate an OIDC login using their own account and persuade a victim to open the resulting withheld callback URL. The attack requires victim interaction but no attacker authentication to the victim's ByteStash account.
What is the practical impact on a victim?
The victim can be logged into the attacker's ByteStash account rather than their own. This may allow the victim to read snippets saved in that attacker-controlled account.