Skip to content
Heist/ feed
Back to feed
Critical

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

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-84372
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 08:37 UTC · Revision 1

Source evidence

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

core-osv · Original source

Published 1 Sept 2026, 21:20 UTC

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.

osv:CVE-2026-84372
Complete source record
{
  "id": "d1a701dfd65455451577e818ae2ee465df893bcce329731f64c9ff59d2b356b1",
  "url": "https://osv.dev/vulnerability/CVE-2026-84372",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Predis: Redis command injection and denial of service via CRLF smuggling in pipelined commands on aggregate connections",
    "summary": "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.",
    "evidence": "osv:CVE-2026-84372",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2026-84372",
      "aliases": [
        "CVE-2026-84372",
        "GHSA-w6f5-v2h6-g786"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/predis/predis",
              "type": "GIT",
              "events": [
                {
                  "introduced": "b5c942b2a1c66baf42c190ea8af42d7fe182995e"
                },
                {
                  "fixed": "153097374b39a2f737fe700ebcd725642526cdec"
                },
                {
                  "fixed": "053cb4b6ac7fb1f469ead96a78d059bc0458e408"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "3.0.0-RC1"
                      },
                      {
                        "fixed": "3.3.0"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "fixed": "053cb4b6ac7fb1f469ead96a78d059bc0458e408"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "153097374b39a2f737fe700ebcd725642526cdec"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "v3.3.0"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v3.2.0",
            "v3.1.0",
            "v3.0.1",
            "v3.0.0",
            "v3.0.0-RC1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-84372.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:27.432145191Z",
      "provider": "osv",
      "references": [
        "https://github.com/predis/predis/releases/tag/v3.3.0",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/84xxx/CVE-2026-84372.json",
        "https://github.com/predis/predis/security/advisories/GHSA-w6f5-v2h6-g786",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-84372",
        "https://github.com/predis/predis/issues/1574",
        "https://github.com/predis/predis/commit/053cb4b6ac7fb1f469ead96a78d059bc0458e408",
        "https://github.com/predis/predis/pull/1586"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-93"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/84xxx/CVE-2026-84372.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-84372",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 493897,
  "published_at": "2026-09-01T21:20:57.138+00:00"
}