Skip to main content

osquery CVE-2026-46388

| EUVDEUVD-2026-42916 MEDIUM
Incorrect Execution-Assigned Permissions (CWE-279)
2026-07-10 GitHub_M
4.4
CVSS 3.1 · Vendor: GitHub_M
Share

Severity by source

Vendor (GitHub_M) PRIMARY
4.4 MEDIUM
AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:N/A:N
vuln.today AI
4.4 MEDIUM

Local-only exploitation requiring a low-privilege account, an active carve window (timing dependency), and admin-initiated carve; confidentiality-only impact with no data modification or availability loss.

3.1 AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:N/A:N
4.0 AV:L/AC:H/AT:P/PR:L/UI:A/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Local
Attack Complexity
High
Privileges Required
Low
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

Lifecycle Timeline

2
Patch available
Jul 10, 2026 - 17:01 EUVD
Analysis Generated
Jul 10, 2026 - 16:16 vuln.today

DescriptionCVE.org

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.

AnalysisAI

File carve operations in osquery prior to 5.23.1 expose sensitive data due to world-readable temporary directory permissions, allowing a local unprivileged attacker to read carve contents during the collection window. If the carve targets a directory the attacker controls, the impact extends to arbitrary local file reads. No public exploit identified at time of analysis; the vendor-confirmed fix ships in osquery 5.23.1.

Technical ContextAI

osquery is a SQL-powered OS instrumentation framework (CPE: cpe:2.3:a:osquery:osquery:*:*:*:*:*:*:*:*) that enables endpoint telemetry and forensic file carving via SQL queries. The file carve feature collects files from a host into temporary directories for forwarding to a central store. CWE-279 (Incorrect Execution-Assigned Permissions) identifies the root cause: those in-progress carve directories are created without restrictive filesystem permissions, leaving their contents readable by any local user until the carve completes and the temporary files are removed. This is a classic insecure temporary file pattern where a privileged process fails to apply least-permission ownership before writing sensitive data.

RemediationAI

Upgrade to osquery 5.23.1, which corrects the carve directory permissions at creation time. The upstream fix is implemented in commit 6dabe9ded33bf9c6fc0f3e37ec364a1cbbd25d68 via PR #8961 (https://github.com/osquery/osquery/pull/8961) and is available as a tagged release at https://github.com/osquery/osquery/releases/tag/5.23.1. If immediate upgrade is not possible, restrict file carve target directories to paths owned by and accessible only to the osquery service account, preventing unprivileged users from traversing or reading those paths. Additionally, avoid scheduling carves against directories writable or accessible by untrusted local users. These compensating controls reduce but do not eliminate the race window; patching remains the definitive fix.

Share

CVE-2026-46388 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy