Skip to main content

CVE-2026-47252: CWE-94: Improper Control of Generation of Code ('Code Injection') in julien040 anyquery

0
Critical
VulnerabilityCVE-2026-47252cvecve-2026-47252cwe-94
Published: 09/17/2026 (09/17/2026, 18:17:43 UTC)
Source: CVE Database V5
Vendor/Project: julien040
Product: anyquery

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.

CVSS v3.1

Score 9.0critical

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H

Affected software

julien040

anyquery

Affected versions
<0.4.5

anyquery

github.com/julien040/anyquery/plugins/brave

Affected versions
<0.2.0

anyquery

github.com/julien040/anyquery/plugins/chrome

Affected versions
<0.2.0

anyquery

github.com/julien040/anyquery/plugins/edge

Affected versions
<0.2.0

anyquery

github.com/julien040/anyquery/plugins/reminders

Affected versions
<0.2.0

anyquery

github.com/julien040/anyquery/plugins/safari

Affected versions
<0.2.0

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-05-18T22:54:18.273Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6aac322855bf5e2cf5bc1dcb

Added to database: 09/17/2026, 18:32:08 UTC

Last updated: 09/17/2026, 18:32:08 UTC

Views: 1

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses