CVE-2021-29476
Insecure Deserialization of untrusted data in rmccue/requests
Also known as GHSA-52qp-jpq7-6c54
Mitigation
- Upgrade rmccue/requests to 1.8.0 or later.
Who should check
- Projects that depend on Packagist package rmccue/requests (>= 1.6.0, < 1.8.0)
- Anyone running WordPress Requests >= 1.6.0, < 1.8.0
Vulnerability facts
- Affected
- rmccue/requests >= 1.6.0, < 1.8.0
- Fixed in
- 1.8.0
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 9.8 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 2.14% chance of exploitation in 30 days (percentile 83, 2026-11-26)
- CWE
- CWE-502
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Packagist rmccue/requests | >= 1.6.0, < 1.8.0 | 1.8.0 | osv |
| WordPress Requests | >= 1.6.0, < 1.8.0 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2021-29476. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2021-29476.md Affected: rmccue/requests >= 1.6.0, < 1.8.0 Fixed in: 1.8.0 Steps: 1. Search this machine and project for rmccue/requests (Packagist), WordPress Requests: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Patches
Other
- https://github.com/ambionics/phpggc/issues/52
- https://2018.zeronights.ru/wp-content/uploads/materials/9%20ZN2018%20WV%20-%20PHP%20unserialize.pdf
- https://blog.detectify.com/2019/07/23/improving-wordpress-plugin-security
- https://cdn2.hubspot.net/hubfs/3853213/us-18-Thomas-It%27s-A-PHP-Unserialization-Vulnerability-Jim-But-Not-As-We-....pdf
- https://dannewitz.ninja/posts/php-unserialize-object-injection-yet-another-stars-rating-wordpress
- https://github.com/FriendsOfPHP/security-advisories/blob/master/rmccue/requests/CVE-2021-29476.yaml
- 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
- https://medium.com/@knownsec404team/extend-the-attack-surface-of-php-deserialization-vulnerability-via-phar-d6455c6a1066#3c0f
- https://wordpress.org/news/2020/10/wordpress-5-5-2-security-and-maintenance-release
FAQ
Is CVE-2021-29476 being exploited?
There is no confirmed exploitation: CVE-2021-29476 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 2.14% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2021-29476?
Critical: CVSS 9.8 (v3.1, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2021-29476?
rmccue/requests >= 1.6.0, < 1.8.0.
Is there a fix for CVE-2021-29476?
Yes. Fixed in 1.8.0. Upgrade rmccue/requests to 1.8.0 or later.
How do I check if I'm affected by CVE-2021-29476?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.