---
id: CVE-2026-47252
title: Anyquery is an SQL query engine built on top of SQLite
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 Brav…
severity: critical
cvss: 9
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H'
cwe:
  - CWE-94
vendor: julien040
product: anyquery
affected:
  - anyquery < 0.4.5
  - github.com/julien040/anyquery/plugins/brave < 0.2.0
  - github.com/julien040/anyquery/plugins/chrome < 0.2.0
  - github.com/julien040/anyquery/plugins/edge < 0.2.0
  - github.com/julien040/anyquery/plugins/reminders < 0.2.0
  - github.com/julien040/anyquery/plugins/safari < 0.2.0
patched:
  - >-
    github.com/julien040/anyquery/plugins/chrome
    0.0.0-20240826075852-c651df0b8767
  - >-
    github.com/julien040/anyquery/plugins/brave
    0.0.0-20240826075852-c651df0b8767
  - github.com/julien040/anyquery/plugins/edge 0.0.0-20240826075852-c651df0b8767
  - >-
    github.com/julien040/anyquery/plugins/safari
    0.0.0-20240826075852-c651df0b8767
published: '2026-09-17'
updated: '2026-09-17'
sourceUpdated: '2026-09-17T20:16:49.803'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-47252'
references:
  - url: >-
      https://github.com/julien040/anyquery/commit/33769e03bd4b0f76d7a20a4188cce7153f6db1c9
    label: security-advisories@github.com
  - url: 'https://github.com/julien040/anyquery/releases/tag/0.4.5'
    label: security-advisories@github.com
  - url: >-
      https://github.com/julien040/anyquery/security/advisories/GHSA-hrj8-hjv8-mgwc
    label: security-advisories@github.com
  - url: >-
      https://github.com/julien040/anyquery/security/advisories/GHSA-hrj8-hjv8-mgwc
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
  - url: 'https://github.com/advisories/GHSA-hrj8-hjv8-mgwc'
tags:
  - nvd
  - cve.org
  - exploit-available
  - ghsa
  - go
exploitAvailable: true
ssvc:
  exploitation: poc
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-09-17T19:11:46.878638Z'
aliases:
  - GHSA-hrj8-hjv8-mgwc
ecosystem: go
ingestedAt: '2026-07-07T15:41:59.847Z'
epss: 0.00705
epssPercentile: 0.5125
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Package advisory (CVE-2026-47252)

Affected packages:

- `github.com/julien040/anyquery/plugins/chrome < 0.0.0-20240826075852-c651df0b8767`
- `github.com/julien040/anyquery/plugins/brave < 0.0.0-20240826075852-c651df0b8767`
- `github.com/julien040/anyquery/plugins/edge < 0.0.0-20240826075852-c651df0b8767`
- `github.com/julien040/anyquery/plugins/safari < 0.0.0-20240826075852-c651df0b8767`

Patched in:

- `github.com/julien040/anyquery/plugins/chrome 0.0.0-20240826075852-c651df0b8767`
- `github.com/julien040/anyquery/plugins/brave 0.0.0-20240826075852-c651df0b8767`
- `github.com/julien040/anyquery/plugins/edge 0.0.0-20240826075852-c651df0b8767`
- `github.com/julien040/anyquery/plugins/safari 0.0.0-20240826075852-c651df0b8767`

Source: https://github.com/advisories/GHSA-hrj8-hjv8-mgwc
