BuzzPHP
LightDarkSystem

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

Critical severity. Published 8 September 2026. Update predis/predis to 3.3.0 or later: composer update predis/predis.

Which versions are affected?

PackageAffected versionsFixed in
predis/predis (opens in a new tab)>= 3.0.0-RC1, < 3.3.03.3.0

What should you do?

Update every affected package you use to its fixed version, then check that nothing else in your project matches an advisory. To see which version you run, and whether anything is still affected:

composer show predis/predis
composer audit

Advisory details

SeverityCriticalCVSS 9.8
Published
Updated
CVECVE-2026-84372 (opens in a new tab)
GHSAGHSA-w6f5-v2h6-g786 (opens in a new tab)
WeaknessCWE-93

What the advisory says

Summary

An improper CRLF neutralization flaw in Predis' pipeline handling on aggregate connections lets an unauthenticated attacker who can influence any pipelined argument — a value or a key, e.g. a URL slug used as a cache key — smuggle arbitrary Redis commands into the connection.

- On cluster connections (cluster option, incl. client-side sharding) this is remote command injection: shard-wide FLUSHDB, targeted DEL/SET, same-slot key theft via GET, cache poisoning, and possible node/cluster outage. - On replication connections (replication option) it is a reliable, repeatable denial of service (uncaught fatal error) triggered by any value containing \r\n.

Details

Source: GHSA-w6f5-v2h6-g786 (opens in a new tab) in the GitHub Advisory Database (CC BY 4.0). Data from GitHub (opens in a new tab) as of .

All Composer security advisories