CVE-2026-84372 Predis: Redis command injection and denial of service via CRLF smuggling in pipelined commands on aggregate connections
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: total
- Technology
- PHPUbuntuDebian
Description
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.
Upgrade path
3 packages: 1 fixed, 1 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/php-nrk-predis(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| predis/predis(Packagist) | = v3.0.0; = v3.0.0-RC1; = v3.0.1; = v3.1.0 +2 more | 3.3.0 | Fixed |
| predis/predis | = >= 3.0.0-RC1, < 3.3.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| predis/predis(Packagist) | >= 3.0.0-RC1, < 3.3.0 | 3.3.0 |
| predis/predis(Packagist) | = v3.0.0 | No fix listed |
| predis/predis(Packagist) | = v3.0.0-RC1 | No fix listed |
| predis/predis(Packagist) | = v3.0.1 | No fix listed |
| predis/predis(Packagist) | = v3.1.0 | No fix listed |
| predis/predis(Packagist) | = v3.2.0 | No fix listed |
| predis/predis | = >= 3.0.0-RC1, < 3.3.0 | No fix listed |
| ubuntu/php-nrk-predis(Ubuntu:26.10) | All versions | No fix listed |
References
- https://github.com/predis/predis/security/advisories/GHSA-w6f5-v2h6-g786 exploit vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/predis/predis/issues/1574 exploit
- https://github.com/predis/predis/pull/1586 patch
- https://github.com/predis/predis/commit/053cb4b6ac7fb1f469ead96a78d059bc0458e408 patch
- github.com product
- https://github.com/predis/predis/releases/tag/v3.3.0
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2527106 issue-tracking
- www.cve.org
- github.com
- Ubuntu CVE tracker vendor-advisory
- Debian Security Tracker CVE-2026-84372 vendor-advisory
- ENISA EUVD EUVD-2026-69701 third-party-advisory