{"id":13451,"date":"2026-06-08T10:03:42","date_gmt":"2026-06-08T10:03:42","guid":{"rendered":"https:\/\/serisec.com\/index.php\/2026\/06\/08\/critical-redis-rce-vulnerability-enable-attackers-to-gain-complete-control-to-host-server\/"},"modified":"2026-06-08T10:03:42","modified_gmt":"2026-06-08T10:03:42","slug":"critical-redis-rce-vulnerability-enable-attackers-to-gain-complete-control-to-host-server","status":"publish","type":"post","link":"https:\/\/serisec.com\/index.php\/2026\/06\/08\/critical-redis-rce-vulnerability-enable-attackers-to-gain-complete-control-to-host-server\/","title":{"rendered":"Critical Redis RCE Vulnerability Enable Attackers to Gain Complete Control to Host Server"},"content":{"rendered":"<p>    Critical Redis RCE Vulnerability Enable Attackers to Gain Complete Control to Host Server<br \/>\n \t<BR><br \/>\n<BR><\/BR><br \/>\n    <!-- no image --><br \/>\n \t<BR><br \/>\n<BR><\/BR><\/p>\n<div>\n<p class=\"wp-block-paragraph\">In May 2026, Redis developers fixed a dangerous post-authentication remote code execution vulnerability, dubbed DarkReplica (<a href=\"https:\/\/cybersecuritynews.com\/redis-vulnerabilities-enables-rce\/\" target=\"_blank\" rel=\"noreferrer noopener\">CVE-2026-23631<\/a>), that allowed attackers to gain full control of a Redis host.<\/p>\n<p class=\"wp-block-paragraph\">Redis provides powerful server-side Lua engines, allowing administrators to run custom logic directly in the database.<\/p>\n<p class=\"wp-block-paragraph\">There are two such engines: the older scripting engine and the newer functions engine, which stores libraries and synchronizes them between nodes.<\/p>\n<p class=\"wp-block-paragraph\">DarkReplica targets the functions engine during replication. An attacker who can authenticate to a Redis instance can instruct that server to become a replica of an attacker-controlled master <a href=\"https:\/\/cybersecuritynews.com\/vulnerable-redis-servers\/\" target=\"_blank\" rel=\"noreferrer noopener\">using the SLAVEOF command<\/a>.<\/p>\n<p class=\"wp-block-paragraph\">When the replica synchronizes, the server may load a new function context from the incoming RDB (Redis dump) file.<\/p>\n<h2 id=\"h-redis-rce-vulnerability\" class=\"wp-block-heading\"><strong>Redis RCE Vulnerability<\/strong><\/h2>\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/www.zeroday.cloud\/blog\/redis-cve-2026-23631-dark-replica\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">The issue was discovered during a ZeroDay.Cloud 2025 research<\/a> effort and demonstrated how complex features and unexpected interactions can lead to critical risks.<\/p>\n<p class=\"wp-block-paragraph\">Redis handles long-running Lua functions by periodically yielding to process events this is how FUNCTION KILL works.<\/p>\n<p class=\"wp-block-paragraph\">But processing replication events while a slow function is paused opens a loophole: the replication handler frees the running Lua engine and replaces it with a new context without preventing the paused function from resuming.<\/p>\n<p class=\"wp-block-paragraph\">The paused function then continues executing with its lua_State and related objects freed, producing a <a href=\"https:\/\/cybersecuritynews.com\/redis-server-vulnerability\/\" target=\"_blank\" rel=\"noreferrer noopener\">use-after-free condition<\/a>.<\/p>\n<p class=\"wp-block-paragraph\">Exploiting that condition is complex but practical. Researchers built primitives to leak heap addresses, force deterministic heap allocations, and create fake Lua objects.<\/p>\n<p class=\"wp-block-paragraph\">By running the vulnerable code inside coroutines and carefully spraying the Lua memory arena, they regained control of the Lua VM and produced read\/write primitives.<\/p>\n<p class=\"wp-block-paragraph\">From there, they redirected internal function pointers to call libc functions. They ultimately invoked system commands, <a href=\"https:\/\/cybersecuritynews.com\/hackers-drops-bakcdoor-malware-redigo-redis-server\/\" target=\"_blank\" rel=\"noreferrer noopener\">achieving full remote code execution on the host<\/a>.<\/p>\n<p class=\"wp-block-paragraph\">The vulnerability impacted many maintained Redis release series and was patched on May 5, 2026, across versions 7.2.x, 7.4.x, 8.2.x, 8.4.x, and 8.6.x.<\/p>\n<p class=\"wp-block-paragraph\">Operators must upgrade to fixed releases immediately and audit <a href=\"https:\/\/cybersecuritynews.com\/p2pinfect-botnet-compromises-kubernetes-clusters-through-exposed-redis-instances\/\" target=\"_blank\" rel=\"noreferrer noopener\">exposed Redis instances<\/a>.<\/p>\n<p class=\"wp-block-paragraph\">Because exploitation requires authentication and advanced memory work, risk is highest for misconfigured servers that allow weak or no credentials, or for environments where attackers can obtain valid credentials.<\/p>\n<p class=\"wp-block-paragraph\">The incident highlights that complex in-process scripting and replication features increase the attack surface, underscoring the importance of careful synchronization and lifecycle management.<\/p>\n<p class=\"wp-block-paragraph\">Users should update Redis, enforce strong authentication and network controls, and monitor for unexpected changes to agent configuration or functionality.<\/p>\n<p class=\"wp-block-paragraph\">The researcher published the full technical write-up and exploit. Vendors and cloud security tools now offer advisories to detect affected installations.<\/p>\n<p class=\"has-text-align-center has-background wp-block-paragraph\" style=\"background:linear-gradient(180deg,rgb(238,238,238) 91%,rgb(169,184,195) 100%)\"><strong>Follow us on\u00a0<a href=\"https:\/\/news.google.com\/publications\/CAAqMggKIixDQklTR3dnTWFoY0tGV041WW1WeWMyVmpkWEpwZEhsdVpYZHpMbU52YlNnQVAB?hl=en-IN&amp;gl=IN&amp;ceid=IN:en\" target=\"_blank\" rel=\"noreferrer noopener\">Google News<\/a>,\u00a0<a href=\"https:\/\/www.linkedin.com\/company\/cybersecurity-news\/\" target=\"_blank\" rel=\"noreferrer noopener\">LinkedIn<\/a>,\u00a0and\u00a0<a href=\"https:\/\/x.com\/cyber_press_org\" target=\"_blank\" rel=\"noreferrer noopener\">X<\/a>\u00a0to Get More Instant Updates.<\/strong><\/p>\n<p class=\"wp-block-paragraph\">\n<p>The post <a href=\"https:\/\/cybersecuritynews.com\/redis-rce-vulnerability-server\/\">Critical Redis RCE Vulnerability Enable Attackers to Gain Complete Control to Host Server<\/a> appeared first on <a href=\"https:\/\/cybersecuritynews.com\/\">Cyber Security News<\/a>.<\/p>\n<\/div>\n<p> \t<BR><br \/>\n <BR><\/BR><br \/>\n    Abinaya<br \/>\n \t<BR><br \/>\n<BR><\/BR><br \/>\n<a href=\"https:\/\/cybersecuritynews.com\/redis-rce-vulnerability-server\/\">Go to cyber-security-news<\/a><br \/>\n \t<BR><br \/>\n <BR><\/BR><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Critical Redis RCE Vulnerability Enable Attackers to Gain Complete Control to Host Server In May 2026, Redis developers fixed a dangerous post-authentication remote code execution vulnerability, dubbed DarkReplica (CVE-2026-23631), that allowed attackers to gain full control of a Redis host. Redis provides powerful server-side Lua engines, allowing administrators to run custom logic directly in the [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[129,63,648],"tags":[130],"class_list":["post-13451","post","type-post","status-publish","format-standard","hentry","category-cyber-security","category-cyber-security-news","category-vulnerability-news","tag-cyber-security-news"],"_links":{"self":[{"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/posts\/13451"}],"collection":[{"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/comments?post=13451"}],"version-history":[{"count":0,"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/posts\/13451\/revisions"}],"wp:attachment":[{"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/media?parent=13451"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/categories?post=13451"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/tags?post=13451"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}