Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-87723 Overview
CVE-2026-87723 is an untrusted search path vulnerability [CWE-426] in Google fuse-archive versions prior to 1.24. The flaw allows a local attacker who controls a directory in PATH to hijack execution of external decompression filters invoked by the fuse-archive process. Successful exploitation leads to arbitrary local code execution under the privileges of the user running fuse-archive. Google partially mitigated the issue in version 1.22 and fully resolved it in version 1.24 through refined selective PATH filtering.
Critical Impact
A local attacker with write access to any directory in PATH can execute arbitrary code in the context of the user mounting an archive, enabling privilege escalation or persistence on multi-user Linux and macOS systems.
Affected Products
- Google fuse-archive versions prior to 1.22 (unmitigated)
- Google fuse-archive versions 1.22 through 1.23 (partially mitigated)
- Google fuse-archive on Linux and macOS deployments relying on external decompression filters
Discovery Timeline
- 2026-09-28 - CVE-2026-87723 published to the National Vulnerability Database (NVD)
- 2026-09-29 - Last updated in NVD database
Technical Details for CVE-2026-87723
Vulnerability Analysis
The fuse-archive utility mounts compressed archives as read-only FUSE filesystems. To decompress formats it does not handle natively, it spawns external filter binaries resolved through the inherited PATH environment variable. Prior to version 1.22, the process either preserved the caller-supplied PATH or cleared it entirely based on the can_use_external_filters flag.
When PATH resolution occurs without sanitization, an attacker who can write to any directory listed in PATH can plant a malicious binary matching the name of a legitimate decompression helper. The fuse-archive process then executes the attacker's binary with the victim user's privileges. The attack requires local access and user interaction, since the victim must mount an archive, but no elevated attacker privileges are needed beyond write access to a PATH entry.
Root Cause
The root cause is an untrusted search path condition [CWE-426]. The pre-patch code sanitized PATH only in the restrictive case (setenv("PATH", "", 1) when external filters were disabled) and left the attacker-controlled PATH intact when external filters were permitted. Any writable or attacker-prepended directory in PATH therefore took precedence over trusted system directories during filter lookup.
Attack Vector
Exploitation requires local access and the ability to influence PATH for the target user, either by prepending a directory or writing a binary into an existing writable PATH entry. The attacker places a malicious executable with the same name as an external decompression filter (for example, a format-specific helper) in that directory. When the victim invokes fuse-archive to mount an archive, the malicious binary executes in place of the legitimate filter.
// Patch excerpt from google/fuse-archive — fuse-archive.cc
// Replaces the prior behavior that only cleared PATH when external
// filters were disabled, and otherwise inherited the caller's PATH.
- if (!ctx.can_use_external_filters) {
- setenv("PATH", "", 1);
- }
+ // Sanitize PATH to a safe system default.
+#ifdef __APPLE__
+ const char safe_path[] =
+ "/usr/bin:/bin:/usr/local/bin:/opt/homebrew/bin:/opt/local/bin";
+#else
+ const char safe_path[] = "/usr/bin:/bin:/usr/local/bin";
+#endif
+ setenv("PATH", ctx.can_use_external_filters ? safe_path : "", 1);
Source: GitHub Commit 4b13a49. The patch overrides any inherited PATH with a hardcoded list of trusted system directories before external filters execute.
Stop Remote Code Execution Before It Runs
Singularity™ Endpoint detects and blocks exploit attempts at machine speed, including zero-days and novel attack techniques.
Stop Exploit AttemptsDetection Methods for CVE-2026-87723
Indicators of Compromise
- Unexpected executable files in user-writable directories that appear in PATH, especially names matching decompression helpers invoked by fuse-archive.
- fuse-archive child processes spawning from non-standard paths such as user home directories, /tmp, or /var/tmp.
- Shell initialization files (.bashrc, .zshrc, .profile) modified to prepend attacker-controlled directories to PATH.
Detection Strategies
- Audit process execution telemetry for fuse-archive parent processes whose child executables resolve outside /usr/bin, /bin, or /usr/local/bin.
- Review installed versions of fuse-archive across Linux and macOS fleets and flag any version below 1.24.
- Correlate archive mount events with subsequent process creation to identify filter binaries loaded from untrusted locations.
Monitoring Recommendations
- Enable file integrity monitoring on directories commonly present in user PATH entries, including ~/.local/bin and ~/bin.
- Log and alert on setenv and execvp activity involving fuse-archive through eBPF or auditd rules.
- Track package manager inventory to confirm fuse-archive upgrades reach version 1.24 or later across endpoints.
How to Mitigate CVE-2026-87723
Immediate Actions Required
- Upgrade fuse-archive to version 1.24 on all Linux and macOS systems where the tool is installed.
- Remove write permissions for untrusted users on every directory referenced in system or user PATH variables.
- Inspect user shell profiles for PATH modifications that prepend writable or non-standard directories.
Patch Information
The fix lands in two commits in the google/fuse-archive repository. Commit 4b13a49 replaces the inherited PATH with a hardcoded safe default of trusted system directories. Commit 6f086e6 introduces the unsafe_path option and refines selective PATH filtering. Both changes ship in version 1.24.
Workarounds
- Invoke fuse-archive with an explicitly sanitized environment, for example env -i PATH=/usr/bin:/bin /usr/bin/fuse-archive ....
- Disable external decompression filters where supported and restrict archive mounting to formats handled natively.
- Restrict fuse-archive execution to accounts whose PATH is controlled exclusively by root or a trusted administrator.
# Mitigation example: launch fuse-archive with a known-good PATH
env -i \
HOME="$HOME" \
PATH="/usr/bin:/bin:/usr/local/bin" \
/usr/bin/fuse-archive archive.tar.gz /mnt/archive
# Verify installed version is 1.24 or later
fuse-archive --version
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

