CVE-2023-7216

published 5 Feb 2024 · updated 6 Nov 2026

Cpio: extraction allows symlinks which enables remote command execution

6.3MediumCVSS 5.3EPSS 1%1 public exploits

A public exploit exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. No fixed version is recorded.

A path traversal vulnerability was found in the CPIO utility. This issue could allow a remote unauthenticated attacker to trick a user into opening a specially crafted archive. During the extraction process, the archiver could follow symlinks outside of the intended directory, which allows files to be written in arbitrary directories through symlinks.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
GNUcpio
Red HatEnterprise Linux
redhatenterprise_linux=8.0, =9.0, =7.0

Exploit evidence

1 public sources

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in GNU, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2023-7216 severity on Zeptric[![CVE-2023-7216](https://zeptric.io/badge/cve/CVE-2023-7216.svg)](https://zeptric.io/cve/CVE-2023-7216)