Read the docs
TI-2023-13265 Aliases CVE-2023-28754GHSA-3cxh-xp3g-jxjm

ShardingSphere-Agent: Deserialization vulnerability in ShardingSphere Agent

Priority MEDIUM 43CWE-502Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA and GitHub. Impact type from CWE-502.

Summary

Deserialization of Untrusted Data vulnerability in Apache ShardingSphere-Agent, which allows attackers to execute arbitrary code by constructing a special YAML configuration file. The attacker needs to have permission to modify the ShardingSphere Agent YAML configuration file on the target machine, and the target machine can access the URL with the arbitrary code JAR. An attacker can use SnakeYAML to deserialize java.net.URLClassLoader and make it load a JAR from a specified URL, and then deserialize javax.script.ScriptEngineManager to load code using that ClassLoader. When the ShardingSphere JVM process starts and uses the ShardingSphere-Agent, the arbitrary code specified by the attacker will be executed during the deserialization of the YAML configuration file by the Agent. This issue affects ShardingSphere-Agent: through 5.3.2. This vulnerability is fixed in Apache ShardingSphere 5.4.0.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.01458 73rd percentileScored 2026-11-07
Fix Fixed org.apache.shardingsphere:shardingsphere (Maven): 5.4.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
ApacheShardingSphere-Agentup to 5.3.2—No fix listedCNA
—org.apache.shardingsphere:shardingsphere (Maven)before 5.4.05.4.0Patch availableGHSA-3cxh-xp3g-jxjm
  • ShardingSphere-Agent VendorApache Affected up to 5.3.2 Fixed in — No fix listed CNA
  • org.apache.shardingsphere:shardingsphere (Maven) Vendor— Affected before 5.4.0 Fixed in 5.4.0 Patch available GHSA-3cxh-xp3g-jxjm

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:apache:shardingsphere:*:*:*:*:*:*:*:*before 5.4.0VulnerableApache
  • cpe:2.3:a:apache:shardingsphere:*:*:*:*:*:*:*:* Versions before 5.4.0 Vulnerable ·Apache

Remediation

  • Fix · GHSA-3cxh-xp3g-jxjm org.apache.shardingsphere:shardingsphere (Maven) Fixed in 5.4.0 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2023-28754
  2. 2026-10-03 Alias added: GHSA-3cxh-xp3g-jxjm

References

  • TI-2020-01871 Deserialization of untrusted data in Apache ShardingSphere CVSS 3.1CRITICAL 9.8
  • TI-2022-22313 Apache ShardingSphere-Proxy: MySQL authentication bypass CVSS 3.1CRITICAL 9.8

Sources