CVE-2026-24516
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedA 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.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceCommand injection vulnerability in DigitalOcean Droplet Agent through 1.3.2 where the troubleshooting actioner component processes metadata from the 169.254.169.254 endpoint and executes commands from the TroubleshootingAgent.Requesting array without sanitizing command content after the 'command:' prefix, allowing arbitrary OS command execution with root privileges.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Verify DigitalOcean Droplet Agent installationIdentify if the DigitalOcean Droplet Agent is installed on the system by checking for the droplet-agent process, service, or binary.Affected if The agent is not present on the system.
-
Check installed Droplet Agent versionDetermine the installed version of the DigitalOcean Droplet Agent by querying the service or binary version flag, then compare against the affected range (versions through 1.3.2).Affected if The installed version is 1.3.2 or earlier.
-
Confirm troubleshooting actioner is enabledInspect the agent configuration for the troubleshooting actioner component or TroubleshootingAgent settings to determine if this feature is active.Affected if The troubleshooting actioner component is enabled and processing metadata.
-
Verify metadata endpoint accessibilityConfirm whether the instance can reach the metadata endpoint at 169.254.169.254, as this is the source of data processed by the vulnerable component.Affected if The metadata endpoint is accessible and the agent is configured to use it.
-
Inspect TroubleshootingAgent.Requesting configurationReview the agent configuration for any TroubleshootingAgent.Requesting array entries that specify commands to execute, as these are directly used without sanitization.Affected if The TroubleshootingAgent.Requesting configuration contains command entries that get executed.
A system is affected if DigitalOcean Droplet Agent version 1.3.2 or earlier is installed with the troubleshooting actioner enabled and configured to process metadata from 169.254.169.254.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedImplement strict input validation and sanitization for all command content retrieved from metadata responses before passing to exec.CommandContext, ensuring only whitelisted commands are permitted.
1.3.3 or later
- Upgrade DigitalOcean Droplet Agent to version 1.3.3 or later to remediate the command injection vulnerability
- After upgrading, verify the agent is running the updated version by checking the agent binary or service version
- Confirm that metadata service interactions no longer permit unauthenticated command execution from metadata responses
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation3.0 h
- Implementation6.0 h
- Testing3.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $3,984.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2026-24516 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2026-24516 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data