CVE-2026-24516

Published Mar 23, 2026 CVSS 3.1 · 8.8 High EPSS 2.7% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-fh3m-562m-w4f6 DigitalOcean Droplet Agent: Command Injection via Metadata Service Endpoint
History
Type Values Removed Values Added
Title Droplet Agent Command Injection Enables Root Command Execution
Type Values Removed Values Added
Title Droplet Agent Command Injection Enables Root Command Execution
Type Values Removed Values Added
Title Command Injection in DigitalOcean Droplet Agent Enables Remote Execution with Root Privileges
Type Values Removed Values Added
Title Command Injection in DigitalOcean Droplet Agent Enables Remote Execution with Root Privileges
Type Values Removed Values Added
Weaknesses CWE-94
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Digitalocean
Digitalocean droplet Agent
Vendors & Products Digitalocean
Digitalocean droplet Agent
Type Values Removed Values Added
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.
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Mar 24, 2026, 1:36 PM
Reserved
Jan 23, 2026, 12:00 AM
Status
Awaiting Analysis
Published
Mar 23, 2026, 5:16 PM
Modified
Jun 17, 2026, 10:23 AM