CVE-2026-47252

Summary

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 Software

VendorProductVersion RangeStatus
julien040anyquery< 0.4.5affected
anyquerygithub.com/julien040/anyquery/plugins/brave< 0.2.0affected
anyquerygithub.com/julien040/anyquery/plugins/chrome< 0.2.0affected
anyquerygithub.com/julien040/anyquery/plugins/edge< 0.2.0affected
anyquerygithub.com/julien040/anyquery/plugins/reminders< 0.2.0affected
anyquerygithub.com/julien040/anyquery/plugins/safari< 0.2.0affected

Weaknesses

  • CWE-94: CWE-94: Improper Control of Generation of Code ('Code Injection')

ADP Enrichment

CISA ADP Vulnrichment

  • SSVC:
  • Exploitation: poc
    • Automatable: no
    • Technical Impact: total

Additional References

References