Vulnerability · Published Sep 17, 2026 · Assigned by GitHub_M

CVE-2026-47252Anyquery: AppleScript/JXA Code Injection via Unescaped URL in macOS plugins (Brave, Chrome, Edge, Reminders, Safari)

Critical 9.0

In plain English

A critical-severity code injection in github.com/julien040/anyquery/plugins/brave from anyquery. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 54% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)9.0Critical
Exploit odds (30 days)0.7%top 46.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Gogithub.com/julien040/anyquery/plugins/brave0.0.0-20240826075852-c651df0b8767GO-2026-5436
Gogithub.com/julien040/anyquery/plugins/brave0.0.0-20240826075852-c651df0b8767GHSA-hrj8-hjv8-mgwc
Gogithub.com/julien040/anyquery/plugins/chrome0.0.0-20240826075852-c651df0b8767GHSA-hrj8-hjv8-mgwc
Gogithub.com/julien040/anyquery/plugins/chrome0.0.0-20240826075852-c651df0b8767GO-2026-5436
Gogithub.com/julien040/anyquery/plugins/edge0.0.0-20240826075852-c651df0b8767GHSA-hrj8-hjv8-mgwc
Gogithub.com/julien040/anyquery/plugins/edge0.0.0-20240826075852-c651df0b8767GO-2026-5436
Gogithub.com/julien040/anyquery/plugins/safari0.0.0-20240826075852-c651df0b8767GO-2026-5436
Gogithub.com/julien040/anyquery/plugins/safari0.0.0-20240826075852-c651df0b8767GHSA-hrj8-hjv8-mgwc

Affected products (as reported)

Weakness: CWE-94 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H

References