CVE-2026-57966

Spice-vdagent: path traversal in file transfer via unsanitized filename

Published Jun 29, 2026 CVSS 3.1 · 4.4 Medium EPSS < 1% KEV · Not listed
Description
A path traversal vulnerability was found in spice-vdagent. This flaw allows a malicious or compromised SPICE host to write arbitrary files to any location on the guest operating system. This occurs because the filename provided by the SPICE host during file transfers is not properly sanitized before being used. An attacker could exploit this to write to sensitive locations with the privileges of the spice-vdagent process, typically the logged-in user. This issue requires the SPICE host to be untrusted or compromised for exploitation.

Analysis

AI-generated

Technical impact

The vulnerability resides in spice‑vdagent, where the filename supplied by a SPICE host during file transfer is used without proper sanitization. This flaw permits a malicious or compromised SPICE host to write arbitrary files to any location on the guest OS. The primary effect is remote write access, which can compromise confidentiality and integrity by installing malicious code or modifying critical files. The weakness is a classic File Path Manipulation (CWE‑22).

Affected Systems

Red Hat Enterprise Linux releases 6, 7, 8, 9, and 10 include the affected spice‑vdagent component. Systems that run these distributions and have the SPICE client enabled are vulnerable. No other vendors or products are listed in the CVE entry.

Risk and Exploitability

The CVSS score of 4.4 indicates moderate severity. EPSS is not available, and the vulnerability is not currently listed in the CISA KEV catalog, suggesting limited observed exploitation so far. However, exploitation requires the SPICE host to be untrusted or compromised; a malicious host could use the file transfer capability to write files with the privileges of the spice‑vdagent process, typically the logged‑in user. This creates a potential for privilege escalation, code execution, or sabotage if the guest runs with elevated privileges.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update or reinstall the latest Red Hat package that contains the patched spice‑vdagent version.
  • Restrict SPICE host connections to trusted hosts only, or disable file transfer functionality if it is not required.
  • Apply SELinux or AppArmor confinement to limit spice‑vdagent write permissions to only essential directories, preventing arbitrary file creation.

Generated by OpenCVE AI on June 29, 2026 at 09:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4698-1 spice-vdagent security update
History
Type Values Removed Values Added
First Time appeared Redhat rhel Els
CPEs cpe:/o:redhat:enterprise_linux:10
cpe:/o:redhat:enterprise_linux:6
cpe:/o:redhat:enterprise_linux:7
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
cpe:/a:redhat:enterprise_linux:10
cpe:/a:redhat:enterprise_linux:8
cpe:/a:redhat:enterprise_linux:9
cpe:/o:redhat:rhel_els:6
cpe:/o:redhat:rhel_els:7
Vendors & Products Redhat rhel Els
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description A path traversal vulnerability was found in spice-vdagent. This flaw allows a malicious or compromised SPICE host to write arbitrary files to any location on the guest operating system. This occurs because the filename provided by the SPICE host during file transfers is not properly sanitized before being used. An attacker could exploit this to write to sensitive locations with the privileges of the spice-vdagent process, typically the logged-in user. This issue requires the SPICE host to be untrusted or compromised for exploitation.
Title Spice-vdagent: path traversal in file transfer via unsanitized filename
First Time appeared Redhat
Redhat enterprise Linux
Weaknesses CWE-22
CPEs cpe:/o:redhat:enterprise_linux:10
cpe:/o:redhat:enterprise_linux:6
cpe:/o:redhat:enterprise_linux:7
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
Vendors & Products Redhat
Redhat enterprise Linux
References
Metrics cvssV3_1

{'score': 4.4, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N'}

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Nov 5, 2026, 10:16 PM
Reserved
Jun 26, 2026, 3:48 PM
Status
Analyzed
Published
Jun 29, 2026, 9:16 AM
Modified
Nov 5, 2026, 11:16 PM