CVE-2026-46388

osquery: Unprivileged users can temporarily read file carve contents

State
Published
Severity
4.4 Medium
Published
Jul 10, 2026
Updated
Jul 10, 2026
Reserved
May 13, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.14.4 MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:N/A:NGitHub_M

Weaknesses

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

Affected Products

ProductVersions
osqueryosquery
  • < 5.23.1Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.