Description
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.
Metrics
CVSS 3.1 4.2/10
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:NWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| jordan-dalby | ByteStash | >= 1.5.0, < 1.6.1 |
References
- https://github.com/jordan-dalby/ByteStash/blob/v1.6.0/server/src/oidc/oidcConfig.js#L150-L160
- https://github.com/jordan-dalby/ByteStash/commit/32b8e7bc1efcd242e4fa0873657c90d08d533383
- https://github.com/jordan-dalby/ByteStash/pull/384
- https://github.com/jordan-dalby/ByteStash/releases/tag/v1.6.1
- https://github.com/jordan-dalby/ByteStash/security/advisories/GHSA-8xj7-9574-4mmw
- https://www.vulncheck.com/advisories/bytestash-1.5.0-before-1.6.1-login-csrf-via-oidc-callback
- https://github.com/jordan-dalby/ByteStash/security/advisories/GHSA-8xj7-9574-4mmw
Timeline
- Published
- Nov 22, 2026
- Last modified
- Nov 23, 2026
- NVD status
- Deferred