Php nrk predis: From version 3.0.0-RC1 until version 3.3.0, pipeline handling on aggregate cluster and replication connections reparses an already serialized RESP… (CVE-2026-84372)
Description
Php nrk predis versions from 3.0.0-RC1 up to 3.3.0 contain a vulnerability in pipeline handling on aggregate cluster and replication connections. The issue arises because the RESP buffer is reparsed incorrectly by splitting on CRLF sequences instead of respecting RESP length prefixes. This allows attacker-controlled keys or values with CRLF sequences to be interpreted as additional commands, enabling unauthorized operations such as shard-wide cache deletion, data modification, data reads, or node disruption. The vulnerability affects only the pipeline() method; transaction() and MULTI are not impacted. The issue is fixed in version 3.3.0.
CVSS v3.1
Score 9.8critical
Affected software
pkg:deb/ubuntu/php-nrk-predis?arch=source&distro=xenialpkg:deb/ubuntu/php-nrk-predis?arch=source&distro=bionicpkg:deb/ubuntu/php-nrk-predis?arch=source&distro=focalpkg:deb/ubuntu/php-nrk-predis?arch=source&distro=jammypkg:deb/ubuntu/php-nrk-predis?arch=source&distro=noblepkg:deb/ubuntu/php-nrk-predis?arch=source&distro=stonkingpkg:deb/ubuntu/php-nrk-predis?arch=source&distro=resoluteRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Php nrk predis is a PHP client for Redis and Valkey. From version 3.0.0-RC1 until 3.3.0, the pipeline handling on aggregate cluster and replication connections reparses an already serialized RESP buffer incorrectly by splitting it with explode("\r\n") rather than honoring RESP length prefixes. This improper parsing allows attacker-controlled keys or values containing CRLF sequences to be interpreted by Command::deserializeCommand() as additional commands. On cluster connections, the ClusterStrategy::getFakeKey() method can route injected keyless commands using the literal fake key "key", enabling operations such as shard-wide cache deletion, targeted data modification, data reads, or node disruption. On replication connections, malformed reparsing can cause uncaught exceptions that repeatedly terminate affected requests. Only the pipeline() method is vulnerable; transaction() and MULTI are unaffected. The vulnerability is resolved in version 3.3.0.
Potential Impact
An attacker can inject additional commands via specially crafted keys or values containing CRLF sequences in pipeline requests. This can lead to unauthorized operations including shard-wide cache deletion, data modification, data reads, or disruption of nodes in a Redis cluster. On replication connections, the vulnerability can cause service instability through repeated request termination due to uncaught exceptions. The CVSS score of 9.8 indicates critical impact on confidentiality, integrity, and availability.
Mitigation Recommendations
Upgrade php-nrk-predis to version 3.3.0 or later, where this vulnerability is fixed. No other mitigation is indicated or required as the issue is resolved in the official fix.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- UBUNTU-CVE-2026-84372
- Osv Schema Version
- 1.7.0
- Ecosystems
- ["Ubuntu:16.04:LTS","Ubuntu:18.04:LTS","Ubuntu:20.04:LTS","Ubuntu:22.04:LTS","Ubuntu:24.04:LTS","Ubuntu:26.10","Ubuntu:26.04:LTS"]
- Cvss Version
- 3.1
Threat ID: 6ad3f55a2cdf04f65665e98a
Added to database: 10/17/2026, 22:23:22 UTC
Last enriched: 10/17/2026, 23:29:41 UTC
Last updated: 10/17/2026, 23:29:41 UTC
Views: 3
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.