CVE-2026-47252julien040 anyquery
Remote Code Execution in Anyquery Browser Plugins on macOS
Critical 9.0
Follow: this CVE · julien040 · julien040 anyquery We alert you by email or Slack (account required).
- Priority
- 54
- CVSS 3.1
- 9.0
- EPSS
- —
- Auth required
- Yes
- Published
- Sep 17, 2026
- Updated
- Sep 30, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-94
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
What happens
Anyquery is a SQL query engine built on SQLite. Authenticated users with INSERT or UPDATE access to macOS virtual tables can execute operating-system commands because Chrome, Brave, Edge, and Safari plugins interpolate SQL-controlled URLs into AppleScript or JXA source passed to osascript. A URL with quote and newline characters can break out of the intended string and execute arbitrary commands with Anyquery process privileges. This issue is fixed in version 0.4.5.
Show the original NVD text
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.
What to do
Patch available · fixed versions: 0.4.5
Update Anyquery to version 0.4.5 or later which includes the security patch.
- Apply the vendor's security update for anyquery.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/julien040/anyquery/plugins/brave |
< 0.0.0-20240826075852-c651df0b8767 |
0.0.0-20240826075852-c651df0b8767 |
go get github.com/julien040/anyquery/plugins/brave@v0.0.0-20240826075852-c651df0b8767 |
| Go | github.com/julien040/anyquery/plugins/brave |
< 0.0.0-20240826075852-c651df0b8767 |
0.0.0-20240826075852-c651df0b8767 |
go get github.com/julien040/anyquery/plugins/brave@v0.0.0-20240826075852-c651df0b8767 |
| Go | github.com/julien040/anyquery/plugins/chrome |
< 0.0.0-20240826075852-c651df0b8767 |
0.0.0-20240826075852-c651df0b8767 |
go get github.com/julien040/anyquery/plugins/chrome@v0.0.0-20240826075852-c651df0b8767 |
| Go | github.com/julien040/anyquery/plugins/chrome |
< 0.0.0-20240826075852-c651df0b8767 |
0.0.0-20240826075852-c651df0b8767 |
go get github.com/julien040/anyquery/plugins/chrome@v0.0.0-20240826075852-c651df0b8767 |
| Go | github.com/julien040/anyquery/plugins/edge |
< 0.0.0-20240826075852-c651df0b8767 |
0.0.0-20240826075852-c651df0b8767 |
go get github.com/julien040/anyquery/plugins/edge@v0.0.0-20240826075852-c651df0b8767 |
| Go | github.com/julien040/anyquery/plugins/edge |
< 0.0.0-20240826075852-c651df0b8767 |
0.0.0-20240826075852-c651df0b8767 |
go get github.com/julien040/anyquery/plugins/edge@v0.0.0-20240826075852-c651df0b8767 |
| Go | github.com/julien040/anyquery/plugins/safari |
< 0.0.0-20240826075852-c651df0b8767 |
0.0.0-20240826075852-c651df0b8767 |
go get github.com/julien040/anyquery/plugins/safari@v0.0.0-20240826075852-c651df0b8767 |
| Go | github.com/julien040/anyquery/plugins/safari |
< 0.0.0-20240826075852-c651df0b8767 |
0.0.0-20240826075852-c651df0b8767 |
go get github.com/julien040/anyquery/plugins/safari@v0.0.0-20240826075852-c651df0b8767 |
Per OSV / GitHub Advisories (GHSA-hrj8-hjv8-mgwc, GO-2026-5436). Check the version in your lockfile before upgrading.
Affected products
- julien040 · anyquery
- anyquery · github.com/julien040/anyquery/plugins/brave
- anyquery · github.com/julien040/anyquery/plugins/chrome
- anyquery · github.com/julien040/anyquery/plugins/edge
- anyquery · github.com/julien040/anyquery/plugins/reminders
- anyquery · github.com/julien040/anyquery/plugins/safari
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official advisories
- Security update for govulncheck-vulndb · SUSE · openSUSE-SU-2026:21483-1 · Jul 30, 2026 Critical
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.