lyutoon/redis-rce-poc — explained in plain English
Analysis updated 2026-07-25
Test your own Redis server for this vulnerability before patching.
Learn how heap overflow exploits chain together in real software.
Study how AI agents can autonomously discover security bugs.
Set up a local test environment to practice defensive security analysis.
| lyutoon/redis-rce-poc | 0whitedev/detranspiler | 2951461586/mulerun-pool | |
|---|---|---|---|
| Stars | 21 | 21 | 21 |
| Language | Python | Python | Python |
| Setup difficulty | moderate | hard | moderate |
| Complexity | 4/5 | 4/5 | 3/5 |
| Audience | researcher | developer | developer |
Figures from each repo's GitHub metadata at analysis time.
Requires setting up a local Redis server with the RedisBloom module on an x86_64 Linux system to safely test the exploit.
This repository contains a proof-of-concept exploit that demonstrates a security vulnerability in Redis, a popular open-source database. Specifically, it shows how someone with authenticated access to a Redis server running the RedisBloom module can execute arbitrary code on that server remotely. The exploit works through the Redis protocol itself, requiring no file uploads, debugger access, or direct host access. Notably, the entire exploit chain was discovered and built by an autonomous AI agent, with no manual reverse engineering involved. The underlying bug sits in how Redis loads a specific type of data structure called TDigest from saved database files. When loading this data, the software allocates memory based on one value but then trusts a different value supplied by the incoming data to check how much it can safely write. By sending a specially crafted payload, an attacker can trigger a heap overflow, writing data beyond the allocated memory. From there, the exploit chains several steps together: leaking memory addresses, reading arbitrary memory, locating key system functions, and overwriting a function pointer to redirect execution to the operating system's system() call, all running as the Redis user. The repository includes a Python script containing the full exploit and a shell script to set up a test environment. The exploit requires only Python 3.6 or later with no third-party packages, and it works against x86_64 Linux systems. It resolves all memory addresses at runtime, meaning it requires no hardcoded offsets or calibration for specific builds. The author confirmed it works against the latest Redis release at the time of testing, including versions 8.8.0 and 8.6.3. The author reported this vulnerability to Redis on June 4, 2026, but learned it had already been reported by others on December 29, 2025. As of the writing, roughly seven months after the first report, the issue remains unfixed in the latest release. The author published the exploit for educational and defensive security research purposes, and it should only be run against systems you own or are explicitly authorized to test.
A Python script that demonstrates a remote code execution vulnerability in Redis servers using the RedisBloom module. The entire exploit was discovered and built by an autonomous AI agent.
Mainly Python. The stack also includes Python, Redis, RedisBloom.
Setup difficulty is rated moderate, with roughly 30min to a first successful run.
Mainly researcher.
This repo across BitVibe Labs
Verify against the repo before relying on details.