# CVE-2024-49368: Unchecked logrotate settings lead to arbitrary command execution

- Severity: High 8.9 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P`
- 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): 28.1%, higher than 98% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-10-21T17:04:43.652Z
- Modified: 2026-11-04T00:06:07.715Z
- Weaknesses: CWE-20
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: GitHub_M

## Description

Nginx UI is a web user interface for the Nginx web server. Prior to version 2.0.0-beta.36, when Nginx UI configures logrotate, it does not verify the input and directly passes it to exec.Command, causing arbitrary command execution. Version 2.0.0-beta.36 fixes this issue.

(As written by CVE List.)

## Affected

- 0xJacky nginx-ui: < 2.0.0-beta.36
- nginxui nginx_ui: before 2.0.0-beta.36; up to 1.9.9-4; 2.0.0

## Every score

- GitHub_M: CVSS:4.0 8.9 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P`
- 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`

## References

- <https://github.com/0xJacky/nginx-ui/security/advisories/GHSA-66m6-27r9-77vm> (exploit, vendor-advisory)
- <https://github.com/0xJacky/nginx-ui/releases/tag/v2.0.0-beta.36> (release-notes)

## Sources

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

---

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