# CVE-2026-24516: DigitalOcean Droplet Agent: Command Injection via Metadata Service Endpoint

- Severity: High 8.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/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): 2.82%, higher than 86% of CVEs (2026-12-01)
- Published: 2026-03-23T00:00:00.000Z
- Modified: 2026-06-17T10:23:10.780Z
- Also known as: GHSA-fh3m-562m-w4f6, GO-2026-4854
- Weaknesses: CWE-77, CWE-94
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: mitre

## Description

A command injection vulnerability exists in DigitalOcean Droplet Agent through 1.3.2. The troubleshooting actioner component (internal/troubleshooting/actioner/actioner.go) processes metadata from the metadata service endpoint and executes commands specified in the TroubleshootingAgent.Requesting array without adequate input validation. While the code validates that artifacts exist in the validInvestigationArtifacts map, it fails to sanitize the actual command content after the "command:" prefix. This allows an attacker who can control metadata responses to inject and execute arbitrary OS commands with root privileges. The attack is triggered by sending a TCP packet with specific sequence numbers to the SSH port, which causes the agent to fetch metadata from http://169.254.169.254/metadata/v1.json. The vulnerability affects the command execution flow in internal/troubleshooting/actioner/actioner.go (insufficient validation), internal/troubleshooting/command/exec.go (direct exec.CommandContext call), and internal/troubleshooting/command/command.go (command parsing without sanitization). This can lead to complete system compromise, data exfiltration, privilege escalation, and potential lateral movement across cloud infrastructure.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- github.com/digitalocean/droplet-agent (Go): up to 0.0.0-20260107162243-1101ffcb5672; all versions

## Every score

- CISA-ADP: 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`
- GitHub: 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://github.com/digitalocean/droplet-agent/blob/main/internal/troubleshooting/actioner/actioner.go> (web)
- <https://github.com/digitalocean/droplet-agent/blob/main/internal/troubleshooting/command/exec.go> (web)
- <https://github.com/digitalocean/droplet-agent/blob/main/internal/troubleshooting/command/command.go> (web)
- <https://github.com/poxsky/CVE-2026-24516-DigitalOcean-RCE> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-24516> (advisory)
- <https://github.com/digitalocean/droplet-agent> (package)
- <https://github.com/advisories/GHSA-fh3m-562m-w4f6> (advisory)

## Sources

- CVE List: [CVE-2026-24516](https://www.cve.org/CVERecord?id=CVE-2026-24516), CVE Terms of Use, modified 2026-03-24
- GitHub Advisory Database: [GHSA-fh3m-562m-w4f6](https://github.com/advisories/GHSA-fh3m-562m-w4f6), CC-BY-4.0, modified 2026-03-26
- Go Vulnerability Database: [GO-2026-4854](https://pkg.go.dev/vuln/GO-2026-4854), CC-BY-4.0, modified 2026-03-26
- NVD: [CVE-2026-24516](https://nvd.nist.gov/vuln/detail/CVE-2026-24516), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-24516 · Whole record: https://cve.day/CVE-2026-24516.json · Rebuilt by cve.day 2026-11-25T22:59:16.469Z
