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.
Description as published by the source, in English.
Key facts
Published
2026-07-10
Last modified
2026-07-10
Assigned by
security-advisories@github.com
CVSS vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:N/A:N
Scored by
security-advisories@github.com
Probability of exploitation
0.1 %
higher than 1 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
While it is executing, the product sets the permissions of an object in a way that violates the intended permissions that have been specified by the user.
Opening temporary files without appropriate measures or controls can leave the file, its contents and any function that it impacts vulnerable to attack.
The product creates a temporary file in a directory whose permissions allow unintended actors to determine the file's existence or otherwise access that file.