# CVE-2021-3797: Use of Wrong Operator in String Comparison in hestiacp/hestiacp

- Severity: Medium 4.8 (CVSS:3.0, scored by @huntrdev) `CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N`
- 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): 1.15%, higher than 67% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-09-15T13:05:11.000Z
- Modified: 2026-06-17T04:05:47.277Z
- Weaknesses: CWE-597
- Assigned by: @huntrdev

## Description

hestiacp is vulnerable to Use of Wrong Operator in String Comparison

(As written by CVE List.)

## Affected

- hestiacp hestiacp/hestiacp: from unspecified up to 1.4.13
- hestiacp control_panel: up to 1.4.12

## Every score

- @huntrdev: CVSS:3.0 4.8 Medium `CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://huntr.dev/bounties/c24fb15c-3c84-45c8-af04-a660f8da388f> (exploit, issue-tracking, patch, third-party-advisory)
- <https://github.com/hestiacp/hestiacp/commit/fc68baff4f94b59e38316f886d0ce47d337042f7> (patch, third-party-advisory)

## Sources

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

---

Page: https://cve.day/CVE-2021-3797 · Whole record: https://cve.day/CVE-2021-3797.json · Rebuilt by cve.day 2026-11-25T22:58:03.985Z
