← Lab /Security & privacy

Arista NG Firewall permits remote authenticated root code execution via JSON-RPC command injection

A remote, authenticated attacker can achieve arbitrary command execution as root on Arista NG Firewall by exploiting insufficient input sanitization in the runTroubleshooting JSON-RPC method.

Security & privacy Zero Day Initiative Blog 5 Feb 2026 Disclosure Maturity unclear

Published as “CVE-2025-6978: Arbitrary Code Execution in the Arista NG Firewall”

Why it matters

Operators of vulnerable Arista NG Firewall versions must apply the vendor patch to prevent root-level code execution.

Summary

TrendAI researchers identified a command injection flaw in the runTroubleshooting JSON-RPC endpoint of Arista NG Firewall, where user-supplied parameters are not fully sanitized. The backtick character bypasses the existing filter, allowing an attacker to inject and execute arbitrary commands as root. The report provides detection guidance and notes that Arista has released a patch in version 17.4 or later.

What they found 3

  1. A remote, authenticated attacker can exploit the vulnerability by sending crafted JSON-RPC requests.

    “A remote, authenticated attacker could exploit this vulnerability by sending crafted requests to the target server.”

  2. The backtick character is not filtered and can be used to inject commands.

    “For example, the backtick character (`) is not included in the check and may be used to inject a command.”

  3. Successful exploitation results in arbitrary command execution as root.

    “Successful exploitation could result in arbitrary command execution under the security context of the root user.”

Caveats 2

  • A remote, authenticated attacker could exploit this vulnerability by sending crafted requests to the target server.
  • They note that the Arista Edge Threat Management - Arista Next Generation Firewall (Formerly Untangle) is affected by this bug, but other product versions are not.

What’s new here 4

  • Discovery of a command injection vulnerability in the runTroubleshooting JSON-RPC method.
  • Identification that the backtick character (`) bypasses the input validation.
  • Provision of a regex-based detection rule for exploiting traffic.
  • Vendor acknowledgement and patch release (version 17.4+).