# CVE-2021-29476: Insecure Deserialization of untrusted data in rmccue/requests

- Severity: Critical 9.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.14%, higher than 82% of CVEs (2026-12-01)
- Published: 2021-04-27T20:55:13.000Z
- Modified: 2026-07-08T06:27:55.875Z
- Also known as: GHSA-52qp-jpq7-6c54
- Weaknesses: CWE-502
- Assigned by: GitHub_M

## Description

Requests is a HTTP library written in PHP. Requests mishandles deserialization in FilteredIterator. The issue has been patched and users of `Requests` 1.6.0, 1.6.1 and 1.7.0 should update to version 1.8.0.

(As written by CVE List.)

## Affected

- WordPress Requests: >= 1.6.0, < 1.8.0; 1.6.0; 1.6.1; 1.7.0
- rmccue/requests (Packagist): from 1.6.0 before 1.8.0

## Every score

- GitHub_M: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://github.com/WordPress/Requests/security/advisories/GHSA-52qp-jpq7-6c54> (third-party-advisory, web)
- <https://github.com/rmccue/Requests/pull/421> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-29476> (advisory)
- <https://github.com/ambionics/phpggc/issues/52> (web)
- <https://github.com/WordPress/wordpress-develop/commit/add6bedf3a53b647d0ebda2970057912d3cd79d3> (web)
- <https://2018.zeronights.ru/wp-content/uploads/materials/9%20ZN2018%20WV%20-%20PHP%20unserialize.pdf> (web)
- <https://blog.detectify.com/2019/07/23/improving-wordpress-plugin-security> (web)
- <https://cdn2.hubspot.net/hubfs/3853213/us-18-Thomas-It%27s-A-PHP-Unserialization-Vulnerability-Jim-But-Not-As-We-....pdf> (web)
- <https://dannewitz.ninja/posts/php-unserialize-object-injection-yet-another-stars-rating-wordpress> (web)
- <https://github.com/FriendsOfPHP/security-advisories/blob/master/rmccue/requests/CVE-2021-29476.yaml> (web)
- <https://i.blackhat.com/us-18/Thu-August-9/us-18-Thomas-Its-A-PHP-Unserialization-Vulnerability-Jim-But-Not-As-We-Know-It.pdf> (web)
- <https://medium.com/@knownsec404team/extend-the-attack-surface-of-php-deserialization-vulnerability-via-phar-d6455c6a1066#3c0f> (web)
- <https://wordpress.org/news/2020/10/wordpress-5-5-2-security-and-maintenance-release> (web)

## Sources

- CVE List: [CVE-2021-29476](https://www.cve.org/CVERecord?id=CVE-2021-29476), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-52qp-jpq7-6c54](https://github.com/advisories/GHSA-52qp-jpq7-6c54), CC-BY-4.0, modified 2026-07-08
- NVD: [CVE-2021-29476](https://nvd.nist.gov/vuln/detail/CVE-2021-29476), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-29476 · Whole record: https://cve.day/CVE-2021-29476.json · Rebuilt by cve.day 2026-11-25T22:58:01.064Z
