CVE-2026-84372 Predis: Redis command injection and denial of service via CRLF smuggling in pipelined commands on aggregate connections

Critical 9.8 Published Updated

Attackers can inject Redis commands or cause denial of service via CRLF smuggling in pipelined operations on aggregate connections.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-84372?

CVE-2026-84372 is a critical command injection vulnerability in predis, published on 1 Sep 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-93

Which versions are affected by CVE-2026-84372?

2 open source packages ship an affected version, including predis/predis.

PackageAffectedFixed in
predis/predis PackagistFrom 3.0.0-RC13.3.0
predis/predis PackagistFrom 3.0.0-RC13.3.0

How do I fix CVE-2026-84372?

Upgrade predis/predis to 3.3.0 or later.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2026-84372 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-84372 exists.

Sources

Also known as GHSA-w6f5-v2h6-g786, UBUNTU-CVE-2026-84372.

Is CVE-2026-84372 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free