Vulnerability record · CVE-2021-21706 · published 4 October 2021
CVE-2021-21706: Php path traversal vulnerability
Php · Php
In PHP versions 7.3.x below 7.3.31, 7.4.x below 7.4.24 and 8.0.x below 8.0.11, in Microsoft Windows environment, ZipArchive::extractTo may be tricked into writing a file outside target directory when extracting a ZIP file, thus potentially causing files to be created or overwritten, subject to OS permissions.
Description
In PHP versions 7.3.x below 7.3.31, 7.4.x below 7.4.24 and 8.0.x below 8.0.11, in Microsoft Windows environment, ZipArchive::extractTo may be tricked into writing a file outside target directory when extracting a ZIP file, thus potentially causing files to be created or overwritten, subject to OS permissions.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://bugs.php.net/bug.php?id=81420 | Issue TrackingPatchVendor Advisory |
| https://security.netapp.com/advisory/ntap-20211029-0007/ | Third Party Advisory |
| https://bugs.php.net/bug.php?id=81420 | Issue TrackingPatchVendor Advisory |
| https://security.netapp.com/advisory/ntap-20211029-0007/ | Third Party Advisory |
Track CVE-2021-21706 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2021-21706), CISA KEV, FIRST EPSS (scores of 2026-09-29). This page is refreshed as NVD updates the record.