Security mailing lists by PureSourceCode

CVE-2026-24516

HIGH 8.8CVSS 3.1

DigitalOcean Droplet Agent: Command Injection via Metadata Service Endpoint

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.

Published
23 Mar 2026
Last modified
17 Jun 2026
Assigned by
cve@mitre.org
NVD status
Awaiting Analysis
Weakness
CWE-77CWE-94
Also known as
GHSA-fh3m-562m-w4f6GO-2026-4854
Sources
NVDJSONOSV GHSA-fh3m-562m-w4f6JSONOSV GO-2026-4854JSON

Scores

SourceScored byVersionScoreVector / decision
NVD 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) CVSS 3.1 HIGH 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 HIGH 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV Go github.com/digitalocean/droplet-agent <= 0.0.0-20260107162243-1101ffcb5672
OSV Go github.com/digitalocean/droplet-agent all versions

References

History

  • 25 Nov 2026 21:01 UTC · NVD: first stored (published 23 Mar 2026)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 26 Mar 2026)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 23 Mar 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.