High

Filestash open redirect in MCP OAuth flow steals session tokens

An attacker can lure a logged-in user to a crafted /mcp/authorize link with an unvalidated redirect_uri and capture the authorization code. They can then exchange it at /mcp/token to get the victim's session token.

Product
Filestash
Systems
macOSWindowsLinux
CVSS
8.1
Weakness
CWE-601
Source
Get the fix in Telegram

Affected software and versions

PackageEcosystemAffectedFixed in
Filestashothernot statednot verified

A fixed version is shown only when it is verified against a vendor or advisory source.

Who should check

Users running Filestash built before commit a634722, on macOS, Windows or Linux.

Expected outcome after remediation

Report whether Filestash is installed, which build it is, whether it is older than commit a634722, and what was done to update it.

Get the fix

FixLane has a reviewed fix procedure for this incident: a read-only check first, then the fix. Ask the Telegram bot, or connect an AI agent to the FixLane MCP server and call get_fix_prompt with incident id 5627 and your operating system.