> CVE-2026-24516

« BACK_TO_HOME
PUBLISHED
2026-03-23 17:16
MODIFIED
2026-03-23 17:16
EPSS (Prob. Exploit)
2.60%
Top 14.6%
DATA SOURCES:
NVD 🔗 2026-03-23 FIRST EPSS 🔗 2026-11-08 GITHUB 🔗 2026-11-05 OSV 🔗 2026-11-01

> 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.

> AFFECTED_PRODUCTS

ℹ️ Aucun produit affecté n'a encore été publié par NVD pour cette CVE.

> GITHUB SECURITY ADVISORY

GHSA-fh3m-562m-w4f6 HIGH

DigitalOcean Droplet Agent: Command Injection via Metadata Service Endpoint

AFFECTED PACKAGES:
GO / github.com/digitalocean/droplet-agent
<= 0.0.0-20260107162243-1101ffcb5672

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

AFFECTED PACKAGES:
Unknown / Unknown
7 versions affected
ALIASES:
GHSA-fh3m-562m-w4f6, GO-2026-4854

> HISTORIQUE DES MODIFICATIONS

Première apparition
23/03/2026 17:16
Source: NVD
Total des modifications: 0 Dernière mise à jour: 7 months ago

> REFERENCES

https://github.com/digitalocean/droplet-agent/blob/main/internal/troubleshooting...
https://github.com/digitalocean/droplet-agent/blob/main/internal/troubleshooting...
https://github.com/digitalocean/droplet-agent/blob/main/internal/troubleshooting...
https://github.com/poxsky/CVE-2026-24516-DigitalOcean-RCE
« BACK_TO_HOME