The door was never locked
The door was never locked

Flaws are learned gradually. Redis's first flaw is not a memory bug — it is a
design decision from 2009, repeated on every default install since.

Flaw 1: no authentication by default

In the default configuration, Redis listens on the network and answers any
connection without asking who you are
. This is not an oversight; it is a
stated design assumption: "Redis is for your private trusted network."

The Internet is neither private nor trusted.

The result is one of the longest-running, best-documented disaster patterns in
infrastructure: within hours of a scan finding an unprotected Redis on the
public internet, it is wiped, ransomed, or turned into a crypto-miner. The fix
exists (requirepass) — but the default was the flaw, and the default
shipped for years.

Flaw 2: the protocol is plaintext

Every command, every reply — including passwords and the data itself — travels
as unencrypted TCP by default. TLS exists but is off by default and adds
latency. On a genuinely trusted network this is fine. On any network where
someone can sniff, it is a credential dump waiting to happen.

Flaw 3: the configuration that should be hard is trivial

This is the one that turns "default access" into "own the server":

CONFIG SET dir /var/spool/cron
CONFIG SET dbfilename root
SAVE

Anyone who can reach an unauthenticated Redis can point its persistence at a
directory the Redis process can write — cron directories, SSH key paths, web
roots — and SAVE a file there. On a typical host this is direct code
execution with no memory-corruption bug involved at all
.

This is not a CVE; it is Flaw 1 wearing a different coat. It is the documented,
repeatedly-exploited classic Redis attack chain, and it is why the security
industry treats an exposed Redis as a compromised host.

The pattern: a trust model from 2009

Read the three flaws together and the shape is clear: Redis was designed when a
server's network was its protection. It never migrated to the modern posture
of least privilege, and its enormous success meant the 2009 assumptions now run
inside the world's most hostile networks.

Protected mode (added in 3.2, 2016) helps — but it only blocks anonymous
connections, and operators routinely disable it while following old tutorials.

Why this is the first flaw

A disclosure should list flaws in the order a reader can absorb them. The
memory-safety bugs of Part 7 are sharp, but this trio is foundational:
every exploitation chain in the corpus either uses the open door, the
plaintext pipe, or the trivial CONFIG—SAVE path — or assumes one of them to get
the "authenticated" position the CVEs require.

The most fundamental flaw in Redis is not in its C code. It is in its default
trust model
— and the C code is just where that trust gets collected.

Next: Part 7 — the first and most fundamental flaw, formally: CVE-2026-23479,
a use-after-free with no patch ever coming to old versions.