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 score | 4.4 |
|---|---|
| Severity | Medium |
| Version | CVSS 3.1 |
| Vector | CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:N/A:N |
| Provided by | CNA |
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
| Vendor | Product | Versions |
|---|---|---|
| osquery | osquery | < 5.23.1 |
References
- https://github.com/osquery/osquery/security/advisories/GHSA-fg78-9q98-62hh (x_refsource_CONFIRM)
- https://github.com/osquery/osquery/pull/8961 (x_refsource_MISC)
- https://github.com/osquery/osquery/commit/6dabe9ded33bf9c6fc0f3e37ec364a1cbbd25d68 (x_refsource_MISC)
- https://github.com/osquery/osquery/releases/tag/5.23.1 (x_refsource_MISC)
Generated from the official CVE List on 11 Jul 2026 07:02 UTC.