redis vulnerabilities discovered by kimi

Artificial intelligence did not just help write exploit code this week. It autonomously found the bugs first. That is why the reported discovery of multiple zero-day flaws in Redis by a swarm of Kimi K3 based agents matters so much right now. It marks a shift from AI as a helper for human security teams to AI as an active vulnerability hunter operating at production scale. This transition aligns with the emergence of AI-native cybersecurity, which enhances the speed and efficiency of vulnerability detection.

From human driven bug hunting to autonomous AI agents

For most of the last decade, serious vulnerability research has been driven by experienced humans combining deep protocol knowledge, custom fuzzers, and painstaking crash analysis. Automation existed, but the creative steps in chaining bugs into reliable remote code execution were still very manual work.

Serious vulnerability research has long relied on human ingenuity, not automated exploit chains.

Moonshot AI’s Kimi K3 changes the equation by combining a very large model with a one million token context window and positioning it as an open weights giant that can be embedded into complex workflows. Kimi K3 is described as a 2.8 trillion parameter model delivered today through hosted services and APIs, with open weights promised by late July 2026 and a pricing structure designed for high volume technical workloads. That combination of scale, long context, and practical availability is exactly the sort of foundation needed for multi-agent systems that can coordinate code cloning, fuzzing, crash triage, and exploit synthesis.

The reported experiment with the Bera Buddies group builds on this trajectory. Instead of treating Kimi K3 as a single chatbot, they framed the work as AI agent research, orchestrating an autonomous cluster of thirty-two software agents that collectively acted like a small but tireless security team. Those agents cloned Redis repositories, generated fuzzers, launched large-scale mutation campaigns, attached debuggers like GDB to crashing instances, and then used Kimi K3 to reason about heap states and craft proof of concept exploit scripts.

In one extended fuzzing run, the swarm reportedly surfaced nineteen previously unknown Redis vulnerabilities in about ninety minutes, and in a follow-up session produced a complete authenticated remote code execution exploit for Redis 8.8.0 in roughly twenty-seven minutes. Taken at face value, that is a level of throughput and end-to-end automation that very few human teams can match, even with sophisticated tooling.

Redis, RESTORE and a growing family of memory safety flaws

Redis is a central piece of infrastructure in modern systems, widely used as a cache, message broker, and lightweight database inside everything from microservices to large-scale cloud platforms. Its performance and simplicity make it attractive, but like many C-based systems, it has a long history of memory safety issues.

Vendor security records over the last year already show a pattern of authenticated remote code execution vulnerabilities tied to the RESTORE command and crafted serialized payloads. Redis documentation describes multiple CVEs from 2026 as allowing an authenticated user to trigger invalid memory access in core Redis or in bundled modules such as RedisTimeSeries and RedisBloom when RESTORE deserializes malicious data, potentially leading to remote code execution. Release notes for Redis Software and Redis Open Source highlight these issues as post-authentication flaws, emphasizing that an attacker needs valid credentials but can then pivot from deserialization bugs to full compromise of affected servers.

Independent security writeups group these RESTORE-related vulnerabilities into several attack paths, including use-after-free bugs in client unblocking flows, memory corruption in deserialization paths, and Lua plus replication edge cases that can be abused to gain code execution after authentication. That context matters for understanding the new Redis chains attributed to Kimi K3 agents. The reported findings do not appear in a vacuum. They sit on top of a codebase where memory safety problems in RESTORE and module loaders have already been acknowledged and partially fixed. Across both the Streams and RedisBloom exploit paths described later in this article, every chain hinges on the RESTORE command as the entry point for deserializing malicious data.

What the Kimi K3 agent swarm reportedly uncovered

Within that backdrop, the Bera Buddies project describes four authenticated remote code execution chains across Redis 6.2.22, 7.4.9, 8.6.4, and 8.8.0, all starting from memory corruption triggered by crafted RESTORE operations. The first major bug class lives in Redis Streams internals.

Streams maintain consumer groups and pending entry records using internal structures that track which consumers are responsible for delivering particular messages. The report describes a scenario where a corrupted RDB object causes two consumers to share a single pending entry record represented internally by a stream NACK structure. When both consumers are removed, this shared object is freed twice, creating a classic double-free condition. That double free gives an attacker fine-grained control over heap metadata and follow-on allocations, which is the raw material needed for building arbitrary read and write primitives.

