ReactPHP's HTTP server parses encoded cookie names so malicious `__Host-` and `__Secure-` cookies can be sent
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · Low · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.
Summary
ReactPHP HTTP is a streaming HTTP client and server implementation for ReactPHP. In ReactPHP's HTTP server component versions starting with 0.7.0 and prior to 1.7.0, when ReactPHP is processing incoming HTTP cookie values, the cookie names are url-decoded. This may lead to cookies with prefixes like `__Host-` and `__Secure-` confused with cookies that decode to such prefix, thus leading to an attacker being able to forge cookie which is supposed to be secure. This issue is fixed in ReactPHP HTTP version 1.7.0. As a workaround, Infrastructure or DevOps can place a reverse proxy in front of the ReactPHP HTTP server to filter out any unexpected `Cookie` request headers.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| reactphp | http | 0.7.0 to before 1.7.0 | 1.7.0 | Patch available | CNA |
| — | react/http (Packagist) | 0.7.0 to before 1.7.0 | 1.7.0 | Patch available | GHSA-w3w9-vrf5-8mx8 |
- http Vendorreactphp Affected 0.7.0 to before 1.7.0 Fixed in 1.7.0 Patch available CNA
- react/http (Packagist) Vendor— Affected 0.7.0 to before 1.7.0 Fixed in 1.7.0 Patch available GHSA-w3w9-vrf5-8mx8
Remediation
- Fix · CNA http (reactphp) Fixed in 1.7.0
- Fix · GHSA-w3w9-vrf5-8mx8 react/http (Packagist) Fixed in 1.7.0 Advisory →
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2022-36032
- 2026-10-03 Alias added: GHSA-w3w9-vrf5-8mx8
References
Patch 3
Advisory 2
More reactphp Http vulnerabilities
- TI-2023-11278 ReactPHP's HTTP server continues parsing unused multipart parts after reaching limits CVSS 3.1MEDIUM 5.3
Sources
- CVE-2022-36032 · CVE Program
- CVE-2022-36032 · NVD
- FIRST EPSS
- GHSA-w3w9-vrf5-8mx8 · GitHub Advisory Database · CC BY 4.0
- CVE-2022-36032 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences