# Codesys Runtime Improper Limitation of a Pathname

CVE record · `CVE-2018-25048`

- **Identifiers:** `CVE-2018-25048`
- **State:** Confirmed
- **Severity:** CVSS 8.8 High
- **Critical:** No
- **CNA:** CERTVDE
- **Weakness (CWE):** [CWE-22](https://cwe.mitre.org/data/definitions/22.html)
- **Tags:** [Path traversal](https://agentprime.io/advisories/tag/path-traversal.md)
- **Technologies:** [CODESYS Control for BeagleBone](https://agentprime.io/advisories/technology/codesys-control-for-beaglebone.md) · [CODESYS Control for emPC-A/iMX6](https://agentprime.io/advisories/technology/codesys-control-for-empc-a-imx6.md) · [CODESYS Control for IOT2000](https://agentprime.io/advisories/technology/codesys-control-for-iot2000.md) · [CODESYS Control for PFC100](https://agentprime.io/advisories/technology/codesys-control-for-pfc100.md) · [CODESYS Control for PFC200](https://agentprime.io/advisories/technology/codesys-control-for-pfc200.md) · [CODESYS Control for Raspberry Pi](https://agentprime.io/advisories/technology/codesys-control-for-raspberry-pi.md) · [CODESYS Control RTE V3 (all variants)](https://agentprime.io/advisories/technology/codesys-control-rte-v3-all-variants.md) · [CODESYS Control Win V3 (all variants)](https://agentprime.io/advisories/technology/codesys-control-win-v3-all-variants.md) · [V3 Simulation Runtime (part of the CODESYS Development System)](https://agentprime.io/advisories/technology/v3-simulation-runtime-part-of-the-codesys-development-system.md) · [CODESYS HMI V3 (all variants)](https://agentprime.io/advisories/technology/codesys-hmi-v3-all-variants.md) · [CODESYS V3 Remote Target Visu (all variants)](https://agentprime.io/advisories/technology/codesys-v3-remote-target-visu-all-variants.md) · [CODESYS Control V3 Runtime System Toolkit](https://agentprime.io/advisories/technology/codesys-control-v3-runtime-system-toolkit.md) · [CODESYS V3 Embedded Target Visu Toolkit](https://agentprime.io/advisories/technology/codesys-v3-embedded-target-visu-toolkit.md) · [CODESYS V3 Remote Target Visu Toolkit](https://agentprime.io/advisories/technology/codesys-v3-remote-target-visu-toolkit.md) · [CODESYS Runtime Toolkit 32 bit embedded](https://agentprime.io/advisories/technology/codesys-runtime-toolkit-32-bit-embedded.md) · [CODESYS Runtime Toolkit 32 bit full](https://agentprime.io/advisories/technology/codesys-runtime-toolkit-32-bit-full.md) · [CODESYS Runtime PLCWinNT](https://agentprime.io/advisories/technology/codesys-runtime-plcwinnt.md)
- **Published:** 23 Mar 2023
- **Updated:** 19 Feb 2025
- **Reviewed by a person:** No

Published by the CVE Program (CNA: CERTVDE) at 23 Mar 2023, 10:45 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: CODESYS. Product: Control for BeagleBone.
  - affected: `3.0.0.0 to before 3.5.12.30` (custom)
  - Other versions: unaffected
- Vendor: CODESYS. Product: Control for emPC-A/iMX6.
  - affected: `3.0.0.0 to before 3.5.12.30` (custom)
  - Other versions: unaffected
- Vendor: CODESYS. Product: Control for IOT2000.
  - affected: `3.0.0.0 to before 3.5.12.30` (custom)
  - Other versions: unaffected
- Vendor: CODESYS. Product: Control for PFC100.
  - affected: `3.0.0.0 to before 3.5.12.30` (custom)
  - Other versions: unaffected
- Vendor: CODESYS. Product: Control for PFC200.
  - affected: `3.0.0.0 to before 3.5.12.30` (custom)
  - Other versions: unaffected
- Vendor: CODESYS. Product: Control for Raspberry Pi.
  - affected: `3.0.0.0 to before 3.5.12.30` (custom)
  - Other versions: unaffected
- Vendor: CODESYS. Product: Control RTE V3 (all variants).
  - affected: `3.0.0.0 to before 3.5.12.30` (custom)
  - Other versions: unaffected
- Vendor: CODESYS. Product: Control Win V3 (all variants).
  - affected: `3.0.0.0 to before 3.5.12.30` (custom)
  - Other versions: unaffected
- Vendor: CODESYS. Product: V3 Simulation Runtime (part of the CODESYS Development System).
  - affected: `3.0.0.0 to before 3.5.12.30` (custom)
  - Other versions: unaffected
- Vendor: CODESYS. Product: HMI V3 (all variants).
  - affected: `3.0.0.0 to before 3.5.12.30` (custom)
  - Other versions: unaffected
- Vendor: CODESYS. Product: V3 Remote Target Visu (all variants).
  - affected: `3.0.0.0 to before 3.5.12.30` (custom)
  - Other versions: unaffected
- Vendor: CODESYS. Product: Control V3 Runtime System Toolkit.
  - affected: `3.0.0.0 to before 3.5.12.30` (custom)
  - Other versions: unaffected
- Vendor: CODESYS. Product: V3 Embedded Target Visu Toolkit.
  - affected: `3.0.0.0 to before 3.5.12.30` (custom)
  - Other versions: unaffected
- Vendor: CODESYS. Product: V3 Remote Target Visu Toolkit.
  - affected: `3.0.0.0 to before 3.5.12.30` (custom)
  - Other versions: unaffected
- Vendor: CODESYS. Product: Runtime Toolkit 32 bit embedded.
  - affected: `2.0.0.0 to before 2.3.2.10` (custom)
  - Other versions: unaffected
- Vendor: CODESYS. Product: Runtime Toolkit 32 bit full.
  - affected: `2.0.0.0 to before 2.4.7.52` (custom)
  - Other versions: unaffected
- Vendor: CODESYS. Product: Runtime PLCWinNT.
  - affected: `2.0.0.0 to before 2.4.7.52` (custom)
  - Other versions: unaffected

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

- 8.8 High, CVSS 3.1: `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`, from CNA (CERTVDE)

- **CISA KEV:** Not listed.
- **EPSS:** 0.010, the 63rd percentile, on 5 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

This record came from the full history of the CVE Program, published 23 Mar 2023. New records show when each source confirmed them.

## Sources

- [CVE List: CVE-2018-25048](https://www.cve.org/CVERecord?id=CVE-2018-25048)
- [NVD: CVE-2018-25048](https://nvd.nist.gov/vuln/detail/CVE-2018-25048)

### References from the CNA

- <https://customers.codesys.com/fileadmin/data/customers/security/2018/Advisory2018-04_CDS-59017.pdf>

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2018-25048>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2018-25048/>. Everything for agents: <https://agentprime.io/llms.txt>.
