« Back to list

CVE-2026-47252

Status: DeferredCritical (9)—

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

Read full descriptionShow less

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

Exploitation probability (EPSS)

EPSS (Exploit Prediction Scoring System, FIRST) estimates how likely a vulnerability is to be exploited in the wild within 30 days. It complements CVSS (impact) and CISA KEV (confirmed exploitation).

Affected technologies (5)

⚠ AI-inferred from the description — NVD hasn't analyzed this CVE yet, these aren't verified CPEs.

CWEs

References

Raw JSON (NVD)

Show
{
  "id": "CVE-2026-47252",
  "cveTags": [],
  "metrics": {
    "ssvcV203": [
      {
        "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "ssvcData": {
          "id": "CVE-2026-47252",
          "role": "CISA Coordinator",
          "options": [
            {
              "exploitation": "poc"
            },
            {
              "automatable": "no"
            },
            {
              "technicalImpact": "total"
            }
          ],
          "version": "2.0.3",
          "timestamp": "2026-09-17T19:11:46.878638Z"
        }
      }
    ],
    "cvssMetricV31": [
      {
        "type": "Secondary",
        "source": "security-advisories@github.com",
        "cvssData": {
          "scope": "CHANGED",
          "version": "3.1",
          "baseScore": 9,
          "attackVector": "NETWORK",
          "baseSeverity": "CRITICAL",
          "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H",
          "integrityImpact": "HIGH",
          "userInteraction": "REQUIRED",
          "attackComplexity": "LOW",
          "availabilityImpact": "HIGH",
          "privilegesRequired": "LOW",
          "confidentialityImpact": "HIGH"
        },
        "impactScore": 6,
        "exploitabilityScore": 2.3
      }
    ]
  },
  "affected": [
    {
      "source": "security-advisories@github.com",
      "affectedData": [
        {
          "vendor": "julien040",
          "product": "anyquery",
          "versions": [
            {
              "status": "affected",
              "version": "< 0.4.5"
            }
          ]
        },
        {
          "vendor": "anyquery",
          "product": "github.com/julien040/anyquery/plugins/brave",
          "versions": [
            {
              "status": "affected",
              "version": "< 0.2.0"
            }
          ]
        },
        {
          "vendor": "anyquery",
          "product": "github.com/julien040/anyquery/plugins/chrome",
          "versions": [
            {
              "status": "affected",
              "version": "< 0.2.0"
            }
          ]
        },
        {
          "vendor": "anyquery",
          "product": "github.com/julien040/anyquery/plugins/edge",
          "versions": [
            {
              "status": "affected",
              "version": "< 0.2.0"
            }
          ]
        },
        {
          "vendor": "anyquery",
          "product": "github.com/julien040/anyquery/plugins/reminders",
          "versions": [
            {
              "status": "affected",
              "version": "< 0.2.0"
            }
          ]
        },
        {
          "vendor": "anyquery",
          "product": "github.com/julien040/anyquery/plugins/safari",
          "versions": [
            {
              "status": "affected",
              "version": "< 0.2.0"
            }
          ]
        }
      ]
    }
  ],
  "published": "2026-09-17T19:16:48.083",
  "references": [
    {
      "url": "https://github.com/julien040/anyquery/commit/33769e03bd4b0f76d7a20a4188cce7153f6db1c9",
      "source": "security-advisories@github.com"
    },
    {
      "url": "https://github.com/julien040/anyquery/releases/tag/0.4.5",
      "source": "security-advisories@github.com"
    },
    {
      "url": "https://github.com/julien040/anyquery/security/advisories/GHSA-hrj8-hjv8-mgwc",
      "source": "security-advisories@github.com"
    },
    {
      "url": "https://github.com/julien040/anyquery/security/advisories/GHSA-hrj8-hjv8-mgwc",
      "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0"
    }
  ],
  "vulnStatus": "Deferred",
  "weaknesses": [
    {
      "type": "Secondary",
      "source": "security-advisories@github.com",
      "description": [
        {
          "lang": "en",
          "value": "CWE-94"
        }
      ]
    }
  ],
  "descriptions": [
    {
      "lang": "en",
      "value": "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."
    }
  ],
  "lastModified": "2026-09-30T17:51:56.193",
  "sourceIdentifier": "security-advisories@github.com"
}