CVE-2026-73453

Summary

An unauthenticated P4Runtime (Programming Protocol-Independent Packet Processors Runtime) client can achieve arbitrary code execution under certain conditions on affected platforms running Arista EOS configured with P4Runtime. P4Runtime is disabled by default in Arista EOS. By crafting a malicious packet during the initiation of a P4Runtime session, an attacker can obtain complete administrative control over the compromised switch.

This issue was discovered internally by Arista, and the company is not aware of any malicious exploitation of this vulnerability in customer networks.

Affected Software

VendorProductVersion RangeStatus
Arista NetworksEOS4.36.0F <= 4.36.1Faffected
Arista NetworksEOS4.35.0F <= 4.35.5Maffected
Arista NetworksEOS4.34.0F <= 4.34.7Maffected
Arista NetworksEOS4.33.0F < 4.34.0Faffected
Arista NetworksEOS4.32.0F < 4.33.0Faffected
Arista NetworksEOS4.31.0F < 4.32.0Faffected
Arista NetworksEOS4.30.0F < 4.31.0Faffected
Arista NetworksEOS4.29.2F < 4.30.0Faffected

Weaknesses

  • CWE-94: CWE-94 Improper Control of Generation of Code ('Code Injection')

Workarounds

To mitigate this issue, it is recommended to configure the p4-runtime service in mTLS mode (ssl profile with trust certificates). Additionally, enable gNSI Authz to facilitate RPC authorization via the client certificate SPIFFE-ID. Please note that enabling mTLS config will terminate all existing P4 client connections and may cause control plane disruption since packet I/O operations are impacted.

Before implementing this solution, the following pre-requisites must be met:

  1. Generate SPIFFE-ID client certificate signed by the server trusted CA and use it for establishing P4 client connection to the server.
  2. Define a json file with SPIFFE-ID based policies for Authz service and install it on the device using gNSI Authz.Rotate() rpc.

switch>show running-config section p4-runtime p4-runtime no shutdown ! transport grpc foo ssl profile campus authentication username priority x509-spiffe

switch>show running-config section security management security ssl profile campus certificate server.crt key server.key trust certificate ca.crt

switch>show running-config section gnsi management api gnsi service authz

ADP Enrichment

CISA ADP Vulnrichment

  • SSVC:
  • Exploitation: none
    • Automatable: yes
    • Technical Impact: total

References