CVE-2020-26273: sqlite ATTACH allows some filesystem access
Vulnerability summary
CVE-2020-26273 is a medium (CVSS 5.2) vulnerability in linuxfoundation osquery. EPSS estimates a 0.95% chance of exploitation in the next 30 days, higher than 62.6% of scored vulnerabilities. 2 public exploits are recorded.
Not severe (CVSS 5.2, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 16-12-2020PublishedVulnerability first disclosed.
- 04-08-2024Last modifiedVulnerability information updated.
Description
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 metrics
3 scores · 2 sources · 2 versions- NVDNIST5.2MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
EPSS trend
Probability
0.95%
Chance of exploitation in the next 30 days
Percentile
63%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.95% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
2 foundOsquery
Maturity: poc
Payloadsallthethings
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Linuxfoundation1 product
- osquery< 4.6.0
Osquery1 product
- osquery< 4.6.0
2 vendors · 2 products
References
4 links- github.com/osquery/osquery/security/advisories/GHSA-4g56-2482-x7q8X Refsource CONFIRMExploitThird Party Advisory
- github.com/swisskyrepo/PayloadsAllTheThings/blob/master/SQL%20Injection/SQLite%20Injection.mdX Refsource MISCExploitThird Party Advisory
- github.com/osquery/osquery/commit/c3f9a3dae22d43ed3b4f6a403cbf89da4cba7c3cX Refsource MISCPatchThird Party Advisory