# CVE-2024-12828: Webmin CGI Command Injection Remote Code Execution Vulnerability

- Severity: Critical 9.9 (CVSS:3.0, scored by zdi) `CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/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): 33.3%, higher than 98% of CVEs (2026-12-01)
- Published: 2024-12-30T16:48:13.347Z
- Modified: 2026-06-17T07:00:35.497Z
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: zdi

## Description

Webmin CGI Command Injection Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Webmin. Authentication is required to exploit this vulnerability. 

The specific flaw exists within the handling of CGI requests. The issue results from the lack of proper validation of a user-supplied string before using it to execute a system call. An attacker can leverage this vulnerability to execute code in the context of root. Was ZDI-CAN-22346.

(As written by CVE List.)

## Affected

- Webmin Webmin: webmin 2.104; 2.104

## Every score

- zdi: CVSS:3.0 9.9 Critical `CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://www.zerodayinitiative.com/advisories/ZDI-24-1725/> (third-party-advisory)
- <https://github.com/webmin/authentic-theme/commit/61e5b10227b50407e3c6ac494ffbd4385d1b59df> (patch, vendor-advisory)

## Sources

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

---

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