PT-2026-47613 · Anyquery · Anyquery

CVE-2026-47252

·

Published

2026-06-08

·

Updated

2026-07-30

CVSS v3.1

9.0

Critical

VectorAV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions anyquery version 0.4.4
Description The chrome tabs plugin (including Brave, Edge, and Safari variants) allows for AppleScript and JXA code injection on macOS hosts. The issue occurs because a SQL-controlled url value is interpolated directly into an AppleScript template without proper escaping before being executed via the osascript command. An authenticated user with the ability to issue SQL INSERT or UPDATE statements against the chrome tabs virtual table can use a payload containing newlines to break out of the intended script structure and execute arbitrary OS-level commands using do shell script. This can be exploited via the local CLI or the HTTP server interface, granting the attacker the privileges of the anyquery process, including access to the file system and keychain prompts.
Recommendations For version 0.4.4, escape double-quote and newline characters in the url value before interpolation in plugins/chrome/tabs.go at lines 141 and 169, or pass the URL as an AppleScript variable using the argv mechanism to avoid string interpolation. Validate that the url conforms to allowed schemes such as https://, http://, or chrome:// before processing. As a temporary mitigation, restrict access to the chrome tabs virtual table to prevent unauthorized INSERT or UPDATE operations.

Fix

Code Injection

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-47252
GHSA-HRJ8-HJV8-MGWC
GO-2026-5436
OPENSUSE-SU-2026:21483-1

Affected Products

Anyquery