Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain local unprivileged shell access
-
DeliveryWait for admin-initiated file carve
-
ExploitAccess world-readable temporary carve directory
-
ExecutionRead sensitive carve contents
-
ImpactExfiltrate data before cleanup completes
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V8 - Authorization Incorrect execution permissions
|
| Exploitation Conditions | Exploitation requires four concurrent conditions: (1) the attacker holds a local unprivileged account (PR:L) on the host running osquery; (2) a file carve must be actively in progress - triggered by an administrator or automated query schedule (UI:R); (3) the attacker must have read access to the osquery temporary carve directory (the core permission gap) or control over the carve target directory (AC:H); and (4) the attacker must act within the carve's active window before temporary files are deleted. Exploitation is bounded by carve duration and local access - remote unauthenticated exploitation is not possible. The attack does not apply to osquery deployments that never use the file carve feature. |
| Impact | CVSS 4.4 Medium (AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:N/A:N) correctly characterises this as a local, high-complexity, confidentiality-only issue. The local attack vector (AV:L) means network-based exploitation is not possible; an attacker must already hold a local shell. High complexity (AC:H) reflects the narrow exploitation window - the attacker must either time access to an ongoing carve or control the carve target directory. User interaction (UI:R) indicates a privileged operator must initiate the carve, limiting opportunistic exploitation. Despite the High confidentiality impact (C:H), which reflects that sensitive files can be fully exposed, these combined constraints suppress the real-world severity well below a critical threshold. No EPSS data was provided and the CVE is not listed in the CISA KEV catalogue, consistent with a localised information-disclosure pattern. This is a meaningful risk in environments with untrusted local users co-existing with security tooling (e.g., shared servers, SOC analyst workstations), but not a mass-exploitation priority. |
| Exploit ScenarioDerived | A local low-privileged attacker on a monitored host waits for an osquery administrator to schedule or trigger a file carve. During the carve operation, the attacker polls or watches the osquery temporary working directory and reads the carve contents - which may include configuration files, credentials, or other sensitive data - before cleanup occurs. If the attacker can place a symlink or otherwise influence the carve target path, they can extend this to read files outside the intended carve scope. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 10, 2026
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.
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.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
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.
Know when Osquery gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:N/A:N
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.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
1DescriptionCVE.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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
osquery before version 4.4.0 enables a privilege escalation vulnerability. Rated high severity (CVSS 8.2), this vulnerab
An issue was discovered in osquery. Rated high severity (CVSS 7.8), this vulnerability is no authentication required, lo
osquery is a SQL powered operating system instrumentation, monitoring, and analytics framework. Rated medium severity (C
Incorrect validation of the TLS SNI hostname in osquery versions after 2.9.0 and before 4.2.0 could allow an attacker to
In some configurations an attacker can inject a new executable path into the extensions.load file for osquery and hard l
Local privilege escalation in osquery on Windows prior to 5.23.1 lets a standard (unprivileged) user escalate to SYSTEM
Local privilege escalation in osquery on Windows prior to 5.23.1 lets a standard user escalate to SYSTEM by planting a m
EUVD-2026-42916
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB