CVE-2021-40870: Aviatrix Controller Unrestricted Upload of File
CVE-2021-40870 is a critical-severity flaw (CVSS 9.8) affecting controller, reported as exploited in the wild. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- Critical severity
- EPSS top 1%: very likely to be exploited
- Exploited in the wild (CISA KEV)
- Public exploit reference
- CISA SSVC: automatable with total technical impact
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 9.8 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 93.0% (top 1%) |
| CISA exploited list | Yes, fix due 2022-02-01 |
| Weakness | CWE-23 |
| Published | 2021-09-13 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Exploited Added to the CISA Known Exploited Vulnerabilities list
- Deadline CISA due date for US federal agencies to patch
- Updated Record last modified
Exact fixes by distribution
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- GitHub PoC: 0xAgun/CVE-2021-40870 (15 stars)
- GitHub PoC: orangmuda/CVE-2021-40870 (3 stars)
- GitHub PoC: JoyGhoshs/CVE-2021-40870 (2 stars)
- Write-up: docs.aviatrix.com/HowTos/UCC_Release_Notes.html#security-note-9-11-2021
- Write-up: wearetradecraft.com/advisories/tc-2021-0002/
- Nuclei scan template: Aviatrix Controller 6.x before 6.5-1804.1922 - Remote Command Execution
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2021-40870?
controller: upgrade to 6.2.2043, 6.3.2490, 6.4.2838, 6.5.1922. Exact commands for each OS are on this page.
Is CVE-2021-40870 being exploited?
Yes. CVE-2021-40870 is on the CISA Known Exploited Vulnerabilities list, so treat it as patch-now.
What does CVE-2021-40870 affect?
CVE-2021-40870 affects controller. Severity is critical (CVSS 9.8). 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.
How urgent is CVE-2021-40870?
Priority 97/100. Critical severity; EPSS top 1%: very likely to be exploited; Exploited in the wild (CISA KEV); Public exploit reference; CISA SSVC: automatable with total technical impact; Remotely exploitable, no login, no user action
Related CVEs
- CVE-2026-5065 HIGH 8.8 UPGRADE IBM Controller 11.0.1, 11.1.0, 11.1.1, and 11.1.2 contains hard-coded credentials, such as a password or crypt
- CVE-2025-36326 LOW 3.7 UPGRADE UPGRADE IBM Cognos Controller 11.0.0 through 11.0.1, and IBM Controller 11.1.0 through 11.1.1 could allow an attacker
- CVE-2025-36015 MEDIUM 6.5 UPGRADE UPGRADE IBM Controller 11.1.0 through 11.1.1 and IBM Cognos Controller 11.0.0 through 11.0.1 FP6 could allow an authen
- CVE-2025-36017 MEDIUM 6.5 UPGRADE IBM Controller 11.1.0 through 11.1.1 and IBM Cognos Controller 11.0.0 through 11.0.1 FP6 stores unencrypted se
- CVE-2025-33111 MEDIUM 4.3 UPGRADE UPGRADE IBM Controller 11.1.0 through 11.1.1 and IBM Cognos Controller 11.0.0 through 11.0.1 FP6 is vulnerable to crea