This stream NACK double free is mapped in the report to a CVE 2026 25589 incomplete fix family affecting Redis 6.2.22, 7.4.9, and 8.6.4 when RESTORE deserializes crafted Streams payloads. Vendor documentation publicly associates CVE 2026 25589 with invalid memory access in RESTORE when used with probabilistic data structures like those in RedisBloom rather than directly with Streams internals, suggesting that there may be multiple related manifestations of the underlying issue across different code paths. That discrepancy is a good example of why careful cross-checking between independent research and vendor advisory texts is essential for trustworthy reporting.

The second bug class reportedly lives in the TDigest implementation bundled with the RedisBloom module that is shipped by default with Redis 8.8.0. TDigest is used for approximating distributions and percentiles. In the described vulnerability, the TDigest RDB loader allocates memory for centroid arrays using one serialized field, then trusts a separate attacker-controlled capacity value to decide how many nodes to load. If the metadata is inflated, the loader writes beyond the bounds of the allocated buffer, creating a heap overflow. On Redis 8.8.0, Streams related issues had already been addressed, but this TDigest heap overflow provided an independent remote code execution path, again reachable through crafted RESTORE input against a fresh stock instance. That pattern fits the broader class of RESTORE-driven invalid memory access bugs that have already been documented in earlier Redis releases.

Across all four chains, the AI-generated scripts reportedly convert initial memory corruptions into reliable exploitation primitives. They begin by turning double frees or heap overflows into arbitrary read and write capabilities. From there, they poison internal data structures so that a seemingly benign Redis command eventually leads to a call to the system function in the underlying C library, achieving code execution under the privileges of the Redis server process. The exploits require authenticated access and at minimum the RESTORE command. Some chains also depend on EVAL for Lua scripting, XGROUP for stream consumer management, or the presence of RedisBloom on Redis 8.8.0. That constraint significantly reduces the chance of random internet-wide scanning abuse, but it creates serious risk in multi-tenant deployments, misconfigured access control setups, and self-managed internal servers where trusted users can reach powerful commands.

Confirmed advisories versus claimed zero days

Redis security advisories and release notes acknowledge the underlying flaws and document the recent fixes. Vendor documents describe patches that close several authenticated remote code execution paths linked to deserialization of crafted data through RESTORE and module-specific loaders, including the issues tracked as CVE 2026 25588 and CVE 2026 25589 in time series and probabilistic modules. They clearly treat these vulnerabilities as high-impact post-authentication issues requiring prompt patching across open-source and commercial Redis distributions.

However, the public advisories and CVE entries do not independently validate the full count of nineteen Redis zero days claimed for the broader AI-driven audit. They focus on a smaller set of confirmed vulnerabilities with specific triggers and modules, as is normal for vendor security communication. The gap between vendor confirmed CVEs and the larger vulnerability surface reportedly mapped by autonomous agents is an important signal. It tells security leaders that AI systems may already be uncovering more issues than make it into official advisories, and that some of those findings may sit in a limbo phase until they can be reproduced, classified, and patched in accordance with coordinated disclosure norms.

In responsible coverage, it is essential to be transparent about that uncertainty. The existence of at least several serious RESTORE-related remote code execution vulnerabilities is well documented in Redis release notes and independent writeups. The claim that an AI agent swarm found nineteen zero days in ninety minutes, while plausible given the trend in tooling, still rests on the technical notes and proof of concept scripts provided by the research group rather than on independent vendor verification. That distinction matters for readers who rely on accurate, trustworthy assessments of risk.

Why this matters for technology, business and security operations

The reported Kimi K3 Redis work is a concrete case study in how AI is reshaping security practice.

For technology, it shows that large models with high context capacity and strong tool use can coordinate multi-step tasks that span code understanding, fuzzing, crash analysis, and exploit development. This is not just about generating sample code in isolation. It is about orchestrating agents that act across entire repositories and live systems, shortening the time from bug discovery to working exploit.

For businesses that depend on Redis, the lesson is stark. Post-authentication does not mean low risk. Internal compromise, insider threats, misconfigured access control lists, or exposed management interfaces can give attackers the foothold they need. Once an adversary has credentials, RESTORE-centered deserialization bugs and module loader flaws can turn a single Redis instance into a pivot point for deeper lateral movement. The fact that multiple such bugs have already been acknowledged and patched by the vendor in recent releases underscores the need for rapid update cycles and tight configuration management.

For security teams, autonomous AI agents are a double-edged development. On the positive side, internal use of such systems can help organizations audit their own software more thoroughly and continuously. Teams can spin up AI-driven fuzzing and crash analysis against critical components and increase the odds of finding serious flaws before attackers do. On the negative side, adversaries can use similar techniques to weaponize public codebases and commercial software at scale, discovering chains that go beyond what human attackers might find in the same amount of time.

Practical steps for teams running Redis today

Given the current landscape, several practical steps stand out for organizations that rely on Redis.

  1. Track Redis security advisories closely and upgrade to patched versions promptly, especially when RESTORE, Lua, RedisTimeSeries, or RedisBloom are in use.
  2. Audit access control lists to ensure that powerful commands such as RESTORE and EVAL are not available to untrusted or lightly authenticated roles.
  3. Minimize module attack surface by disabling or restricting modules that are not strictly required, and by isolating workloads with different risk profiles onto separate Redis instances.
  4. Integrate memory safety-focused fuzzing and deserialization testing into internal development and deployment pipelines, whether through conventional tools or AI-assisted workflows.
  5. Prepare incident response playbooks that cover the possibility of authenticated exploitation of Redis, including lateral movement from compromised Redis nodes and forensic analysis of logs and configuration changes.

None of these steps depend solely on the reported Kimi K3 findings. They are broadly sound measures for any environment that uses Redis or similar memory unsafe infrastructure components. The new report simply raises the urgency by demonstrating how quickly sophisticated exploitation paths can be found and automated when powerful AI agents are brought into the loop.

Looking ahead: AI as a standard security capability

Taken together, the Kimi K3 agent work and the ongoing stream of RESTORE-related Redis vulnerabilities point toward a near future in which every major software vendor and serious attacker has access to autonomous vulnerability discovery systems.

Over time, this will push organizations to treat AI-based security analysis as a standard capability, much like static analysis or conventional fuzzing are today.

Several trends seem likely. Vendors will increasingly run internal AI agent audits against their own products before release. Bug bounty programs may add AI-derived findings as a regular category. Regulators and customers will ask harder questions about how memory safe practices and automated testing are enforced for critical infrastructure software. At the same time, responsible disclosure processes will need to adapt to higher volume and faster-paced vulnerability reporting.

The core takeaway is clear. AI is no longer just a tool that helps write secure code. It is becoming a force that both defenders and attackers can use to discover deep flaws in widely deployed systems. Redis’s recent vulnerability history and the reported Kimi K3 agent findings offer an early look at what that world will feel like for real organizations running production workloads. Preparing for that world means investing in patch discipline, access control, code hardening, and thoughtful adoption of AI-driven security techniques, before the next wave of autonomous discovery arrives.

Conclusion

In less than two hours of autonomous work, a cluster of Kimi K3 agents reportedly uncovered nineteen zero day vulnerabilities in Redis and went on to build working remote code execution exploits against multiple supported versions of one of the most widely used data stores on the planet. This is not just another bug disclosure cycle. It is a concrete demonstration that general purpose artificial intelligence systems can now move from assisting human security researchers to independently discovering and weaponizing serious flaws in core infrastructure software.

How we reached this moment

For years, the security community has experimented with applying machine learning to code analysis and fuzzing, usually in narrow tools that augment human expertise rather than replace it. What is new in the Kimi K3 episode is the scope and autonomy of the workflow.

Moonshot AI released Kimi K3 in mid July 2026 as an open weight language model with around two point eight trillion parameters, designed to coordinate multiple software agents on complex tasks. Shortly afterward, a research group known as Bera Buddies described how they used a set of thirty two agents built on Kimi K3 to audit Redis, a dominant in memory data store, with very limited human guidance on where to look or how to structure the search.

According to these reports, the agents cloned the Redis source code, generated fuzzers, executed them, analyzed resulting crashes with tools like GDB, and automatically synthesized proof of concept exploit chains. In roughly ninety minutes, this pipeline allegedly surfaced nineteen previously unknown issues in the latest Redis stable line, and a separate run produced a fully working authenticated remote code execution exploit in about twenty seven minutes.

The impact on Redis was immediate. On July 23 2026, the project shipped seven security releases in a single day, covering the 6.2, 7.4, 8.6, and 8.8 branches and hardening both core code and bundled modules. Security outlets that examined the disclosures described this as one of the fastest documented cases of AI driven vulnerability discovery in a widely deployed open source database.

What the vulnerabilities actually are

