Description

osquery is a SQL powered operating system instrumentation, monitoring, and analytics framework. Prior to 5.23.1, an unprivileged attacker can read the contents of an osquery file carve until the carve completes and the temporary files are deleted because in-progress carve directories are not created with private permissions. If the carve targets a directory that the attacker controls, arbitrary file reads are possible, such as sensitive local files. This issue is fixed in version 5.23.1.

Severity (CVSS)

Base score4.4
SeverityMedium
VersionCVSS 3.1
VectorCVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:N/A:N
Provided byCNA

Weaknesses

  • CWE-279 — CWE-279: Incorrect Execution-Assigned Permissions
  • CWE-378 — CWE-378: Creation of Temporary File With Insecure Permissions
  • CWE-379 — CWE-379: Creation of Temporary File in Directory with Insecure Permissions

Affected products

VendorProductVersions
osqueryosquery< 5.23.1

References

Authoritative sources

This page is a snapshot. For the latest enrichment and updates, view the record on CVE.org or the NVD.

Generated from the official CVE List on 11 Jul 2026 07:02 UTC.