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

Critical severity, published 2026-09-08. Update predis/predis to 3.3.0 or later: composer update predis/predis.

Canonical URL: https://buzzphp.com/security/ghsa-w6f5-v2h6-g786 · Data from GitHub as of 2026-11-25.

| | |
| --- | --- |
| Severity | critical (CVSS 9.8) |
| Published | 2026-09-08 |
| Updated | 2026-09-08 |
| CVE | [CVE-2026-84372](https://nvd.nist.gov/vuln/detail/CVE-2026-84372) |
| GHSA | [GHSA-w6f5-v2h6-g786](https://github.com/advisories/GHSA-w6f5-v2h6-g786) |
| Weakness | CWE-93 |

| Package | Affected versions | Fixed in |
| --- | --- | --- |
| predis/predis | >= 3.0.0-RC1, < 3.3.0 | 3.3.0 |

## What to do

Update predis/predis to 3.3.0 or later: composer update predis/predis.

Check which version you run with `composer show predis/predis`, and every affected package with `composer audit`.

## About this advisory

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



## Links

- [GHSA-w6f5-v2h6-g786 on GitHub](https://github.com/advisories/GHSA-w6f5-v2h6-g786)
- [CVE-2026-84372 on the National Vulnerability Database](https://nvd.nist.gov/vuln/detail/CVE-2026-84372)
- [All Composer security advisories](https://buzzphp.com/security)
