# CVE-2023-7216: Cpio: extraction allows symlinks which enables remote command execution

- Priority: **Routine**
- Reason: Not severe (CVSS 5.3, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-02-05 · Modified: 2026-11-25
- Aliases: UBUNTU-CVE-2023-7216
- Record: https://cvemate.com/vulnerability/CVE-2023-7216 · JSON: https://cvemate.com/vulnerability/CVE-2023-7216/json

## Description

```text
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.
```

## Signals

- CVSS: 5.3 medium (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L
- EPSS: 0.899%, percentile 60.87%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (reference)

## Affected

- ubuntu cpio (Ubuntu): All versions (No fix recorded)
- gnu cpio: na
- redhat enterprise\_linux: 7.0 \| 8.0 \| 9.0

## References

- <https://access.redhat.com/security/cve/CVE-2023-7216>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2249901>
- <https://ubuntu.com/security/CVE-2023-7216>
- <https://www.cve.org/CVERecord?id=CVE-2023-7216>

---

Data as of 2026-12-05T03:06:28.179Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
