CVE-2021-30462: VestaCP through 0.9.8-24 allows the admin user to escalate privileges to root because the Sudo configuration d
CVE-2021-30462 is a high-severity flaw (CVSS 7.2) affecting vesta control panel. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
VestaCP through 0.9.8-24 allows the admin user to escalate privileges to root because the Sudo configuration does not require a password to run /usr/local/vesta/bin scripts.
Why this priority
- High severity
- Public exploit reference
A fixed release or distro patch exists.
Risk facts
| CVSS score | 7.2 (High) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | High |
| User interaction | None |
| EPSS exploit chance | 1.8% (top 21%) |
| CISA exploited list | No |
| Weakness | CWE-306 |
| Published | 2021-04-08 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2021-30462?
vesta control panel: upgrade to newer than 0.9.8-24. Exact commands for each OS are on this page.
Is CVE-2021-30462 being exploited?
CVE-2021-30462 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2021-30462 affect?
CVE-2021-30462 affects vesta control panel. Severity is high (CVSS 7.2). VestaCP through 0.9.8-24 allows the admin user to escalate privileges to root because the Sudo configuration does not require a password to run /usr/local/vesta/bin scripts.
How urgent is CVE-2021-30462?
Priority 50/100. High severity; Public exploit reference
Software pages
Related CVEs
- CVE-2022-36305 MEDIUM 6.1 DOWNGRADE Vesta v1.0.0-5 was discovered to contain a cross-site scripting (XSS) vulnerability via the body function at /
- CVE-2022-36304 MEDIUM 6.1 DOWNGRADE Vesta v1.0.0-5 was discovered to contain a cross-site scripting (XSS) vulnerability via the generate_response
- CVE-2022-36303 MEDIUM 6.1 DOWNGRADE Vesta v1.0.0-5 was discovered to contain a cross-site scripting (XSS) vulnerability via the handle_file_upload
- CVE-2022-34025 MEDIUM 6.1 DOWNGRADE Vesta v1.0.0-5 was discovered to contain a cross-site scripting (XSS) vulnerability via the post function at /
- CVE-2021-46850 HIGH 7.2 UPGRADE UPGRADE myVesta Control Panel before 0.9.8-26-43 and Vesta Control Panel before 0.9.8-26 are vulnerable to command inj