Vulnerability in Openplc
CVE-2026-14480
OpenPLC Runtime v3 contains an authenticated arbitrary file write vulnerability in the legacy web UI program‑upload workflow. The application stores an attacker‑supplied filename (prog_file) directly into the Programs.File database field and later uses this value as the destination path for an uploaded file without validating or restricting the path. Because Python os.path.join() honors attacker‑controlled absolute paths, an authenticated user can write arbitrary files anywhere writable by the OpenPLC webserver process. In the default build pipeline, all C++ source files within the OpenPLC runtime core directory are automatically compiled into the executable runtime binary. By writing a malicious .cpp file into this directory, an authenticated attacker can escalate the arbitrary file write into arbitrary native code execution when the operator triggers a normal program compilation and runtime start.
EPSS: 0.006 (46.8th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 9.9 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H.
Affected products
- Openplc — versions v3, v4
Weakness classification (CWE)
References
Frequently asked questions
- What is CVE-2026-14480?
- CVE-2026-14480 is a critical-severity vulnerability in Openplc, classified under External Control of File Name or Path. CVSS score: 9.9/10. Published 2026-07-10.
- How severe is CVE-2026-14480?
- Critical severity. CVSS v3 base score is 9.9 out of 10.