The Redis issues uncovered by the Kimi K3 agents are not abstract theoretical defects. They combine concrete memory safety bugs into authenticated remote code execution chains that work against official Redis builds and container images.

Reports describe two main classes of flaws, each forming part of different exploit paths:

  1. A double free style bug in stream consumer group logic, tied to shared negative acknowledgement handling, that allows the same heap chunk to be freed twice under specific conditions, providing a useful primitive for manipulating memory layout.
  2. A separate heap overflow in the TDigest implementation within RedisBloom, Redis’s bundled probabilistic data structure module in the 8.8 series, enabling a carefully crafted client request to overwrite adjacent heap state and steer execution flow.

By chaining these primitives together and abusing the RESTORE command across supported versions, the Kimi K3 agents reportedly achieved reliable remote code execution on Redis 6.2.22, 7.4.9, 8.6.4, and 8.8.0, against stock installations configured with default container images and typical access control lists. The proof of concept demonstrations released publicly were framed as non destructive tests meant to highlight risk rather than to provide plug and play attack kits.

Crucially, these are post authentication vulnerabilities. The exploit chains require an attacker to already have credentials and permission to run powerful commands such as RESTORE, which means they do not turn a locked down Redis instance with strict access control into an internet wide open door. They are however serious in multitenant settings, internal networks with permissive access control lists, or environments where Redis instances are exposed without rigorous isolation and monitoring. As of the most recent reporting, there were no verified cases of the patched flaws being exploited in production systems, but anyone still running the affected versions remains exposed.

Verification, uncertainty and the debate around nineteen zero days

For a development of this magnitude, trust hinges on careful handling of what is known, what is inferred, and what is still unverified. That is where the Kimi K3 Redis story becomes more nuanced.

Some claims, particularly the headline figure of nineteen zero day vulnerabilities discovered in Redis 8.8.0 in about ninety minutes, come from social media posts and researcher statements rather than formal advisories from Redis maintainers or Moonshot AI. At least one detailed news analysis notes that while authenticated remote code execution against several Redis versions has been reproduced and acknowledged through security updates, the broader set of nineteen issues has not yet been independently confirmed by the vendor or the model’s developers.

This does not mean the claims are false. The fact that Redis shipped seven coordinated security releases and that multiple outlets reviewed functioning proof of concept exploits suggests that a significant portion of the described attack surface is real and serious. However, it does mean that responsible reporting needs to distinguish between clearly verified vulnerabilities, which are now patched and documented, and broader assertions about the total number of issues uncovered in a brief automated audit, which still await full vendor validation.

Taken together, this case illustrates the new verification challenge of AI driven security research. When an autonomous system can generate dozens of crash reports and candidate exploit chains in under two hours, teams must decide which findings to prioritize, how to validate them, and how to communicate risk without overstating or understating the evidence.

Why this marks a turning point for AI in security

The Kimi K3 Redis episode matters not only because of the specific bugs, but because it shows how quickly the role of AI in security can pivot from augmentation to automation.

Traditionally, static analyzers and fuzzers have been extremely powerful but highly specialized tools. They require expert configuration, domain knowledge, and significant manual triage to separate genuine exploitable paths from noisy crash logs. What Kimi K3 demonstrates is that a general purpose language model, paired with a coordinated agent architecture, can take on much more of that workflow end to end.

In this case, the agents did all of the following without step by step human direction:

  1. Selected a high value open source target.
  2. Cloned and built the code.
  3. Generated fuzzing strategies that exercised complex stateful components such as streams and probabilistic modules.
  4. Inspected and categorized resulting crashes.
  5. Mapped memory corruption scenarios to concrete exploit strategies.
  6. Produced working proof of concept chains against real versions and environments.

That is essentially the core loop of modern vulnerability research. The remaining human inputs sit at the edges: deciding which projects to audit, reviewing the AI’s work, and coordinating disclosure with maintainers. Once this pattern is refined and generalized, nearly any widely used codebase becomes a candidate for routine autonomous audit.

For defenders, this is both an opportunity and a threat. On the positive side, it suggests that organizations could use similar agent setups to continuously probe their own software, catching bugs before attackers do. On the negative side, it means that powerful offensive capabilities are now accessible to anyone who can run or fine tune models like Kimi K3, including actors with far less expertise than traditional exploit developers.

Balancing promise and risk

