CVE-2023-7216: A path traversal vulnerability was found in the CPIO utility
CVE-2023-7216 is a medium-severity flaw (CVSS 5.3) affecting cpio, enterprise linux. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- Public exploit reference
- On your watchlist
No fix is published yet: follow the downgrade or mitigation steps.
Last updated 2026-11-06 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2023-7216?
cpio: mitigate or apply the listed mitigation; enterprise linux: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2023-7216 being exploited?
CVE-2023-7216 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2023-7216 affect?
CVE-2023-7216 affects cpio, enterprise linux. Severity is medium (CVSS 5.3). 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 symlin
How urgent is CVE-2023-7216?
Priority 44/100. Public exploit reference; On your watchlist
Related CVEs
- CVE-2015-1197 LOW 1.9 DOWNGRADE cpio 2.11, when using the --no-absolute-filenames option, allows local users to write to arbitrary files via a
- CVE-2023-7207 MEDIUM 4.9 DOWNGRADE Debian's cpio contains a path traversal vulnerability
- CVE-2021-38185 HIGH 7.8 UPGRADE GNU cpio through 2.13 allows attackers to execute arbitrary code via a crafted pattern file, because of a dstr
- CVE-2019-14866 HIGH 7.3 UPGRADE MITIGATE In all versions of cpio before 2.13 does not properly validate input files when generating TAR archives
- CVE-2016-2037 MEDIUM 6.5 DOWNGRADE MITIGATE The cpio_safer_name_suffix function in util.c in cpio 2.11 allows remote attackers to cause a denial of servic