CVE-2021-40870 in Aviatrix Controller
An issue was discovered 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.
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Aviatrix | Controller | ≥ 6.2, < 6.2.2043 ≥ 6.3, < 6.3.2490 ≥ 6.4, < 6.4.2838 ≥ 6.5, < 6.5.1922 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Yes added 2022-01-18 |
|---|---|
| Public exploit | Not confirmed |
Official description
An issue was discovered 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2021-40870 |
|---|---|
| BreachSpider ID | BS-2021-GLOBAL-245890-C |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| Published | 2021-09-13 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-23: CWE-23
Related attack patterns (CAPEC)
CAPEC-76 Manipulating Web Input to File System Calls via CWE-23
CAPEC-139 Relative Path Traversal via CWE-23
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A critical vulnerability exists in Aviatrix Controller versions prior to 6.5-1804.1922, allowing unauthenticated users to upload files with dangerous types, leading to arbitrary code execution via directory traversal. This vulnerability has a CVSS score of 9.8 and is listed in the KEV catalog with a public proof of concept available.
The vulnerability allows an unauthenticated attacker to upload a file with a dangerous type, such as a script or executable, to the Aviatrix Controller. The attacker can then exploit this to execute arbitrary code on the system, potentially leading to full control over the controller. The attack can be performed remotely without any user interaction, making it highly dangerous in network environments.
Compensating controls AI-drafted, review before use
Implement strict file upload restrictions and validate file types and paths to prevent directory traversal attacks. Ensure that only authorized users can upload files and that the upload directory is not executable.
NERC CIP: CIP-007 CIP-007-R2
IEC 62443: SR 7.6
Not validated for your network. A compensating control does not replace the vendor fix.
Questions
What is CVE-2021-40870?
A critical vulnerability exists in Aviatrix Controller versions prior to 6.5-1804.1922, allowing unauthenticated users to upload files with dangerous types, leading to arbitrary code execution via directory traversal. This vulnerability has a CVSS score of 9.8 and is listed in the KEV catalog with a public proof of concept available.
What is the CVSS score for CVE-2021-40870?
CVE-2021-40870 has CVSS 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. EPSS: 93.0%.
Is CVE-2021-40870 actively exploited?
Yes. CVE-2021-40870 is in the CISA known-exploited catalog (added 2022-01-18). Active exploitation confirmed. Immediate patching required.
How do I remediate CVE-2021-40870?
Priority: IMMEDIATE. Advisory: https://docs.aviatrix.com/HowTos/UCC_Release_Notes.html#security-note-9-11-2021 PSIRT: [email protected]
What systems are affected by CVE-2021-40870?
CVE-2021-40870 affects Aviatrix Controller.
What NERC-CIP standard applies to CVE-2021-40870?
NERC CIP CIP-007 CIP-007-R2: This vulnerability violates CIP-007-R2 by allowing unauthorized access to the system, which could compromise the security of the control center and the reliability of the bulk electric system.
What IEC 62443 requirement maps to CVE-2021-40870?
IEC 62443 SR 7.6: This vulnerability maps to SR 7.6 because it involves the prevention of unauthorized access to the system, which is crucial for maintaining the integrity and availability of the industrial control system.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Aviatrix","product":"Controller","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.