The Kimi K3 case also highlights the less glamorous but critical side of AI in security: hallucination and supply chain risk. A detailed technical critique of Kimi K3 warns that large models with high hallucination rates can fabricate plausible but nonexistent package names, interfaces, or logic flows, which in turn can poison software supply chains if their output is adopted uncritically. In other words, the same system that can discover real zero day vulnerabilities can also invent fictional components or unsafe configurations that look convincing enough to end up in production code.

This dual nature reinforces three practical lessons for teams adopting AI agents in security work:

  1. AI findings must be treated as untrusted input. Every vulnerability, crash, or exploit chain proposed by an agent should go through standard verification processes, including independent reproduction and code review, before it influences remediation decisions or public advisories.
  2. Strong telemetry and governance are essential. If multiple agents are running autonomous scans and experiments against internal infrastructure, organizations need robust logging, sandboxing, and access control, so that the very tools meant to improve security do not weaken it through misconfiguration or overreach.
  3. Human expertise remains central. The value of AI in security scales with the judgment of the people guiding and reviewing it. Experienced practitioners are needed to decide which targets matter, which findings are meaningful, and how to disclose and fix vulnerabilities in ways that support long term resilience rather than short term headlines.

What this means for businesses using Redis and beyond

For organizations running Redis, the immediate guidance is straightforward. They should upgrade to the latest patched versions across all deployed instances, including containers and embedded images, prioritizing environments where Redis is exposed to shared or untrusted clients. Access control lists and role based permissions need to be reviewed to ensure that powerful commands such as RESTORE are restricted to trusted service accounts and automation, rather than broadly available to application level users. Logging and monitoring rules should be updated to flag unusual sequences of stream operations or TDigest updates that might signal attempts to exploit memory safety issues.

Beyond Redis, the deeper implication is that core infrastructure projects should expect more audits from AI agents, not fewer. Any widely used database, message queue, or runtime with an accessible codebase is now a likely target for automated exploration, whether carried out by well intentioned researchers or by adversaries testing for exploitable paths. That reality pushes three strategic shifts:

  1. Security programs will need to include continuous AI assisted testing in their standard development and operations workflows, rather than treating it as an occasional research exercise.
  2. Vendors and maintainers will have to respond more quickly to concentrated waves of disclosures, coordinating multi version updates and communicating clearly about which issues are confirmed and which are still under review.
  3. Regulatory and policy debates around AI will increasingly have to differentiate between legitimate security research that uses autonomous systems and malicious exploitation that weaponizes those capabilities, because the underlying technical tools may look very similar.

Looking ahead

The story of Kimi K3 and Redis is likely to be remembered as an early marker of a broader trend. Autonomous AI agents have crossed a threshold where they can not only detect anomalous behavior in complex systems, but also chain together subtle design mistakes into full remote code execution exploits against core platforms. That accelerates both offensive and defensive security work, and it makes the quality of governance around these tools a central factor in future risk.

If there is one clear takeaway, it is that software security can no longer be thought of purely in human time scales. The window between a new release and its first serious probe by automated agents is shrinking toward minutes, and the gap between a discovered bug and a working exploit is following the same trajectory. Organizations that adapt will be those that embrace AI as part of their defensive stack while building strong verification, oversight, and transparency into every phase of their security processes.

What happens next will depend less on whether AI agents can find and exploit vulnerabilities, and more on whether the people deploying and regulating them can build trustable systems and norms around that power. The Redis case is a vivid reminder that the future of security is an AI accelerated arms race, and that thoughtful human leadership will determine whether that acceleration strengthens or erodes the resilience of our shared digital infrastructure. reddit

You May Also Like

Critical ServiceNow AI Platform Flaw Enables Unauthenticated Remote Code Execution

Newly exposed ServiceNow AI Platform flaw enables unauthenticated remote code execution, quietly putting enterprise workflows at risk in ways you haven’t considered.

Hugging Face Data Breach Exposes Internal Datasets and Credentials as Users Face Security Risks

Sensitive API tokens, private model data, and internal credentials were compromised in a sweeping Hugging Face breach—and the full fallout may surprise you.

AegisAI Raises $36 Million to Combat AI-Powered Spear Phishing Attacks

The $36M boost powers AegisAI’s battle against AI-crafted spear phishing, but what this means for your inbox security may surprise you.

AI Is Helping Scientists Build the Next Generation of Biosecurity Systems to Detect Future Threats Earlier

Leveraging AI-powered genomic surveillance, scientists are quietly building next-gen biosecurity systems to catch invisible threats sooner—yet one question remains.