{"cve":"CVE-2026-24516","nvd":{"published":"2026-03-23T17:16:37.863","modified":"2026-06-17T10:23:10.780","status":"Awaiting Analysis","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8},"cwes":["CWE-94"],"references":["https://github.com/digitalocean/droplet-agent/blob/main/internal/troubleshooting/actioner/actioner.go","https://github.com/digitalocean/droplet-agent/blob/main/internal/troubleshooting/command/command.go","https://github.com/digitalocean/droplet-agent/blob/main/internal/troubleshooting/command/exec.go","https://github.com/poxsky/CVE-2026-24516-DigitalOcean-RCE"],"products":[],"source":"nvd","synced_at":"2026-10-19T22:26:19.218427112+00:00"},"epss":{"cve":"CVE-2026-24516","score":0.02599,"percentile":0.85347,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-fh3m-562m-w4f6","url":"https://osv.dev/vulnerability/GHSA-fh3m-562m-w4f6","summary":"DigitalOcean Droplet Agent: Command Injection via Metadata Service Endpoint","modified":"2026-03-26T21:11:24.608061Z","packages":[{"ecosystem":"Go","name":"github.com/digitalocean/droplet-agent","purl":"pkg:golang/github.com/digitalocean/droplet-agent","ranges":["<=0.0.0-20260107162243-1101ffcb5672"],"fixed":[]}]},{"id":"GO-2026-4854","url":"https://osv.dev/vulnerability/GO-2026-4854","summary":"DigitalOcean Droplet Agent: Command Injection via Metadata Service Endpoint in github.com/digitalocean/droplet-agent","modified":"2026-03-26T21:04:16.906081Z","packages":[{"ecosystem":"Go","name":"github.com/digitalocean/droplet-agent","purl":"pkg:golang/github.com/digitalocean/droplet-agent","ranges":["all versions"],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}