Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain low-privilege sonic-agent credentials
-
DeliverySubmit crafted Groovy script to evalIsFailed endpoint
-
ExploitUnsandboxed Groovy runtime evaluates OS command payload
-
ExecutionArbitrary commands execute under sonic-agent process context
-
ImpactHost system compromised
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 a valid low-privilege account on the sonic-agent instance - unauthenticated exploitation is not confirmed by the CVSS PR:L metric. The attacker must be able to submit input to the evalIsFailed function within the Groovy Script Handler component, meaning access to the script submission or test configuration API is required. The critical enabling condition is that Groovy script execution is not sandboxed - this is a design characteristic of the affected versions, not a configurable setting. Exploitation is limited to deployments running sonic-agent version 2.7.2 or earlier; later or separately maintained forks are not covered by available data. Network reachability to the sonic-agent service port is required (AV:N). No user interaction is needed beyond the attacker's own authenticated session. |
| Impact | CRITICAL DISCREPANCY: The reported CVSS 4.0 score of 2.1 with impact metrics VC:L/VI:L/VA:L is almost certainly a significant understatement for this class of vulnerability. OS command injection via unsandboxed Groovy execution - as confirmed by the POC title - should yield full host compromise, not low-impact partial access. This score should not be trusted for triage decisions. Treating the CVSS impact metrics at face value would be a serious error. Real-world risk signals include: (1) a publicly available POC on GitHub with explicit RCE framing, (2) PR:L in the CVSS 4.0 vector confirms only low privileges are needed - not unauthenticated, but a low-privilege account suffices, (3) the product is end-of-life with vendor non-response, meaning no patch will be issued. EPSS data was not provided, limiting probabilistic exploitation forecasting. KEV status is negative at time of analysis. Despite the anomalously low reported score, teams running this software should treat the actual risk as HIGH based on the CWE-78 class and unsandboxed Groovy execution evidence from the POC. |
| Exploit ScenarioDerived | An attacker with a low-privilege account on the sonic-agent platform submits a crafted test script payload targeting the evalIsFailed evaluation path, embedding OS commands (e.g., reverse shell invocations or data exfiltration commands) within the Groovy script body. Because the Groovy runtime operates without a sandbox, the injected commands execute directly on the host OS under the sonic-agent process identity. A public POC is available at the referenced GitHub repository, lowering the barrier for exploitation to near-zero for any authenticated user. |
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 up to version 2.7.2 allows remote low-privileged attackers to execute arbitrary system commands via the evalIsFailed function in the Groovy Script Handler component. The public proof-of-concept - titled 'Unsandboxed_RCE' - confirms that Groovy scripts are executed without a security sandbox, enabling full host-level command execution. Critically, this is an end-of-life product with no vendor response and no patch, meaning no fix is forthcoming; no public exploit identified in CISA KEV at time of analysis, but a public POC exists.
RemediationAI
No vendor-released patch is available and none is expected, as the vendor did not respond to disclosure and the product is end-of-life. The primary remediation is migration away from sonic-agent 2.7.2 or earlier to an actively maintained alternative. For teams unable to migrate immediately, compensating controls should include: restricting network access to the sonic-agent API surface via firewall rules or VPN so that only trusted internal hosts can reach the service (this reduces AV:N to AV:L in practice); enforcing strict least-privilege access so that the low-privilege accounts capable of submitting Groovy scripts are limited to verified automation users; and disabling or blocking the Groovy script evaluation endpoint entirely if the evalIsFailed functionality is not operationally required. Note that disabling the Groovy handler may impact test result evaluation pipelines. Reference the POC at https://github.com/xpp3901/CVE_APPLY/tree/main/V-S002_SonicCloudPlatform_Groovy_Unsandboxed_RCE and VulDB advisory https://vuldb.com/vuln/377803 for technical details to inform isolation decisions.
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 test automation agent component of the SonicCloudOrg platform. The vulnerability resides in the evalIsFailed function within GroovyScriptImpl.java (org.cloud.sonic.agent.tests.script package), which evaluates Groovy scripts as part of test result logic. Groovy, a JVM-compatible scripting language, provides access to Java runtime internals and OS-level APIs (e.g., Runtime.exec(), ProcessBuilder). CWE-78 (Improper Neutralization of Special Elements used in an OS Command) applies: unsanitized user-controlled input is passed into a Groovy evaluation context that has direct shell execution capability. The CPE cpe:2.3:a:soniccloudorg:sonic-agent:*:*:*:*:*:*:*:* covers all versions through 2.7.2. The POC repository name ('Unsandboxed_RCE') confirms the Groovy engine runs without a SecurityManager or sandboxing constraints, making script-level injection equivalent to direct OS code execution.
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
PR:L per CVSS 4.0 data; S:C and C/I/A:H reflect unsandboxed Groovy RCE enabling full host OS command execution beyond the application scope.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
2DescriptionCVE.org
A vulnerability was found in SonicCloudOrg sonic-agent up to 2.7.2. The impacted element is the function evalIsFailed of the file sonic-agent/src/main/java/org/cloud/sonic/agent/tests/script/GroovyScriptImpl.java of the component Groovy Script Handler. The manipulation results in os command injection. The attack can be launched remotely. The exploit has been made public and could 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-43218
GHSA-4896-cr5v-422q
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB