Security Advisory

CVE-2021-41057: CodeMeter Symlink Overwrite in Festo Tools

Last updated:
  • CVE-2021-41057

CVE-2021-41057 is a local flaw in Wibu CodeMeter Runtime for Windows before 7.30a: a user with a basic account can create a crafted CmDongles symbolic link so that CodeMeter overwrites the linked file without checking permissions, which can break the system. NVD scores it 7.1. Festo ships the runtime with FluidDraw, CIROS and MES PCs; the fix is CodeMeter 7.30a or later.

Need to know whether your firmware ships an affected version? Get a firmware scan report or contact us.

How severe is CVE-2021-41057?

CVSS base score

7.1

High severity

EPSS score (FIRST)

0.3%

Probability of exploitation in the wild in the next 30 days

CISA KEV catalog

No

Not listed

Published

Vulnerability ID: CVE-2021-41057 · 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.

Which products and versions does CVE-2021-41057 affect?

ComponentCPEVersion range
Wibu-Systems CodeMeter Runtime for Windowscpe:2.3:a:wibu:codemeter_runtime:*:*:*:*:*:*:*:*Before 7.30a; fixed in 7.30a (WIBU-210910-01, NVD)
Festo FluidDraw P5 and FluidDraw P6—FluidDraw P5 all versions; FluidDraw P6 before 6.2c; FluidDraw 6.2c package or separately installed current CodeMeter (FSA-202206 / VDE-2022-038)
Festo CIROS and MES PC (MES4)—CIROS 6.4.6 and earlier, 7.0.6 and earlier (installers before 2022-09-15); MES PCs shipped before December 2022; CodeMeter Runtime 7.30a or later (FSA-202206)

What does CVE-2021-41057 mean for affected devices?

The CVE record, assigned by MITRE and published on 2021-11-14, reads: "In WIBU CodeMeter Runtime before 7.30a, creating a crafted CmDongles symbolic link will overwrite the linked file without checking permissions." NVD's Primary score is CVSS v3.1 7.1 (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H), with a CVSS v2 3.6 alongside, and NVD maps it to CWE-59, improper link resolution before file access. The CVE record carries no CNA score (NVD, CVE.org record).

What does Wibu say?

Wibu-Systems advisory WIBU-210910-01 (version 1.2 of 2021-10-04) titles it "CodeMeter Runtime for Windows: Denial of Service (DoS)". A local user with a basic account who sets up a link to a special system file used with CmDongles can get essential system files overwritten. Wibu gives the same 7.1 score and vector as NVD but classifies the weakness as CWE-269, improper privilege management. All Windows versions of CodeMeter Runtime before 7.30a are affected; 7.30a is fixed. Mobile use of CodeMeter Runtime is not affected, because there it runs in user space rather than as a Windows service. Until the update is in place, Wibu recommends restricting unprivileged access to machines running the CodeMeter License Server, and, where no CmDongles are connected or they are configured as HID devices, disabling the "Mass Storage" container type in the CodeMeter registry settings and restarting CodeMeter. Wibu credits Jokūbas Arsoba.

NVD's CPE configuration lists CodeMeter Runtime before 7.30a on Windows and several Siemens products, citing Siemens advisory SSA-580693.

Which Festo products ship the vulnerable CodeMeter?

Festo advisory FSA-202206, published by CERT@VDE as VDE-2022-038 on 2022-12-13 and revised on 2025-10-01 (CSAF), scores the CVE 7.1 and lists:

Festo product Affected Remedy
FluidDraw P5 all versions install a current CodeMeter from Wibu instead of the bundled one
FluidDraw P6 before 6.2c FluidDraw 6.2c installation package
CIROS 6.4.6 and earlier, 7.0.6 and earlier, installers before 2022-09-15 new installer from the Festo Didactic portal; existing installations: CodeMeter 7.30a or later
MES PC (MES4 preinstalled) PCs shipped before December 2022 CodeMeter Runtime 7.30a or later

For FluidDraw packages below 6.2c, Festo says to skip the bundled CodeMeter step during installation, install a current CodeMeter from the Wibu website, and update any CodeMeter already installed. Festo also asks owners to restrict unprivileged access to machines that run Festo software.

What should asset owners do?

This is a local flaw on engineering and training PCs, not on controllers: an attacker needs a user account on the Windows machine. Check the CodeMeter Runtime version on every PC with FluidDraw, CIROS or MES4, since updating FluidDraw alone does not replace a CodeMeter installed earlier, and move to 7.30a or later. The Festo CECC and CPX-CEC guide lists the CodeMeter flaws among Festo's engineering tools, and the KEV and EPSS prioritization guide explains how to rank a local flaw like this against the network-reachable ones. A network-side CodeMeter flaw on an industrial PC tool is CVE-2021-20093, a buffer over-read in the CodeMeter network server.

CVE-2021-41057 is not in the CISA KEV catalog as of 2026-12-04 (catalog version 2026.12.03, 1,811 entries). FIRST EPSS gives it 0.00298, the 24.2nd percentile, in the 2026-12-04 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 do the CVSS, EPSS and KEV signals for CVE-2021-41057 compare?

