Skip to main content
Vulnerability Database/CVE-2026-107935

CVE-2026-107935: gvproxy Path Traversal Vulnerability

CVE-2026-107935 is a path traversal flaw in gvproxy network forwarder that enables unauthenticated attackers to delete arbitrary files on the host system. This post covers technical details, affected versions, and mitigation.

Published:

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-107935 Overview

A path traversal vulnerability affects gvproxy, the network forwarder shipped with the gvisor-tap-vsock package. The unauthenticated /services/forwarder/expose endpoint does not validate the caller-supplied socket path. An attacker on an adjacent network can send a crafted request that causes gvproxy to delete arbitrary files on the host system. The flaw is tracked as CWE-22 (Improper Limitation of a Pathname to a Restricted Directory). Because gvproxy typically runs with elevated privileges to manage virtual machine networking, successful exploitation can corrupt host integrity and cause denial of service. Container and virtual machine tooling that depends on gvisor-tap-vsock, including Podman Machine deployments, is affected.

Critical Impact

Unauthenticated adjacent-network attackers can delete arbitrary files on the host, causing integrity loss and service outages.

Affected Products

  • gvisor-tap-vsock package (gvproxy binary)
  • Red Hat distributions that ship gvisor-tap-vsock (see the Red Hat CVE Advisory)
  • Downstream tooling bundling gvproxy, including Podman Machine environments

Discovery Timeline

  • 2026-10-09 - CVE-2026-107935 published to the National Vulnerability Database
  • 2026-10-12 - Last updated in NVD database

Technical Details for CVE-2026-107935

Vulnerability Analysis

gvproxy exposes an HTTP control API used by the host to configure port forwarding into guest virtual machines. The /services/forwarder/expose endpoint accepts JSON parameters that include a Unix domain socket path on the host. The handler uses this path to manage the forwarding socket lifecycle, including removing stale socket files before binding. The handler does not canonicalize the supplied path or constrain it to an allow-listed directory. An attacker reachable on the API's listening interface can therefore submit a path that resolves outside the intended socket directory. The service then performs a file removal operation against the attacker-controlled location.

Because the endpoint requires no authentication, exploitation needs only network reachability to the control API. The impact is file deletion on the host, which maps to integrity and availability loss rather than data exfiltration.

Root Cause

The root cause is missing input validation on the path parameter passed to the expose handler. The code accepts any string, including sequences such as ../ and absolute paths, and uses it directly in filesystem operations. See the upstream fix in the GitHub gVisor-tap-vsock pull request for the validation logic added upstream.

Attack Vector

Exploitation requires network access to the gvproxy control API, which is typically bound to a loopback interface, a vsock channel, or a host-only network segment shared with guest virtual machines. A compromised guest, a local unprivileged process able to reach the API, or an attacker on the same adjacent network segment can issue an unauthenticated HTTP request to /services/forwarder/expose with a traversal payload. gvproxy processes the request with its own privileges and deletes the referenced file. Repeated requests can remove multiple system files, degrading or disabling host services.

No public proof-of-concept exploit was referenced at the time of publication. Technical details are available in the Red Hat Bug Report.

Detection Methods for CVE-2026-107935

Indicators of Compromise

  • HTTP POST requests to /services/forwarder/expose on the gvproxy control socket containing .., absolute paths, or paths outside the expected socket directory.
  • Unexpected deletion of files owned by the user running gvproxy, especially outside its runtime socket directory.
  • gvproxy process logs showing socket removal errors referencing unusual filesystem paths.

Detection Strategies

  • Enable verbose logging on gvproxy and alert on expose requests whose path parameter contains traversal sequences or resolves outside the designated runtime directory.
  • Monitor host file integrity for unexpected unlink operations performed by the gvproxy process using auditd or eBPF-based file access telemetry.
  • Correlate guest-to-host API traffic with host file deletion events to identify guest-originated exploitation attempts.

Monitoring Recommendations

  • Instrument the host with filesystem telemetry that captures the executing process, syscall, and target path for unlink and unlinkat operations.
  • Alert when any process owned by the gvproxy user removes files outside its expected working directory.
  • Track package inventory to confirm gvisor-tap-vsock is updated across all hosts that run Podman Machine or similar tooling.

How to Mitigate CVE-2026-107935

Immediate Actions Required

  • Update gvisor-tap-vsock to a fixed version as published through the Red Hat CVE Advisory and distribution vendors.
  • Restart dependent services such as Podman Machine so the patched gvproxy binary is loaded.
  • Audit which network interfaces expose the gvproxy control API and remove any unnecessary reachability from guest VMs or other hosts.

Patch Information

The upstream fix adds validation to constrain the expose endpoint's socket path to a permitted directory. Review the change in the GitHub gVisor-tap-vsock pull request and track distribution-specific updates in the Red Hat Jira ticket. Apply the vendor-provided package for your distribution.

Workarounds

  • Restrict access to the gvproxy control API to trusted local processes only, blocking adjacent-network reachability where feasible.
  • Run gvproxy under a dedicated, least-privileged user account that cannot delete critical system files.
  • Disable or shut down Podman Machine and other gvproxy-dependent tooling on untrusted hosts until the patched package is deployed.
bash
# Example: update gvisor-tap-vsock on Red Hat-based systems and restart dependent tooling
sudo dnf update gvisor-tap-vsock
podman machine stop
podman machine start

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

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.