Vulnerability · Published Jun 29, 2026 · Assigned by redhat
CVE-2026-57966Spice-vdagent: path traversal in file transfer via unsanitized filename
Medium 4.4
In plain English
A medium-severity path traversal in Red Hat Enterprise Linux 10 from Red Hat. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.1% (higher than 2% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | spice-vdagent | 0.22.1-3+deb12u1 | DEBIAN-CVE-2026-57966 |
| Debian:13 | spice-vdagent | no fix listed | DEBIAN-CVE-2026-57966 |
| Debian:14 | spice-vdagent | 0.23.0-3 | DEBIAN-CVE-2026-57966 |
| Ubuntu:22.04:LTS | spice-vdagent | 0.22.1-1ubuntu0.1 | UBUNTU-CVE-2026-57966 |
| Ubuntu:22.04:LTS | spice-vdagent | 0.22.1-1ubuntu0.1 | USN-8723-1 |
| Ubuntu:24.04:LTS | spice-vdagent | 0.22.1-4ubuntu0.1 | USN-8723-1 |
| Ubuntu:24.04:LTS | spice-vdagent | 0.22.1-4ubuntu0.1 | UBUNTU-CVE-2026-57966 |
| Ubuntu:25.10 | spice-vdagent | no fix listed | UBUNTU-CVE-2026-57966 |
| Ubuntu:26.04:LTS | spice-vdagent | 0.23.0-1ubuntu0.1 | USN-8723-1 |
| Ubuntu:26.04:LTS | spice-vdagent | 0.23.0-1ubuntu0.1 | UBUNTU-CVE-2026-57966 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Red Hat | Red Hat Enterprise Linux 10 | see references |
| Red Hat | Red Hat Enterprise Linux 6 | see references |
| Red Hat | Red Hat Enterprise Linux 7 | see references |
| Red Hat | Red Hat Enterprise Linux 8 | see references |
| Red Hat | Red Hat Enterprise Linux 8 | see references |
| Red Hat | Red Hat Enterprise Linux 9 | see references |
Weakness: CWE-22 · Vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N
References
- https://access.redhat.com/security/cve/CVE-2026-57966 vdb-entry, x_refsource_REDHAT
- RHBZ#2493582 issue-tracking, x_refsource_REDHAT