CVE-2026-46388 osquery: Unprivileged users can temporarily read file carve contents

Medium 4.4 Published Updated

Unprivileged users can read sensitive file carve contents due to insecure temporary directory permissions in osquery.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2026-46388?

CVE-2026-46388 is a medium-severity vulnerability in osquery, published on 10 Jul 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official 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.

Weakness: CWE-379, CWE-378, CWE-279

Which versions are affected by CVE-2026-46388?

How do I fix CVE-2026-46388?

No fix has been published for CVE-2026-46388 yet. Limit exposure of the affected software until one is available.

Is CVE-2026-46388 being exploited?

There is no known exploitation of CVE-2026-46388 in the wild and no public exploit code.

Sources

Also known as GHSA-fg78-9q98-62hh.

Is CVE-2026-46388 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free