# CVE-2024-8998: 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.81%, higher than 58% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-03-20T10:11:04.121Z
- Modified: 2026-06-17T08:23:45.640Z
- Weaknesses: CWE-1333
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: @huntr_ai

## Description

A Regular Expression Denial of Service (ReDoS) vulnerability exists in lunary-ai/lunary version git f07a845. The server uses the regex /{.*?}/ to match user-controlled strings. In the default JavaScript regex engine, this regex can take polynomial time to match certain crafted user inputs. As a result, an attacker can cause the server to hang for an arbitrary amount of time by submitting a specially crafted payload. This issue is fixed in version 1.4.26.

(As written by CVE List.)

## Affected

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

## Every score

- @huntr_ai: CVSS:3.0 7.5 High `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://huntr.com/bounties/4dbd8648-1dca-4f95-b74f-978ef030e97e> (exploit)
- <https://github.com/lunary-ai/lunary/commit/f2bfa036caf2c48686474f4560a9c5abcf5f43b7> (patch)

## Sources

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

---

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