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
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain local unprivileged shell access
  2. Delivery
    Wait for admin-initiated file carve
  3. Exploit
    Access world-readable temporary carve directory
  4. Execution
    Read sensitive carve contents
  5. Impact
    Exfiltrate 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

osquery < 5.23.1

Affected Packages

euvd osquery fix: 5.23.1

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

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

1
Patch available
Jul 10, 2026 - 17:01 EUVD

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.

Threat Intelligence Overview

EPSS Score
0.1%
Top 99% exploitable
Prevalence
Medium
widely used endpoint monitoring tool in enterprise security and DevOps teams
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

22
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +22
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

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