CVE-2026-47252
Description
Anyquery is an SQL query engine built on top of SQLite. Prior to 0.4.5, authenticated users with INSERT or UPDATE access to affected macOS virtual tables can execute operating-system commands because the Chrome plugin and equivalent Brave, Edge, and Safari variants interpolate a SQL-controlled URL into AppleScript or JXA source passed to osascript. In plugins/chrome/tabs.go, tabsTable.Insert() passes the URL through fmt.Sprintf(newTabScript, url), and tabsTable.Update() uses fmt.Sprintf(setURLScript, pk, url). A URL containing quote and newline characters can break out of the intended string or property record and append script statements, resulting in arbitrary command execution with the privileges of the anyquery process on the macOS host. This issue is fixed in version 0.4.5.
How to fix
- github.com/julien040/anyquery/plugins/chrome0.0.0-20240826075852-c651df0b8767 or later
- github.com/julien040/anyquery/plugins/brave0.0.0-20240826075852-c651df0b8767 or later
- github.com/julien040/anyquery/plugins/edge0.0.0-20240826075852-c651df0b8767 or later
- github.com/julien040/anyquery/plugins/safari0.0.0-20240826075852-c651df0b8767 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| github.com/julien040/anyquery/plugins/chromeGo | v < 0.0.0-20240826075852-c651df0b8767 | 0.0.0-20240826075852-c651df0b8767 |
| github.com/julien040/anyquery/plugins/braveGo | v < 0.0.0-20240826075852-c651df0b8767 | 0.0.0-20240826075852-c651df0b8767 |
| github.com/julien040/anyquery/plugins/edgeGo | v < 0.0.0-20240826075852-c651df0b8767 | 0.0.0-20240826075852-c651df0b8767 |
| github.com/julien040/anyquery/plugins/safariGo | v < 0.0.0-20240826075852-c651df0b8767 | 0.0.0-20240826075852-c651df0b8767 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.