CVE-2026-46388 PUBLISHED

osquery: Unprivileged users can temporarily read file carve contents

Assigner: GitHub_M
Reserved: 13.05.2026 Published: 10.07.2026 Updated: 10.07.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:N/A:N
CVSS Score: 4.4

Product Status

Vendor osquery
Product osquery
Versions
  • Version < 5.23.1 is affected

References

Problem Types

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