Read the docs

Login CSRF in ByteStash OIDC callback lets attackers read victim snippets

Priority MEDIUM 45CWE-352Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Passive
Attack complexity
High
Attack requirements
Present
Impact type
Tampering
Confidentiality · integrity · availability
Low · Low · None
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-352.

Summary

ByteStash from 1.5.0 before 1.6.1 by jordan-dalby contains a login cross-site request forgery flaw in the /api/auth/oidc/callback handler because OIDC state is not bound to the initiating browser. An unauthenticated remote attacker can start an OIDC login with their own account and lure a victim into opening the callback URL, logging the victim into the attacker's account so the victim saves snippets there (CWE-352). The attacker can then read those saved snippets. Exploitation requires user interaction, and the sources report no known exploitation.

Written with Claude Haiku 5.5 from the sources below · 2026-11-23

Description from the CNA

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00162 2nd percentileScored 2026-11-30
Fix Fixed ByteStash (jordan-dalby): 1.6.1

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
jordan-dalbyByteStash1.5.0 to before 1.6.11.6.1Patch availableCNA
  • ByteStash Vendorjordan-dalby Affected 1.5.0 to before 1.6.1 Fixed in 1.6.1 Patch available CNA

Remediation

Upgrade ByteStash to version 1.6.1 or later, which fixes the flaw.

Written with Claude Haiku 5.5 from the sources below · 2026-11-23

  • Fix · CNA ByteStash (jordan-dalby) Fixed in 1.6.1

Timeline

  1. 2026-11-22 Threatist record created from CVE-2026-134799
  2. 2026-11-23 Alias added: GHSA-57f8-9jp5-85r9
  3. 2026-11-23 CISA SSVC decision points changed

References

  • TI-2026-89732 ByteStash Insufficient Session Expiration via API Keys CVSS 4.0MEDIUM 5.3

Sources