Skip to main content

sonic-agent CVE-2026-15495

| EUVDEUVD-2026-43217 LOW
OS Command Injection (CWE-78)
2026-07-12 VulDB GHSA-g497-v9rm-7w4w
2.1
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate to WebSocket endpoint
  2. Delivery
    Craft malicious path parameter with shell metacharacters
  3. Exploit
    Submit pullFile request to AndroidWSServer.java
  4. Execution
    Trigger unsanitized OS command execution
  5. Impact
    Execute 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 path parameter containing shell metacharacters - for example, appending '; id > /tmp/pwned' to a valid path string. AndroidWSServer.java passes this unsanitized value directly into an OS command invocation, executing the injected payload in the context of the user running the sonic-agent process. A freely available Python PoC script (poc_pullfile_rce.py on GitHub) automates this attack, reducing the skill bar for exploitation.

Monitor Track and reassess. Why: Vendor states no customer action required.
No patch listed yet 1.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

sonic-agent 2.7.2
sonic-agent 2.7.1
sonic-agent 2.7.0

Affected Packages

euvd sonic_agent no fix

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

Vendor (VulDB) PRIMARY 2.1 MEDIUM
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
vuln.today AI 8.8 HIGH

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.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

3
Severity Changed
Jul 12, 2026 - 11:22 NVD
MEDIUM LOW
CVSS changed
Jul 12, 2026 - 11:22 NVD
5.3 (MEDIUM) 2.1 (LOW)
CVE Published
Jul 12, 2026 - 10:45 cve.org
LOW 2.1

DescriptionCVE.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

EPSS Score
1.5%
Top 28% exploitable
Prevalence
Rare
niche Android device testing agent, limited enterprise footprint
Exploit
POC
Public exploit code exists
Social Media
1
Sightings
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

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.

SignalValue
Severity LOW
CISA KEV No
Public POC Yes
EPSS 1.5%
Patch available No
Active threat No
Deciding rule
Vendor states no customer action required
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: +2
CVSS: +10
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

More in Java

View all
CVE-2012-4681 CRITICAL POC
9.8 Aug 28

Oracle Java SE 7 Update 6 and earlier contains multiple sandbox bypass vulnerabilities via the ClassFinder and forName m

CVE-2015-7450 CRITICAL POC
9.8 Jan 02

Remote code execution in IBM Sterling B2B Integrator, Sterling Integrator, and Tivoli Common Reporting allows unauthenti

CVE-2013-2465 CRITICAL POC
9.8 Jun 18

Java Runtime Environment sandbox bypass via incorrect image channel verification in 2D component allows remote unauthent

CVE-2011-3544 CRITICAL POC
9.8 Oct 19

Oracle Java SE JDK/JRE 7 and 6 Update 27 and earlier allows remote code execution with complete system compromise throug

CVE-2010-1871 HIGH POC
8.8 Aug 05

JBoss Seam 2 in Red Hat JBoss EAP 4.3.0 fails to sanitize JBoss Expression Language inputs, allowing remote attackers to

CVE-2012-1723 CRITICAL POC
9.8 Jun 16

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 update 4 and earlier, 6 up

CVE-2013-0422 CRITICAL POC
9.8 Jan 10

Multiple vulnerabilities in Oracle Java 7 before Update 11 allow remote attackers to execute arbitrary code by (1) using

CVE-2012-0507 CRITICAL POC
9.8 Jun 07

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 2 and earlier, 6 Up

CVE-2015-4852 CRITICAL POC
9.8 Nov 18

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

CVE-2012-5076 CRITICAL POC
9.8 Oct 16

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 7 and earlier allow

CVE-2017-3066 CRITICAL POC
9.8 Apr 27

Remote unauthenticated attackers can execute arbitrary code on Adobe ColdFusion servers through Java deserialization fla

CVE-2012-0391 CRITICAL POC
9.8 Jan 08

The ExceptionDelegator component in Apache Struts before 2.2.3.1 interprets parameter values as OGNL expressions during

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy