Regular Expression Denial of Service (ReDoS) in lunary-ai/lunary
Published Mar 20, 2025
7.5
HIGHCVSS 3.0
EPSS 0.81%
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.
Affected products
-
- Version unspecifiedStatusaffectedConstraints<1.4.23
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Lunary-AI | Lunary-Ai/lunary | n/a |
|
No data.
No Red Hat product state for this CVE.
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
No CVSS v2.0 score for this CVE.
This CVE is not in the KEV list.
CISA SSVC (Vulnrichment)
Stakeholder-Specific Vulnerability Categorization from CISA ADP.
Exploitation
PoCAutomatable
YesTechnical Impact
PartialDecision
n/aAssessed Mar 20, 2025 · SSVC 2.0.3
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2025–2026- EPSS v4
- EPSS v5
Percentile over time
- EPSS v4
- EPSS v5
Table of values (3 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 0.81% (0.00808) | 55.29th | v5 (v2026.06.15) |
| Jun 15, 2026 | 0.71% (0.00709) | 48.47th | v5 (v2026.06.15) |
| Mar 20, 2025 | 0.04% (0.00043) | 10.10th | v4 (v2025.03.14) |
References (2)
- https://github.com/lunary-ai/lunary/commit/7ff89b0304d191534b924cf063f3648206d497fa Patch
- https://huntr.com/bounties/4fb63a6e-0056-4550-a34d-e161de1c13b8 ExploitThird Party Advisory
| Link | Providers | Tags |
|---|---|---|
| https://github.com/lunary-ai/lunary/commit/7ff89b0304d191534b924cf063f3648206d497fa | Patch | |
| https://huntr.com/bounties/4fb63a6e-0056-4550-a34d-e161de1c13b8 | ExploitThird Party Advisory |
Change history (0)
No recorded changes yet.