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.
Published: 2026-06-29
Score: 4.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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

No advisories yet.

History

Mon, 29 Jun 2026 13:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Mon, 29 Jun 2026 08:45:00 +0000

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'}


Subscriptions

Redhat Enterprise Linux
cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published:

Updated: 2026-06-29T12:53:20.891Z

Reserved: 2026-06-26T15:48:49.151Z

Link: CVE-2026-57966

cve-icon Vulnrichment

Updated: 2026-06-29T12:53:18.143Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-06-29T20:05:32Z

Weaknesses
  • CWE-22

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