# CVE-2024-8789: Regular Expression Denial of Service (ReDoS) in lunary-ai/lunary

- Severity: High 7.5 (CVSS:3.0, scored by @huntr_ai) `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.82%, higher than 58% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-03-20T10:10:28.174Z
- Modified: 2026-06-17T08:23:18.520Z
- Weaknesses: CWE-1333
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: @huntr_ai

## Description

Lunary-ai/lunary version git 105a3f6 is vulnerable to a Regular Expression Denial of Service (ReDoS) attack. The application allows users to upload their own regular expressions, which are then executed on the server side. Certain regular expressions can have exponential runtime complexity relative to the input size, leading to potential denial of service. An attacker can exploit this by submitting a specially crafted regular expression, causing the server to become unresponsive for an arbitrary length of time.

(As written by CVE List.)

## Affected

- lunary-ai lunary-ai/lunary: from unspecified before 1.4.23
- lunary lunary: before 1.4.23

## References

- <https://huntr.com/bounties/e32f5f0d-bd46-4268-b6b1-619e07c6fda3> (exploit, third-party-advisory)
- <https://github.com/lunary-ai/lunary/commit/7ff89b0304d191534b924cf063f3648206d497fa> (patch)

## Sources

- CVE List: [CVE-2024-8789](https://www.cve.org/CVERecord?id=CVE-2024-8789), CVE Terms of Use, modified 2025-10-15
- NVD: [CVE-2024-8789](https://nvd.nist.gov/vuln/detail/CVE-2024-8789), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-8789 · Whole record: https://cve.day/CVE-2024-8789.json · Rebuilt by cve.day 2026-11-25T22:58:52.401Z
