Intel

AIKIDO-2026-321068

predis/predis is vulnerable to CRLF Injection

GHSA-v32q-pmmw-cf38Published Oct 12, 2026
October 12, 2026

98

CVE Score

Critical

CRLF Injection

Are you affected? Scan for Free

TL;DR

Predis\Connection\AbstractAggregateConnection::write(string $buffer) splits the write buffer on literal \r\n bytes to find Redis command boundaries, instead of using the RESP length prefixes the Redis server uses. Untrusted data passed to write on a cluster or replication connection can contain \r\n bytes that start a second Redis command. That second command is sent to the node the split fragment is routed to, leading to arbitrary Redis commands on the cluster or replication topology that the application did not send.

How do I fix this?

Upgrade the predis/predis library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you use a cluster or replication connection to write externally influenced data.

Versions

3.0.0 - 3.6.0

Fixed in 3.6.1

Background info

predis/predis is vulnerable to CRLF Injection in versions 3.0.0 - 3.6.0.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea