CVE-2026-15496 Details
Description
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.
A vulnerability allowing OS command injection has been identified in SonicCloudOrg sonic-agent versions through 2.7.2. The issue arises in the Groovy Script Handler component, specifically within the evalIsFailed function of the GroovyScriptImpl.java file. This vulnerability allows remote execution of arbitrary OS commands on the agent host, where the agent process typically runs as root, especially in default Docker deployments. The vulnerability exists because the application executes user-supplied Groovy scripts without any security restrictions, such as sandboxing or a secure AST customizer, creating an environment where malicious code can be executed with high privileges.
To address this vulnerability, replace 'GroovyShell' with a sandboxed evaluator that uses 'CompilerConfiguration' with 'SecureASTCustomizer' to allow only safe AST node types. Additionally, run the sonic-agent as a non-root user in the Docker container. For high priority, execute Groovy scripts in an isolated subprocess with restricted filesystem and network access, using tools like gVisor or Firecracker. Medium priority actions include static analysis of script content to reject harmful patterns and auditing all 'runScript' executions with the author's identity and script details.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jul 12, 2026CISA-ADP
Assessed Jul 13, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/xpp3901/CVE_APPLY/tree/main/V-S002_SonicCloudPlatform_Groovy_Unsandboxed_RCE | [email protected] | BundleExploitRemedy |
| https://vuldb.com/cve/CVE-2026-15496 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/submit/844485 | [email protected] | Issue TrackingPermission Required |
| https://vuldb.com/vuln/377803 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/vuln/377803/cti | [email protected] | Content Wall |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-77 | Improper Neutralization of Special Elements used in a Command ('Command Injection') | [email protected] |
| CWE-78 | Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| SonicCloudOrg sonic-agent | <= 2.7.2 (semver) |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 25, 2026 | CVE Translated | [email protected] |
| Jul 13, 2026 | CVE Modified | CISA-ADP |
| Jul 12, 2026 | New CVE Received | [email protected] |
Volerion