CVE-2026-142275: Filestash before commit a634722 Session Token Theft via MCP OAuth redirect_uri
Filestash before commit a634722 contains an open redirect vulnerability in the MCP OAuth flow that allows remote attackers to steal session tokens via an unvalidated redirecturi. Attackers can lure logged-in users to a crafted /mcp/authorize link, capture the authorization code, and exchange it at /mcp/token for the victim's session token.
Affected Software
Event History
Frequently Asked Questions
Who is exposed to this attack?
Logged-in Filestash users are exposed if their instance is running a version before commit a634722 and has the affected MCP OAuth flow available. An attacker can target them remotely by luring them to a crafted /mcp/authorize link.
What does an attacker need to successfully exploit it?
The attacker does not need prior privileges, but user interaction is required: a logged-in victim must follow the crafted authorization link. The attacker can then capture the authorization code and exchange it through /mcp/token for the victim's session token.
How can I determine whether my instance is affected?
Check the Filestash source revision or build provenance. Versions before commit a6347229a578c7659257b90e2d5f3980d2afdc44 are affected.