cve.bz

CVE-2026-84372 predis predis: CRLF Injection

9.8 criticalEPSS 1.0%Fix available

Critical (9.8) in predis predis. EPSS 1.0% estimated probability of exploitation activity in the next 30 days. Fixed in predis/predis 3.3.0.

On this page
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.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
1.0% (unchanged from 1.0% a week ago; 0.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 64th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: yes · Technical impact: total, assessed 2026-09-02. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-93 Improper Neutralization of CRLF Sequences (CRLF Injection)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

  • predis/predis (Packagist): fixed in 3.3.0

Ask an AI about this CVE

Show the promptExplain CVE-2026-84372 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-84372?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-84372?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-84372 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
predis>= 3.0.0-RC1, < 3.3.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-w6f5-v2h6-g786Packagistpredis/predis>=3.0.0-RC1 <3.3.03.3.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Ubuntu26.10php-nrk-predisno fix listedUBUNTU-CVE-2026-84372

From the distributions' data via OSV.dev: Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Ubuntu.

Red Hat

Red Hat rates this Critical.

Red Hat's statement

A flaw was found in Predis, a PHP client for Redis and Valkey, where pipeline handling on aggregate cluster and replication connections reparses an already-serialized RESP buffer by splitting it on CRLF delimiters instead of honoring RESP length prefixes. A remote attacker who controls keys or values processed through pipelined commands can smuggle CRLF sequences that are then interpreted as additional Redis commands. On cluster connections this can permit shard-wide cache deletion, targeted data modification, unauthorized data reads, or node disruption; on replication connections malformed reparsing can raise an uncaught exception that repeatedly terminates affected requests, causing denial of service. Only the pipeline() code path is vulnerable; transactions using MULTI are not affected. This issue is rated Critical, with a CVSS 3.1 base score of 9.8 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H), consistent with the upstream assessment. The only Red Hat-tracked exposure is through the community Nextcloud packages in Fedora and EPEL, which bundle Predis; those packages are marked not affected because the bundled Predis does not contain the vulnerable pipeline handling, so no update is required for these packages.

Red Hat's mitigation

Applications using Predis on aggregate cluster or replication connections can avoid the vulnerable code path by not passing attacker-controlled data through the pipeline() API: the transaction() API (MULTI) is not affected by this issue, so replacing pipelined execution with transactions where pipelining is not required prevents the command injection. Alternatively, validating and rejecting CR/LF characters in user-supplied keys and values before they reach Redis commands prevents CRLF smuggling. For the Red Hat-tracked community Nextcloud packages in Fedora and EPEL, no action is needed because the bundled Predis is not affected.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-84372.

Attack patterns (CAPEC)

  • CAPEC-15 Command Delimiters Likelihood: High · Severity: High
  • CAPEC-81 Web Server Logs Tampering Likelihood: Medium · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON