# CVE-2023-51387: Expression Injection Vulnerability in Hertzbeat

- Priority: **Prioritise**
- Reason: Public exploit (GitHub, Date unknown)
- Next step: Check applicability: affected before 1.4.1 (CNA); fix release not confirmed
- Status: published
- Published: 2023-12-22 · Modified: 2024-08-02
- Record: https://cvemate.com/vulnerability/CVE-2023-51387 · JSON: https://cvemate.com/vulnerability/CVE-2023-51387/json

## Description

```text
Hertzbeat is an open source, real-time monitoring system. Hertzbeat uses aviatorscript to evaluate alert expressions. The alert expressions are supposed to be some simple expressions. However, due to improper sanitization for alert expressions in version prior to 1.4.1, a malicious user can use a crafted alert expression to execute any command on hertzbeat server. A malicious user who has access to alert define function can execute any command in hertzbeat instance. This issue is fixed in version 1.4.1.
```

## Signals

- CVSS: 8.8 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 1.449%, percentile 74.25%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- apache hertzbeat: \< 1.4.1
- dromara hertzbeat: \< 1.4.1

## References

- <https://github.com/dromara/hertzbeat/security/advisories/GHSA-4576-m8px-w9qj>
- <https://github.com/dromara/hertzbeat/commit/8dcf050e27ca95d15460a7ba98a3df8a9cd1d3d2>
- <https://github.com/dromara/hertzbeat/blob/6b599495763120ad1df6f4ed4b6713bb4885d8e2/home/blog/2023-09-26-hertzbeat-v1.4.1.md>

---

Data as of 2026-12-05T04:11:43.067Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
