# CVE-2025-70521: Fanvil x7a command injection in diagnostic ping tool

Source: https://junglewise.ai/threats/cve-2025-70521-the-management-portal-s-diagnostic-ping-tool-of-fanvil-x7a  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-10-07. Updated: 2026-11-04  
License: CC BY 4.0 with a link back

CVE-2025-70521 · Severity: critical · CVSS 9.8 · Published 2026-10-07

Fanvil x7a is an Android-based IP phone used in enterprise voice communications. An unauthenticated attacker can inject shell commands through the management portal's diagnostic ping tool via a specially crafted websocket request, allowing arbitrary code execution on the device with the privileges of the underlying Android operating system.

Technologies: [Fanvil X7a](https://junglewise.ai/threats/technologies/x7a). Vendors: [Fanvil](https://junglewise.ai/threats/vendors/fanvil).

## Quick answers

**Is CVE-2025-70521 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2025-70521 being exploited in the wild.

**How severe is CVE-2025-70521?** Critical severity, with a CVSS score of 9.8, published 7 October 2026.

**Which products and versions are affected?** Fanvil X7a 2.6.0.1182.

**Is there a fix for CVE-2025-70521?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2025-70521 attacked?** It is attacked over the network, in a network appliance.

**Am I affected by CVE-2025-70521?** Check whether you run Fanvil X7a at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

The management portal's ping tool fails to sanitize user-supplied input in websocket requests, enabling command injection attacks. An unauthenticated remote attacker can craft a request like "1.1.1.1; touch /sdcard/pwn" to execute arbitrary shell commands on the device. This grants full code execution and privilege escalation on the underlying Android OS.

## Affected products

- Fanvil x7a 2.6.0.1182

## Timeline

- 2026-02-27: disclosed
- 2026-10-07: advisory

## References

- [http://download.fanvil.com/Firmware/Release/PA2S/](http://download.fanvil.com/Firmware/Release/PA2S/)
- [https://www.darkpoint.ca/blog/2026/02/27/Fanvil-x7a-PA2S-Vulnerability-Disclosure](https://www.darkpoint.ca/blog/2026/02/27/Fanvil-x7a-PA2S-Vulnerability-Disclosure)

## Related threats

- [Fanvil x7a cross-site request forgery in request handler](https://junglewise.ai/threats/cve-2025-70522-the-request-handler-of-fanvil-x7a-firmware-version-2-6-0-1182)
- [Fanvil x7a websocket authentication bypass](https://junglewise.ai/threats/cve-2025-70520-the-websocket-handler-of-fanvil-x7a-firmware-version-2-6-0-1182)
- [Fanvil x7a cross-site scripting in device log](https://junglewise.ai/threats/cve-2025-70519-the-device-log-component-of-fanvil-x7a-firmware-version-2-6-0)
- [Fanvil x7a command injection in diagnostic ping tool](https://junglewise.ai/threats/cve-2025-70518-the-management-portal-s-diagnostic-ping-tool-of-fanvil-x7a)
- [Fanvil x7a firmware CSRF vulnerability in request handler](https://junglewise.ai/threats/cve-2025-70517-the-request-handler-of-fanvil-x7a-firmware-version-2-6-0-1182)
