Predis: Redis command injection and denial of service via CRLF smuggling in pipelined commands on aggregate connections
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.
Summary
Predis is a flexible and feature-complete Redis and Valkey client for PHP. From version 3.0.0-RC1 until version 3.3.0, pipeline handling on aggregate cluster and replication connections reparses an already serialized RESP buffer in AbstractAggregateConnection::write() by splitting it with explode("\r\n") instead of honoring RESP length prefixes. Attacker-controlled keys or values containing CRLF sequences can therefore be interpreted by Command::deserializeCommand() as additional commands. On cluster connections, ClusterStrategy::getFakeKey() can route injected keyless commands using the literal fake key value "key", permitting operations such as shard-wide cache deletion, targeted data modification, data reads, or node disruption. On replication connections, malformed reparsing can throw an uncaught exception and repeatedly terminate affected requests. Only pipeline() reaches this vulnerable path; transaction() and MULTI are not affected. This issue is fixed in version 3.3.0.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Total
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 |
|---|---|---|---|---|---|
| predis | predis | 3.0.0-RC1 to before 3.3.0 | 3.3.0 | Patch available | CNA |
| — | predis/predis (Packagist) | 3.0.0-RC1 to before 3.3.0 | 3.3.0 | Patch available | GHSA-w6f5-v2h6-g786 |
- predis Vendorpredis Affected 3.0.0-RC1 to before 3.3.0 Fixed in 3.3.0 Patch available CNA
- predis/predis (Packagist) Vendor— Affected 3.0.0-RC1 to before 3.3.0 Fixed in 3.3.0 Patch available GHSA-w6f5-v2h6-g786
Remediation
- Fix · CNA predis (predis) Fixed in 3.3.0
- Fix · GHSA-w6f5-v2h6-g786 predis/predis (Packagist) Fixed in 3.3.0 Advisory →
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2026-84372
- 2026-10-03 Alias added: GHSA-w6f5-v2h6-g786
References
Other 6
- https://github.com/predis/predis/security/advisories/GHSA-w6f5-v2h6-g786
- https://github.com/predis/predis/issues/1574
- https://github.com/predis/predis/pull/1586
- https://github.com/predis/predis/commit/053cb4b6ac7fb1f469ead96a78d059bc0458e408
- https://github.com/predis/predis/releases/tag/v3.3.0
- https://github.com/predis/predis
Sources
- CVE-2026-84372 · CVE Program
- CVE-2026-84372 · NVD
- FIRST EPSS
- GHSA-w6f5-v2h6-g786 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-84372 · 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