From an open port 6379 to full host takeover in six steps — two chains, no application involvement required.
Parts 6–8 named the pieces. This is the whole machine, end to end — the paths
by which "literally just a cache" becomes "the attacker owns the host".

This is the oldest, most-repeated Redis takeover, and it works entirely with
legitimate commands:
requirepass — or the password from a .env in theCONFIG SET dir — point persistence at something Redis can write:CONFIG SET dbfilename — name the file you want created (e.g. root inSAVE — Redis writes your payload as a "database dump" into thatNo CVE. No memory corruption. Just an open door and a persistence feature
wearing a weapon. This is why the industry treats an exposed Redis as already
compromised.
The new batch compresses the chain:
RESTORE key 0 <payload> deserializes withWhere Chain A needs write permissions to a useful directory, the memory path
works against the process itself — and against every pre-6.2.19 install
(Part 8).
When Redis is taken, what dies with it?
And because Redis sits in front of the real database (Part 4), the attacker
does not need the database. They stand on the fastest access layer in the
stack and harvest what flows through it.
The honest detection picture is grim:
CONFIG commands are sometimes logged in slow-log; aSAVE/BGSAVE can show in monitoring — if anyone watches RedisRESTORE looks like an ordinary write. The file-write chainThe race is not detection vs attacker. The race is the attacker's scan vs
your upgrade — and the attacker's scan runs every day.
Next: Part 10 — the way out: the five lines that close the door, the upgrade
matrix, and the honest residual risk.
The attack chain
The door was never locked