AploSec / Disclosures / CVE-2026-134799
ByteStash 1.5.0 before 1.6.1 Login CSRF via OIDC Callback
CVE-2026-134799 · published 2026-11-22
In plain words: this type of bug lets another website perform actions as a logged-in user (cross-site request forgery, CSRF). A fixed release is listed.
Summary
CVE-2026-134799 affects ByteStash (Server) >= 1.5.0, < 1.6.1: Login CSRF via OIDC Callback (CWE-352). Fixed in 1.6.1. CVSS 4.0 base score 2.3 (Low), assigned by VulnCheck. Published 2026-11-22 by VulnCheck. Credit: Zachariah Mithani (AploSec).
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.
Evidence
Reported to the maintainer. The public advisory and references below describe the evidence and preconditions; reporting status alone does not establish independent reproduction.
Remediation
Upgrade ByteStash to 1.6.1 or later. Releases in the affected range (>= 1.5.0, < 1.6.1) are vulnerable. See the linked advisory for details on affected release lines.
Timeline
- 2026-11-22 CVE published
References
- Referencehttps://github.com/jordan-dalby/ByteStash/security/advisories/GHSA-8xj7-9574-4mmw
- Releasehttps://github.com/jordan-dalby/ByteStash/releases/tag/v1.6.1
- VulnCheck advisoryhttps://www.vulncheck.com/advisories/bytestash-1.5.0-before-1.6.1-login-csrf-via-oidc-callback
- Fix pull requesthttps://github.com/jordan-dalby/ByteStash/pull/384
- Fix commithttps://github.com/jordan-dalby/ByteStash/commit/32b8e7bc1efcd242e4fa0873657c90d08d533383
- Vulnerable codehttps://github.com/jordan-dalby/ByteStash/blob/v1.6.0/server/src/oidc/oidcConfig.js#L150-L160
- CVE recordhttps://www.cve.org/CVERecord?id=CVE-2026-134799
- NVD recordhttps://nvd.nist.gov/vuln/detail/CVE-2026-134799
- Severity
- Low 2.3CVSS 4.0, scored by VulnCheck in the CVE record
- Package
- ByteStash
- Ecosystem
- Server
- Affected
- >= 1.5.0, < 1.6.1
- Fixed
- 1.6.1
- Weakness
- CWE-352
- CNA
- VulnCheck
- Credit
- Zachariah Mithani (AploSec)finder