Security Advisory

CVE-2012-6068: CODESYS V2 Runtime Unauthenticated Access

Last updated:
  • CVE-2012-6068

CVE-2012-6068 is a missing authentication flaw in the CODESYS V2.3 and V2.4 runtime that runs inside many PLCs: its TCP listener service accepts commands and file transfers from anyone who can reach it, with no login. NVD scores it 10.0 under CVSS v2. 3S released a patch that adds a password and points users to CODESYS V3; Festo left its CECX controllers unfixed.

Vulnerability summary

CVSS base score

10

Critical severity

EPSS score (FIRST)

5.3%

Probability of exploitation in the wild in the next 30 days

CISA KEV catalog

No

Not listed

Published

Vulnerability ID: CVE-2012-6068 · Source: NVD

CVSS v3.1 severity rating scale: None 0.0, Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9, Critical 9.0 to 10.0
How a CVSS v3.1 base score maps to a severity rating. Source: FIRST CVSS v3.1 specification, section 5.

Affected components

ComponentCPEVersion range
3S-Smart Software Solutions CODESYS Control Runtime embedded (V2)cpe:2.3:a:3s-software:codesys_runtime_system:2.3.9.8:*:*:*:*:*:*:*Versions before 2.3.2.8 (CVE record); NVD CPEs 2.3.9.8, 2.3.9.35, 2.3.9.36, 2.3.9.37 and 2.4.0; 3S patch adds password authentication, CODESYS V3 not affected
3S-Smart Software Solutions CODESYS Control Runtime full and CODESYS Control RTE (V2)cpe:2.3:a:3s-software:codesys_runtime_system:2.4.0:*:*:*:*:*:*:*Runtime full before 2.4.7.40, RTE before 2.3.7.17 (CVE record)
Festo CECX-X-C1 Modular Master Controller with CoDeSys and CECX-X-M1 Modular Controller with CoDeSys and SoftMotion—All versions; Festo decided not to resolve the issue, compensating network measures only (CISA ICSA-14-084-01)

What does this mean for affected devices?

NVD's description: "The Runtime Toolkit in CODESYS Runtime System 2.3.x and 2.4.x does not require authentication, which allows remote attackers to execute commands via the command-line interface in the TCP listener service or transfer files via requests to the TCP listener service." NVD's Primary score is CVSS v2 10.0 (AV:N/AC:L/Au:N/C:C/I:C/A:C) with CWE-264; NVD's CPE configuration lists runtime versions 2.3.9.8, 2.3.9.35, 2.3.9.36, 2.3.9.37 and 2.4.0 (NVD). ICS-CERT, the CNA, scores it CVSS v3.1 9.8 (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H) with CWE-284 (Improper Access Control) in the CVE record, which was published on 2013-01-21.

Which CODESYS runtimes and devices are affected?

The CVE record lists CODESYS Control Runtime embedded before 2.3.2.8, Control Runtime full before 2.4.7.40 and Control RTE before 2.3.7.17, and marks CODESYS 3.x as unaffected. CISA first published the issue as ICSA-13-011-01, "3S CoDeSys", on 2013-01-11 for the energy and transportation sectors, per the ICS Advisory Project index. A companion CVE in the same advisory, CVE-2012-6069, covers the file transfer function's missing input validation.

Because CODESYS is licensed to many PLC makers, the device angle sits with each vendor. In ICSA-14-084-01, released 2014-03-25, CISA lists the Festo CECX-X-C1 Modular Master Controller with CoDeSys and the CECX-X-M1 Modular Controller with CoDeSys and SoftMotion, all versions, as affected by CVE-2012-6068 and CVE-2012-6069 together with two Festo-specific CVEs. CISA's CSAF record of that advisory states: "Festo has decided not to resolve these vulnerabilities, placing critical infrastructure asset owners using this product at risk." The same CODESYS V2 runtime later appeared in WAGO controllers as CVE-2018-5459 (port 2455) and CVE-2021-30188.

How do you fix or mitigate CVE-2012-6068?

Per the CVE record, 3S "released a patch which implements a password for authentication to the device", recommends upgrading to CODESYS V3, and advises firewalls or VPN access to keep unauthorised users away from the controller. On a vendor PLC, the patch has to come as that vendor's firmware; ask for the runtime version inside it. For Festo CECX controllers there is no fix, so CISA's compensating measures apply: keep the controllers off the internet, put them behind firewalls separated from the business network, use a VPN for remote access, and monitor the control network with an intrusion detection system. Our CODESYS runtime vulnerabilities guide explains how to find the runtime version on each device, and the authentication bypass fix guide covers the design fix for device makers.

