← Vulnerability feed

Vulnerability record · CVE-2021-27886 · published 2 March 2021

CVE-2021-27886: Docker Dashboard command injection in terminal API endpoint

DDocker Dashboard Project · Docker Dashboard

rakibtg Docker Dashboard before 2021-02-28 passes the command parameter of an API request into a shell in backend/utilities/terminal.js without sanitizing shell metacharacters. This is an OS command injection flaw in a third-party project, not a Docker, Inc. product. It matters because the endpoint is network-reachable and unauthenticated, giving remote code execution on the host running the dashboard.

9.8 CVSS 3.1 Critical EPSS 46% · top 1.2% CWE-78 · OS command injection
9.8CVSS 3.1 base score, v2 7.5
46%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
8References
17 Jun 2026Last modified by NVD

Description

rakibtg Docker Dashboard before 2021-02-28 allows command injection in backend/utilities/terminal.js via shell metacharacters in the command parameter of an API request. NOTE: this is NOT a Docker, Inc. product.

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 20 September 2026. Confidence: high.

critical priorityUnauthenticated network-reachable OS command injection with CVSS 9.8 and high EPSS makes this an urgent patch-or-isolate case.

What it is

rakibtg Docker Dashboard before 2021-02-28 passes the command parameter of an API request into a shell in backend/utilities/terminal.js without sanitizing shell metacharacters. This is an OS command injection flaw in a third-party project, not a Docker, Inc. product. It matters because the endpoint is network-reachable and unauthenticated, giving remote code execution on the host running the dashboard.

Impact

An attacker can execute arbitrary OS commands with the privileges of the dashboard process, leading to full compromise of the host and any containers or credentials it can reach.

Attack surface

Reached over the network via an API request to the terminal endpoint, with no authentication and no user interaction required per the CVSS vector (AV:N/AC:L/PR:N/UI:N). The command parameter is the injection point.

Exploitation

Not listed in CISA KEV and no ransomware associations are recorded, but EPSS is high at roughly 0.456 (98.7th percentile), and public references include a Packet Storm advisory and a patch commit, indicating public technical detail exists.

What to do

  • Apply the upstream fix in commit 79cdc41809f2030fce21a1109898bd79e4190661 or upgrade to a build dated 2021-02-28 or later.
  • If patching is not possible, remove or disable the terminal API endpoint and the dashboard's command execution feature.
  • Do not expose the dashboard to untrusted networks; restrict access to a management network or localhost and require authentication at a reverse proxy.
  • Run the dashboard as a low-privilege user with no host Docker socket access or elevated group membership.
  • Replace the shell invocation with an argument-array exec call that does not interpret shell metacharacters.

Detection

  • Monitor dashboard/API logs for requests to the terminal endpoint containing shell metacharacters such as ;, |, &&, $(), or backticks.
  • Alert on child processes spawned by the dashboard process (node) that launch shells or unexpected binaries.
  • Review host process telemetry for command lines matching the dashboard's working directory or service account.
  • Audit network exposure of the dashboard port and flag any external connections to it.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2021-27886 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

8.8CVE-2026-53266Linux kernel ebtables SNAT out-of-bounds write in ARP rewriteThe ebtables SNAT target rewrites the ARP sender hardware address via skb_store_bits() without first making that range writable. When the ARP SHA byt…KEVEPSS 0.65%analysed8.8CVE-2026-87491Google Chrome V8 out-of-bounds write enables sandbox code executionChrome before 153.0.8010.36 contains an out-of-bounds write in the V8 JavaScript engine. A crafted HTML page can trigger the memory corruption, and b…KEVEPSS 3.1%analysed9.8CVE-2025-25249Fortinet FortiOS and FortiSwitchManager heap buffer overflow via crafted packetsA heap-based buffer overflow (CWE-122/CWE-787) in Fortinet FortiOS 6.4 through 7.6.3 and FortiSwitchManager 7.0 through 7.2.6 lets an unauthenticated…KEVEPSS 3.9%analysed7.8CVE-2026-83549SonicWall SMA1000 AMC OS Command InjectionThe SMA1000 Appliance Management Console contains an OS command injection flaw (CWE-78) that lets an authenticated administrator execute arbitrary op…KEVEPSS 11%analysed10.0CVE-2026-49869Kestra OSS auth bypass via path suffix match enables RCEKestra OSS AuthenticationFilter whitelists the public config endpoint using request.getPath().endsWith("/configs"), a suffix match instead of an exac…KEVEPSS 2.1%analysed7.8CVE-2026-53362Linux kernel IPv6 UDP paged allocation out-of-bounds write__ip6_append_data() in the Linux kernel mis-accounts fraggap on the paged-allocation path, leaving the linear skb area undersized while pagedlen is o…KEVEPSS 0.71%analysed7.8CVE-2022-0995Linux kernel watch_queue out-of-bounds writeThe Linux kernel's watch_queue event notification subsystem contains an out-of-bounds write (CWE-787) that can overwrite kernel state. A local user c…KEVEPSS 8.8%analysed8.9CVE-2026-73570Zimbra Collaboration SNMP notification OS command injectionZimbra Collaboration Suite before 10.1.20 contains an OS command injection flaw in SNMP notification processing when the optional zimbra-snmp package…KEVEPSS 12%analysed

Source: NIST National Vulnerability Database (record CVE-2021-27886), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.