CVE-2022-40881: Command Injection in SolarView Compact network_test.php
- Vendor
- Contec
CVE-2022-40881 is a command injection vulnerability in SolarView Compact version 6.00, specifically in the network_test.php component. The vulnerability arises from improper sanitization of user-supplied input, allowing attackers to inject and execute arbitrary OS commands via the web interface. This flaw enables remote attackers to gain unauthorized control over the device, which is used for photovoltaic power generation monitoring.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows attackers to execute arbitrary commands on the underlying operating system, leading to information theft, data modification, system destruction, or installation of malicious software. The vulnerability has been actively exploited in the wild, with over 18,000 unique attack attempts detected in July 2023, posing a significant risk to industrial control systems.
Mitigation
If you can’t patch tonight, do this now.
If immediate patching is not possible, restrict network access to the device, monitor for suspicious activity, and deploy intrusion prevention signatures such as FortiGuard's 'SolarView.Compact.Command.Injection' to detect and block exploitation attempts.
Remediation
Patch, then assume compromise.
Upgrade SolarView Compact to version 7.21 or later, where the vendor has addressed the input sanitization flaw. Apply the official patch from Contec immediately to mitigate the risk of exploitation.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Frequently asked questions
- Is CVE-2022-40881 exploited in the wild?
- Yes. As of Oct 16, 2026, Mallory has reports of exploitation in the wild.
- Is there a public exploit for CVE-2022-40881?
- Yes. As of Oct 16, 2026, Mallory has reports of a public exploit for CVE-2022-40881.
- Is there a patch for CVE-2022-40881?
- Upgrade SolarView Compact to version 7.21 or later, where the vendor has addressed the input sanitization flaw. Apply the official patch from Contec immediately to mitigate the risk of exploitation.
- What products are affected by CVE-2022-40881?
- Contec Solarview Compact Firmware.
- How severe is CVE-2022-40881?
- CVE-2022-40881 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 34.6% (98th percentile) as of Oct 16, 2026.
Recent activity
1 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.