CVE-2024-8763: lunary-ai/lunary · ReDoS
Affects lunary-ai/lunarySource CVE Database V5
Not known to be exploited · CVSS 7.5 High.
Data as of 25 Oct 2026, 19:02 UTC
- EPSS
- 0.8% chance of exploitation in 30 days – higher than 57% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 20 Mar 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.
What to do
AI-suggested
To mitigate CVE-2024-8763, organizations should implement several specific measures: 1) Apply input validation to restrict or sanitize inputs containing excessive braces or suspicious patterns before they reach the vulnerable regex processing function. 2) Limit the size and complexity of user inputs to reduce the risk of triggering catastrophic backtracking. 3) Monitor application logs and performance metrics for signs of hanging or slow response times indicative of ReDoS attempts. 4) If possible, replace the vulnerable regular expression with a more efficient pattern or use alternative parsing methods that do not rely on regex prone to backtracking. 5) Stay alert for official patches or updates from lunary-ai and apply them promptly once available. 6) Employ web application firewalls (WAFs) or rate limiting to detect and block suspicious input patterns targeting this vulnerability. 7) Conduct code reviews and static analysis focusing on regex usage to proactively identify similar risks in other parts of the codebase.
Description
A Regular Expression Denial of Service (ReDoS) vulnerability exists in the lunary-ai/lunary repository, specifically in the compileTextTemplate function. The affected version is git be54057. An attacker can exploit this vulnerability by manipulating the regular expression /{{(.*?)}}/g, causing the server to hang indefinitely and become unresponsive to any requests. This is due to the regular expression's susceptibility to second-degree polynomial time complexity, which can be triggered by a large number of braces in the input.