# CVE-2021-21865: A unsafe deserialization vulnerability exists in the PackageManagement.plugin ExtensionMethods.Clone() functionality of CODESYS GmbH CODESY…

- Severity: High 8.8 (CVSS:3.0, scored by talos) `CVSS:3.0/AV:N/AC:L/PR:N/UI:R/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.39%, higher than 73% of CVEs (2026-12-01)
- Published: 2021-08-02T20:33:52.000Z
- Modified: 2026-06-17T03:36:15.620Z
- Weaknesses: CWE-502
- Assigned by: talos

## Description

A unsafe deserialization vulnerability exists in the PackageManagement.plugin ExtensionMethods.Clone() functionality of CODESYS GmbH CODESYS Development System 3.5.16. A specially crafted file can lead to arbitrary command execution. An attacker can provide a malicious file to trigger this vulnerability.

(As written by CVE List.)

## Affected

- CODESYS: CODESYS GmbH CODESYS Development System 3.5.16
- codesys development_system: 3.5.16.0; 3.5.17.0

## Every score

- talos: CVSS:3.0 8.8 High `CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.8 Medium `AV:N/AC:M/Au:N/C:P/I:P/A:P`

## References

- <https://talosintelligence.com/vulnerability_reports/TALOS-2021-1301> (not-applicable, third-party-advisory)
- <https://customers.codesys.com/index.php?eID=dumpFile&t=f&f=16805&token=ee583c498941d9fda86490bca98ff21928eec08a&download=> (mitigation, patch, vendor-advisory)

## Sources

- CVE List: [CVE-2021-21865](https://www.cve.org/CVERecord?id=CVE-2021-21865), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-21865](https://nvd.nist.gov/vuln/detail/CVE-2021-21865), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-21865 · Whole record: https://cve.day/CVE-2021-21865.json · Rebuilt by cve.day 2026-11-25T22:58:02.936Z
