Security Advisory

CVE-2021-40870: Aviatrix Controller File Upload RCE (KEV)

Last updated:
  • CVE-2021-40870

CVE-2021-40870 lets an unauthenticated user upload a file of a dangerous type to Aviatrix Controller 6.x through directory traversal and run arbitrary code on the controller that manages Aviatrix cloud networks. NVD scores it 9.8 and CISA KEV lists it. Aviatrix fixed it in 6.2.2043, 6.3.2490, 6.4.2838 and 6.5.1922; run a current release.

Vulnerability summary

CVSS base score

9.8

Critical severity

EPSS score (FIRST)

93.0%

Probability of exploitation in the wild in the next 30 days

CISA KEV catalog

Yes

Listed as known exploited

Published

Vulnerability ID: CVE-2021-40870 · Source: NVD (Primary CVSS v3.1)

Affected components

ComponentCPEVersion range
Aviatrix Controller 6.xcpe:2.3:a:aviatrix:controller:*:*:*:*:*:*:*:*6.2 before 6.2.2043, 6.3 before 6.3.2490, 6.4 before 6.4.2838, 6.5 before 6.5.1922 (NVD; Aviatrix Field Notice 33); upgrade to those builds or later

What does this mean for affected devices?

MITRE published the CVE record on 2021-09-13: in Aviatrix Controller 6.x before 6.5-1804.1922, "unrestricted upload of a file with a dangerous type is possible, which allows an unauthenticated user to execute arbitrary code via directory traversal". NVD's Primary score is CVSS v3.1 9.8 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H), plus NVD CVSS v2 7.5, with CWE-23 (relative path traversal); CISA's KEV entry maps it to CWE-25 and CWE-96. NVD's CPE configuration splits the affected range by release train (NVD, CVE record).

Which Aviatrix Controller builds fix it?

Aviatrix's Field Notice 33 of 2021-10-02 says several controller APIs that upload configurations "did not verify the authentication of the service or user executing the API call properly", and that similar file upload APIs "did not properly sanitize their destination input, allowing directory traversal attacks" that could lead to code execution on the controller. It tells owners to upgrade to 6.2.2043, 6.3.2490, 6.4.2838 or 6.5.1922 or later, the builds released on 2021-09-11, and credits Tradecraft with the report. These are the same bounds as NVD's CPE ranges. Field Notice 34 of 2021-10-11 followed with 6.2.2052, 6.3.2526, 6.4.2869 and 6.5.1936 for a denial-of-service fix. A 6.x controller today also lacks the fix for the later exploited command injection CVE-2024-50603, which needs 7.1.4191 or 7.2.4996, so upgrade to a current Aviatrix release, not just the 2021 build.

How should the controller be exposed?

The flaw needs no login, so any controller reachable from the internet was exposed. Restrict the management interface to administrator networks as CISA BOD 23-02 on internet-exposed management interfaces describes, and treat a controller that ran a vulnerable build while exposed as possibly compromised. Another exploited path traversal in a network management server is Cisco Prime DCNM CVE-2015-0666. The class fix is in how to fix path traversal in embedded firmware.

Is CVE-2021-40870 exploited?

Yes. CISA added it to the KEV catalog on 2022-01-18 (due 2022-02-01) with the required action "Apply updates per vendor instructions." and known ransomware campaign use "Unknown"; it is still listed as of 2026-11-26 in catalog version 2026.11.25 (CISA KEV). FIRST EPSS gives 0.93019, the 99.89th percentile, in the 2026-11-25 dataset (FIRST EPSS).

How to fix this class of issueThis advisory's weakness class is Path traversal. Our practical guide covers how to detect, fix, verify and disclose it: How to fix path traversal in embedded firmware.

Evidence

  • Aviatrix Field Notice 33 (10/02/2021): latest 6.5, 6.4, 6.3, 6.2 versions fix several controller API vulnerabilities; upload APIs did not verify authentication properly; file upload APIs did not sanitize destination input, allowing directory traversal leading to code execution on the controller; upgrade to 6.2.2043, 6.3.2490, 6.4.2838, 6.5.1922 or later; credit Tradecraft. Field Notice 32 notes the 6.2-6.5 builds released 9/11/2021. Field Notice 34 (10/11/2021): 6.2.2052, 6.3.2526, 6.4.2869, 6.5.1936 for a denial-of-service fix; read 2026-11-26 from Aviatrix's documentation repository. — Aviatrix field notices
  • NVD: Analyzed; Primary CVSS v3.1 9.8 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H; Primary CVSS v2 7.5; CWE-23; CPE controller 6.2-<6.2.2043, 6.3-<6.3.2490, 6.4-<6.4.2838, 6.5-<6.5.1922; published 2021-09-13; read 2026-11-26. — NVD
  • CVE record: PUBLISHED, CNA MITRE, published 2021-09-13; Aviatrix Controller 6.x before 6.5-1804.1922. — CVE.org
  • KEV catalog 2026.11.25: dateAdded 2022-01-18, due 2022-02-01, required action 'Apply updates per vendor instructions.', knownRansomwareCampaignUse Unknown, CWE-25 and CWE-96; checked 2026-11-26. — CISA KEV
  • EPSS 0.93019, percentile 0.99893, dataset 2026-11-25, read 2026-11-26. — FIRST EPSS

Related advisories

Sources

  1. Aviatrix Field Notices (Field Notice 33 and 34)
  2. NVD
  3. CVE.org record CVE-2021-40870 (CNA: MITRE)
  4. CISA KEV
  5. FIRST EPSS

Frequently asked questions

Which Aviatrix Controller versions are affected by CVE-2021-40870?

Aviatrix Controller 6.2 before 6.2.2043, 6.3 before 6.3.2490, 6.4 before 6.4.2838 and 6.5 before 6.5.1922 (per NVD and Aviatrix Field Notice 33).

What fixes CVE-2021-40870?

The September 2021 builds 6.2.2043, 6.3.2490, 6.4.2838 and 6.5.1922 or later. Because 6.x builds lack the fix for CVE-2024-50603, upgrade to Aviatrix Controller 7.1.4191, 7.2.4996 or a later release (per Aviatrix's field notice and PSIRT advisory).

Does an attacker need an account to exploit CVE-2021-40870?

No. The CVE record says an unauthenticated user can upload the file and execute code, and Aviatrix's field notice says the affected upload APIs did not check authentication properly (per the CVE record and Aviatrix).

Is CVE-2021-40870 on the CISA KEV list?

Yes. CISA added it on 2022-01-18 with the action to apply updates per vendor instructions; it is still listed as of 2026-11-26. FIRST EPSS gives 0.93019, the 99.89th percentile, in the 2026-11-25 dataset (per CISA KEV and FIRST EPSS).