# CVE-2023-28754: ShardingSphere-Agent: Deserialization vulnerability in ShardingSphere Agent

- Severity: High 8.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.46%, higher than 74% of CVEs (2026-12-01)
- Published: 2023-07-19T07:15:31.262Z
- Modified: 2026-06-17T05:48:41.713Z
- Also known as: GHSA-3cxh-xp3g-jxjm
- Weaknesses: CWE-502
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: apache

## Description

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.

(As written by CVE List.)

## Affected

- Apache Software Foundation ShardingSphere-Agent: up to 5.3.2
- apache shardingsphere: up to 5.3.2; before 5.4.0
- org.apache.shardingsphere:shardingsphere (Maven): before 5.4.0

## Every score

- CISA-ADP: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://lists.apache.org/thread/p8onhqox5kkwow9lc6gs03z28wtyp1cg> (mailing-list, vendor-advisory, web)
- <http://www.openwall.com/lists/oss-security/2023/07/19/3> (mailing-list, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-28754> (advisory)
- <https://github.com/apache/shardingsphere> (package)

## Sources

- CVE List: [CVE-2023-28754](https://www.cve.org/CVERecord?id=CVE-2023-28754), CVE Terms of Use, modified 2025-02-13
- GitHub Advisory Database: [GHSA-3cxh-xp3g-jxjm](https://github.com/advisories/GHSA-3cxh-xp3g-jxjm), CC-BY-4.0, modified 2024-02-16
- NVD: [CVE-2023-28754](https://nvd.nist.gov/vuln/detail/CVE-2023-28754), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-28754 · Whole record: https://cve.day/CVE-2023-28754.json · Rebuilt by cve.day 2026-11-25T22:58:26.021Z
