# CVE-2026-50006

## Summary

- **CVE ID:** CVE-2026-50006
- **Severity:** CRITICAL
- **CVSS Score:** 9.1 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H)
- **CWE:** CWE-22, CWE-73, CWE-284, CWE-434, CWE-862
- **Published:** Sep 14, 2026
- **Last Modified:** Sep 15, 2026

## Description

Anyquery is an SQL query engine built on top of SQLite. Prior to 0.4.5, anyquery server forwards unauthenticated SQL from its MySQL-compatible server port to SQLite without restricting ATTACH DATABASE filesystem targets. A remote attacker can select any path writable by the Anyquery server process, cause SQLite to create a database file there, and place attacker-controlled table content in that file. This permits arbitrary file creation or overwrite, causing filesystem integrity loss and denial of service; remote code execution is possible only when another service interprets the written file or the process has a suitably privileged writable target. This issue is fixed in version 0.4.5.

## Affected Products

- julien040 — anyquery (< 0.4.5)

## References

- [CNA](https://github.com/julien040/anyquery/security/advisories/GHSA-xrcf-6jh3-ggvx)
- [CNA](https://github.com/julien040/anyquery/commit/27f84fc168310455eaf81ec4ba87eed20298670c)
- [CNA](https://github.com/julien040/anyquery/releases/tag/0.4.5)

## Exploitation Prediction (EPSS)

- **EPSS Score:** 0.77%
- **EPSS Percentile:** 53.8

---
_Exported from OnDuty AI Vulnerability Intelligence on 2026-09-18._