CVE-2021-21865 in Codesys Development System and 1 more product
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.
Affects 2 products from 2 vendors. Description from NVD and MITRE.
Requires local access, low complexity, no authentication required, requires user interaction, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Codesys | Development System | 3.5.16.0 3.5.17.0 |
| Schneider-Electric | EcoStruxure Machine Expert | < 2.0.3 |
Fix and vendor advisory
- Schneider Electric Eurotherm E+PLC tools version 1.3.0.1 and prior: Version V1.4.0.0 of the E+PLC Tools software is available and includes a fix for these vulnerabilities. Access to the patch can be obtained through the Eurotherm support team
Source: SEVD-2022-011-06
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Record details
| CVE ID | CVE-2021-21865 |
|---|---|
| BreachSpider ID | BS-2021-GLOBAL-241436-H |
| CVSS vector | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| Published | 2021-08-02 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Compensating controls AI-drafted, review before use
Implement strict file access controls and monitor for unusual file operations involving the PackageManagement.plugin. Ensure that only trusted files are executed within the development environment.
NERC CIP: CIP-007 CIP-007-R2
IEC 62443: SR 7.6
Not validated for your network. A compensating control does not replace the vendor fix.
Check devices from your own code or AI agent: free 14-day trial
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.