Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to WebSocket endpoint
-
DeliveryCraft malicious path parameter with shell metacharacters
-
ExploitSubmit pullFile request to AndroidWSServer.java
-
ExecutionTrigger unsanitized OS command execution
-
ImpactExecute arbitrary commands in agent process context
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK
2 techniques across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires three concrete conditions: (1) network reachability to the TCP port on which the sonic-agent Android WebSocket Server is listening - the CVSS AV:N metric confirms this is a network-level attack, not local-only; (2) low-privilege authenticated access to the WebSocket endpoint, as indicated by the CVSS PR:L metric - unauthenticated exploitation is not supported by the available vector data; (3) the sonic-agent service must be actively running with the Android WebSocket Server component enabled, which is a standard operational mode for the product. Exploitation is bounded to versions up to 2.7.2 - no later patched version exists. The injection specifically triggers during file retrieval (pullFile) operations, meaning the attacker must be able to invoke this feature through the WebSocket interface. The OS-level impact is constrained by the privileges of the user account running the sonic-agent process - if run as root or a privileged account, full host compromise is realistic; if run as a low-privilege service account, impact may be more limited. |
| Impact | The official CVSS 4.0 score of 2.1 with impact metrics VC:L/VI:L/VA:L is significantly more conservative than expected for a CWE-78 OS command injection - a vulnerability class that typically affords arbitrary code execution and full host compromise. This discrepancy is a data conflict that must be flagged: the low impact ratings (L/L/L) conflict with the intuitive expectation that shell injection in a network-accessible Java service yields C:H/I:H/A:H. The official scorer may have constrained the rating to the specific demonstrated PoC impact (file pull operations) rather than the theoretical maximum of the injection primitive, or the agent may run under a heavily restricted OS user account. EPSS data was not provided in the source intelligence. No CISA KEV listing is present. However, publicly available exploit code exists (confirmed GitHub PoC script poc_pullfile_rce.py), which substantially elevates real-world exploitation probability beyond what the 2.1 score implies. The product is explicitly end-of-life with an unresponsive vendor, meaning no patch path exists - a critical risk multiplier for any organization still running this software. Real-world priority for active deployments should be treated as HIGH despite the low official CVSS score, due to POC availability, zero remediation path, and CWE-78 severity class. |
| Exploit ScenarioDerived | An attacker with low-privilege authenticated access to the sonic-agent WebSocket endpoint submits a file-pull request with a |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 12, 2026
OS command injection in SonicCloudOrg sonic-agent (all versions up to 2.7.2) enables remote code execution through the Android WebSocket Server component. An authenticated remote attacker can manipulate the path argument in AndroidWSServer.java to inject arbitrary OS commands on the host running the agent. Publicly available exploit code exists (GitHub PoC by xpp3901), no vendor patch will be issued as the product is end-of-life, and the vendor is unresponsive to disclosure - creating a permanent, unmitigable risk for any active deployment.
RemediationAI
No vendor-released patch exists - sonic-agent is end-of-life and the vendor did not respond to disclosure. Organizations running any version of sonic-agent through 2.7.2 should apply the following compensating controls in priority order: first, disable the Android WebSocket Server entirely if not operationally required - eliminating the service removes the attack surface completely, with the trade-off of losing Android device management functionality; second, restrict network access to the WebSocket port using host firewall rules or network ACLs to allow only explicitly trusted IP addresses, which limits the AV:N vector to a controlled network segment but does not eliminate the vulnerability if an attacker is within the allowed range; third, if the agent must remain running, deploy it behind an authenticated reverse proxy enforcing stronger access controls than the built-in low-privilege mechanism, adding operational overhead but reducing unauthenticated exposure; and fourth, plan migration to a maintained Android device testing framework, as running unsupported software with a public PoC and no remediation path represents sustained, unmitigable organizational risk. The PoC at https://github.com/xpp3901/CVE_APPLY/tree/main/V-S003_SonicAgent_pullFile_CmdInjection_RCE can inform internal testing to confirm exposure.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
sonic-agent is a Java-based mobile device management and testing agent developed by SonicCloudOrg, designed to facilitate Android device operations over WebSocket connections. The vulnerable component, AndroidWSServer.java, implements an Android WebSocket Server that processes client requests including file retrieval operations. The path parameter supplied by clients is not sanitized before incorporation into an OS-level command invocation, producing a classic OS Command Injection (CWE-78) flaw - the most direct form of this root cause class, where attacker-controlled data is concatenated into a shell command string. An attacker appending shell metacharacters (semicolons, backticks, pipe characters) to the path argument can break out of the intended command context and execute arbitrary system commands in the OS user context of the sonic-agent process. The CPE identifier cpe:2.3:a:soniccloudorg:sonic-agent:*:*:*:*:*:*:*:* covers all versions through 2.7.2. The GitHub PoC repository name ('pullFile_CmdInjection_RCE') identifies the pullFile feature as the specific attack surface.
Know when Java gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Network-accessible WebSocket requires PR:L per CVSS vector; CWE-78 OS command injection on a server host realistically yields full system access, warranting C:H/I:H/A:H.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
3DescriptionCVE.org
A vulnerability has been found in SonicCloudOrg sonic-agent up to 2.7.2. The affected element is an unknown function of the file AndroidWSServer.java of the component Android WebSocket Server. The manipulation of the argument path leads to os command injection. The attack can be initiated remotely. The exploit has been disclosed to the public and may be used. The vendor was contacted early about this disclosure but did not respond in any way. This vulnerability only affects products that are no longer supported by the maintainer.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
Oracle Java SE 7 Update 6 and earlier contains multiple sandbox bypass vulnerabilities via the ClassFinder and forName m
Remote code execution in IBM Sterling B2B Integrator, Sterling Integrator, and Tivoli Common Reporting allows unauthenti
Java Runtime Environment sandbox bypass via incorrect image channel verification in 2D component allows remote unauthent
Oracle Java SE JDK/JRE 7 and 6 Update 27 and earlier allows remote code execution with complete system compromise throug
JBoss Seam 2 in Red Hat JBoss EAP 4.3.0 fails to sanitize JBoss Expression Language inputs, allowing remote attackers to
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 update 4 and earlier, 6 up
Multiple vulnerabilities in Oracle Java 7 before Update 11 allow remote attackers to execute arbitrary code by (1) using
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 2 and earlier, 6 Up
The WLS Security component in Oracle WebLogic Server 10.3.6.0, 12.1.2.0, 12.1.3.0, and 12.2.1.0 allows remote attackers
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 7 and earlier allow
Remote unauthenticated attackers can execute arbitrary code on Adobe ColdFusion servers through Java deserialization fla
The ExceptionDelegator component in Apache Struts before 2.2.3.1 interprets parameter values as OGNL expressions during
EUVD-2026-43217
GHSA-g497-v9rm-7w4w
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB