CVE-2020-26273: medium-severity vulnerability in osquery
sqlite ATTACH allows some filesystem access
Published · Updated
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
13Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 5.2epss 1.0%
osquery is a SQL powered operating system instrumentation, monitoring, and analytics framework. In osquery before version 4.6.0, by using sqlite's ATTACH verb, someone with administrative access to osquery can cause reads and writes to arbitrary sqlite databases on disk. This _does_ allow arbitrary files to be created, but they will be sqlite databases. It does not appear to allow existing non-sqlite files to be overwritten. This has been patched in osquery 4.6.0. There are several mitigating factors and possible workarounds. In some deployments, the people with access to these interfaces may be considered administrators. In some deployments, configuration is managed by a central tool. This tool can filter for the `ATTACH` keyword. osquery can be run as non-root user. Because this also limits the desired access levels, this requires deployment specific testing and configuration.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Affected products
osquery · osqueryRelated CVEs — osquery
In the same product, most dangerous first.
CVE-2020-11081MEDIUMosquery susceptible to DLL search order hijacking of zlib1.dllEPSS 0.6%CVE-2026-54000HIGHosquery: Heap buffer overflow in `getProcessCurrentDirectory()` via `processes` table (Windows)EPSS 0.2%CVE-2026-54001HIGHosquery: Heap buffer overflow via `authenticode` table (Windows)EPSS 0.2%CVE-2026-46388MEDIUMosquery: Unprivileged users can temporarily read file carve contentsEPSS 0.1%
References
https://github.com/osquery/osquery/commit/c3f9a3dae22d43ed3b4f6a403cbf89da4cba7c3chttps://github.com/osquery/osquery/releases/tag/4.6.0https://github.com/osquery/osquery/security/advisories/GHSA-4g56-2482-x7q8https://github.com/swisskyrepo/PayloadsAllTheThings/blob/master/SQL%20Injection/SQLite%20Injection.md#remote-command-execution-using-sqlite-command---load_extension