CVE-2012-6068 is not in the CISA KEV catalog as of 2026-11-27 (catalog version 2026.11.25, 1,805 entries). FIRST EPSS gives it 0.05266, the 93rd percentile, in the 2026-11-26 dataset (CISA KEV, FIRST EPSS).

Three signals on every advisory: CVSS says how severe the flaw is, EPSS gives the probability of exploitation in the wild in the next 30 days, and a CISA KEV listing means the flaw has been exploited in the wild
CVSS rates severity, EPSS estimates the likelihood of exploitation, and CISA KEV records exploitation seen in the wild. Source: FIRST EPSS; CISA KEV catalog.
How to fix this class of issueNo dedicated SoftWSP guide covers this weakness class; the fix is usually the vendor patch or firmware update referenced above. Our related guide explains how to plan and verify it: NIST SP 800-40 Rev. 4: enterprise patch management planning, explained.
From advisory to verified fix in four steps: read the advisory, find the affected component in the firmware SBOM, apply the fixed version or vendor mitigation, then re-scan the image to confirm the vulnerable version is gone
Read the advisory, find the component in your firmware SBOM, apply the fix, then re-scan to confirm it.

Evidence

  • NVD: Runtime Toolkit in CODESYS Runtime System 2.3.x and 2.4.x does not require authentication, command execution and file transfer via the TCP listener service; Primary CVSS v2 10.0 AV:N/AC:L/Au:N/C:C/I:C/A:C; CWE-264; ICS-CERT Secondary CVSS v3.1 9.8; CPEs 2.3.9.8, 2.3.9.35-37, 2.4.0; published 2013-01-21. — NVD
  • CVE record (icscert, advisory ICSA-13-011-01): CVSS v3.1 9.8, CWE-284; Control Runtime embedded <2.3.2.8, full <2.4.7.40, RTE <2.3.7.17; Festo CECX-X-C1/M1 all; CoDeSys 3.X unaffected; 3S patch implements password authentication; upgrade to Version 3; firewalls or VPN. — CVE Services (CVE.org record)
  • CISA ICSA-14-084-01 CSAF: Festo CECX-X-C1 and CECX-X-M1, all versions; CVE-2012-6068 CVSS v2 10.0, CWE-284; Festo has decided not to resolve these vulnerabilities; compensating measures (no internet exposure, firewalls, VPN, IDS). — CISA CSAF
  • ICS Advisory Project: ICSA-13-011-01 '3S CoDeSys (Update A)' released 1/11/2013 (energy, transportation systems); ICSA-14-084-01 Festo released 3/25/2014 (critical manufacturing). — ICS Advisory Project
  • CVE-2012-6068 is not in the CISA KEV catalog, version 2026.11.25 (1,805 entries), checked 2026-11-27. — CISA KEV
  • EPSS 0.05266, percentile 0.93325, dataset 2026-11-26. — FIRST EPSS

Related advisories

Sources

  1. NVD
  2. CISA ICSA-13-011-01: 3S CoDeSys
  3. CISA ICSA-14-084-01: Festo CECX-X-(C1/M1) Controller Vulnerabilities
  4. CISA CSAF: icsa-14-084-01.json
  5. ICS Advisory Project: CISA ICS advisory index
  6. CISA KEV
  7. FIRST EPSS

Frequently asked questions

Which CODESYS versions are affected by CVE-2012-6068?

The V2 runtime: Control Runtime embedded before 2.3.2.8, Control Runtime full before 2.4.7.40 and Control RTE before 2.3.7.17. CODESYS 3.x is not affected (per the CVE record; NVD lists 2.3.9.x and 2.4.0 CPEs).

Is there a fix for Festo CECX controllers?

No. CISA reports that Festo decided not to resolve the vulnerabilities in the CECX-X-C1 and CECX-X-M1 controllers, so owners must rely on network isolation, firewalls, VPN access and intrusion detection (per CISA ICSA-14-084-01).

Why do NVD and ICS-CERT show different scores?

NVD's Primary score uses CVSS v2 (10.0). ICS-CERT, the CNA, later added a CVSS v3.1 score of 9.8 with the vector AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. Both rate it critical (per NVD and the CVE record).

Is CVE-2012-6068 in the CISA KEV catalog?

No, not as of 2026-11-27 (catalog version 2026.11.25). FIRST EPSS gives it 0.05266, the 93rd percentile, in the 2026-11-26 dataset, so it ranks above most CVEs for predicted exploitation even without a KEV listing (per CISA KEV and FIRST EPSS).