CVE-2021-41057 signals as recorded on this page, last checked .
SignalValue for CVE-2021-41057SourceWhat it tells you
CVSS base score7.1 (High)NVDHow severe the flaw is in its worst case, from 0.0 to 10.0; it says nothing about whether anyone is exploiting it.
EPSS probability0.3%FIRST EPSSThe probability that the CVE is exploited in the wild in the next 30 days.
CISA KEV listingNot listed as of 2026-12-04CISA KEV catalogA listing means CISA has reliable evidence of exploitation in the wild; BOD 22-01 sets a remediation due date for US federal civilian agencies.
Published2021-11-14NVDThe date the CVE record was first published in NVD.

How does the CVE-2021-41057 score change on your network?

A CVSS base score assumes the worst-case exposure. If the vulnerable interface on your device is reachable only from a local segment, or an attacker needs an account first, change those metrics below to see the re-scored base value. The FIRST CVSS v3.1 specification puts deployment-specific scoring in the Environmental metric group, so treat this as a quick what-if, not a replacement score.

Starting vector (matches the CVSS score above): CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H

Quoted vector: 7.1 (High)

Your re-score: 7.1 (High)

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H

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.

How do you check CVE-2021-41057 status from the command line?

These commands re-read the three public signals for CVE-2021-41057 (NVD, FIRST EPSS and the CISA KEV feed) so a build pipeline or a ticket can record the current values. They need curl and jq.

# NVD: CVSS metrics and record status (no API key: at most 5 requests per 30 s)
curl -s "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2021-41057" \
  | jq '.vulnerabilities[0].cve | {vulnStatus, metrics}'

# FIRST EPSS: today's exploitation probability and percentile
curl -s "https://api.first.org/data/v1/epss?cve=CVE-2021-41057" | jq '.data[0]'

# CISA KEV: prints the catalog entry, or nothing if the CVE is not listed
curl -s https://www.cisa.gov/sites/default/files/feeds/known_exploited_vulnerabilities.json \
  | jq --arg id CVE-2021-41057 '.vulnerabilities[] | select(.cveID == $id)'

Which sources back each CVE-2021-41057 claim?

  • NVD (read 2026-12-04): status Modified; published 2021-11-14; NVD Primary CVSS v3.1 7.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H and v2 3.6; CWE-59; CPE codemeter_runtime before 7.30a on Windows plus Siemens products, reference SSA-580693. — NVD
  • CVE record (checked 2026-12-04): state PUBLISHED, CNA mitre, published 2021-11-14, no CNA metric. — CVE.org
  • Wibu WIBU-210910-01 v1.2 (2021-10-04): CodeMeter Runtime for Windows DoS, CVSS v3.1 7.1, CWE-269; all Windows versions affected, fixed 7.30a; mobile use not affected; mitigations: restrict unprivileged access, disable Mass Storage container type; credit Jokūbas Arsoba. — Wibu WIBU-210910-01
  • Festo FSA-202206 / VDE-2022-038 (2022-12-13, rev 2025-10-01): CVSS 7.1; FluidDraw P5 all, FluidDraw P6 <6.2c, CIROS <=6.4.6 and <=7.0.6 (before 2022-09-15), MES PC all; remediation per product. — CERT@VDE VDE-2022-038
  • Festo FSA-202206 CSAF: product status and remediation text for FluidDraw, CIROS and MES PC. — Festo FSA-202206 CSAF
  • Not in the CISA KEV catalog, catalog version 2026.12.03, 1,811 entries, checked 2026-12-04. — CISA KEV
  • EPSS 0.00298, percentile 0.24170, dataset 2026-12-04, read 2026-12-04. — FIRST EPSS

Is your firmware affected by CVE-2021-41057?

Advisories in the same weakness class as CVE-2021-41057

Sources for CVE-2021-41057

  1. NVD
  2. Wibu-Systems WIBU-210910-01: CodeMeter Runtime for Windows
  3. CERT@VDE VDE-2022-038 (Festo FSA-202206): CodeMeter Runtime in Festo products
  4. Festo CSAF FSA-202206
  5. CVE.org record CVE-2021-41057 (CNA: MITRE)
  6. CISA KEV
  7. FIRST EPSS

CVE-2021-41057: frequently asked questions

Which CodeMeter version fixes CVE-2021-41057?

CodeMeter Runtime 7.30a for Windows, according to Wibu advisory WIBU-210910-01. Mobile use of CodeMeter Runtime is not affected.

Which Festo products are affected?

FluidDraw P5 (all versions), FluidDraw P6 before 6.2c, CIROS 6.4.6 and 7.0.6 and earlier from installers downloaded before 2022-09-15, and MES PCs with MES4 shipped before December 2022, according to FSA-202206 (VDE-2022-038).

Can it be exploited over the network?

No. The vector is local (AV:L) and needs a low-privileged account on the Windows machine. Wibu and Festo both advise restricting unprivileged access to machines that run CodeMeter.

Is CVE-2021-41057 in the CISA KEV catalog?

No, not as of 2026-12-04 (catalog version 2026.12.03, 1,811 entries). FIRST EPSS rates it 0.00298 (24.2nd percentile) in the 2026-12-04 dataset.