Bytestash
Monthly
Login cross-site request forgery in ByteStash's OIDC callback handler lets an attacker who holds an account on the configured identity provider log a victim into the attacker's own ByteStash account. The attacker starts an authorization-code/PKCE flow, withholds the resulting callback URL, and lures the victim into opening it; because the state value is never bound to the browser that initiated the flow, the callback is accepted and a session cookie for the attacker's identity is issued to the victim. Affected deployments are those running ByteStash 1.5.0 through 1.6.0 with OIDC_ENABLED=true - default non-OIDC installs do not expose the /api/auth/oidc/* routes and are unaffected. A Docker-based proof-of-concept reproduction (mock IdP plus victim/attacker cookie jars) is published in the upstream GitHub advisory, but there is no confirmed report of active exploitation and no CISA KEV entry; fixes ship in ByteStash 1.6.1.
Deactivating a ByteStash account in versions 1.5.4 through 1.6.1 does not revoke that account's API keys, so anyone holding a key minted before deactivation retains read, create, modify and delete access to the account's snippets via /api/snippets* and full tool access via /mcp, with no expiry. Exploitation is authenticated (PR:L in the assessed vector) and requires only possession of a previously issued key combined with the account having been deactivated rather than deleted, which makes deactivation - the routine offboarding and incident-containment action - silently ineffective as a revocation control. A detailed proof-of-concept reproduction is published in the vendor advisory and was validated against a local 1.6.1 instance; no in-the-wild exploitation is reported, and 1.6.2 fixes the issue by rejecting keys owned by inactive accounts and by deleting a user's keys when deactivation occurs.
Login cross-site request forgery in ByteStash's OIDC callback handler lets an attacker who holds an account on the configured identity provider log a victim into the attacker's own ByteStash account. The attacker starts an authorization-code/PKCE flow, withholds the resulting callback URL, and lures the victim into opening it; because the state value is never bound to the browser that initiated the flow, the callback is accepted and a session cookie for the attacker's identity is issued to the victim. Affected deployments are those running ByteStash 1.5.0 through 1.6.0 with OIDC_ENABLED=true - default non-OIDC installs do not expose the /api/auth/oidc/* routes and are unaffected. A Docker-based proof-of-concept reproduction (mock IdP plus victim/attacker cookie jars) is published in the upstream GitHub advisory, but there is no confirmed report of active exploitation and no CISA KEV entry; fixes ship in ByteStash 1.6.1.
Deactivating a ByteStash account in versions 1.5.4 through 1.6.1 does not revoke that account's API keys, so anyone holding a key minted before deactivation retains read, create, modify and delete access to the account's snippets via /api/snippets* and full tool access via /mcp, with no expiry. Exploitation is authenticated (PR:L in the assessed vector) and requires only possession of a previously issued key combined with the account having been deactivated rather than deleted, which makes deactivation - the routine offboarding and incident-containment action - silently ineffective as a revocation control. A detailed proof-of-concept reproduction is published in the vendor advisory and was validated against a local 1.6.1 instance; no in-the-wild exploitation is reported, and 1.6.2 fixes the issue by rejecting keys owned by inactive accounts and by deleting a user's keys when deactivation occurs.