Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to OpenPLC web UI
-
DeliveryUpload program with absolute prog_file path
-
ExploitWrite malicious .cpp into runtime core dir
-
ExecutionOperator triggers compile and start
-
PersistMalicious C++ compiled into runtime
-
ImpactExecute native code as webserver process
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V5 - File Handling File name/path control
|
| Exploitation Conditions | Requires an authenticated account on the OpenPLC Runtime v3 legacy web UI (PR:L) and use of the program-upload workflow where the prog_file filename is attacker-controlled and passed unvalidated into os.path.join() as an absolute path. Full native code execution additionally requires that the target instance use the default build pipeline (which auto-compiles all .cpp files in the runtime core directory) and that an operator subsequently triggers a normal program compilation and runtime start - a deferred operator action that limits immediacy. The arbitrary file write itself is limited only to locations writable by the webserver process; RCE is further limited by the compile/start trigger and by the credentialed-account requirement. |
| Impact | The supplied CVSS 4.0 base score is 8.7 (AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H), reflecting network reachability, low complexity, and full confidentiality/integrity/availability impact, tempered by the PR:L requirement for an authenticated account. Two mitigating factors matter for prioritization: exploitation requires valid web-UI credentials (PR:L), and full RCE requires an operator to subsequently trigger a normal compile-and-start - a form of deferred operator action not captured by the base UI:N metric. No EPSS score was provided, the CVE is not in CISA KEV, and no POC has been published, so there is no evidence of active or automated exploitation - this is a real, high-impact vulnerability but currently a patch-and-monitor priority rather than an emergency. The dominant risk driver is deployment context: OpenPLC controllers exposed to untrusted networks or shared with low-trust operators are meaningfully at risk given the network vector and low complexity. |
| Exploit ScenarioDerived | An attacker holding a valid (or default/guessable) OpenPLC web-UI account uploads a program while setting the prog_file field to an absolute path targeting the runtime core source directory, planting a malicious .cpp file. When an operator later performs a routine compile-and-start, the attacker's C++ is compiled into the runtime binary and executed with the webserver/runtime process privileges. No public POC has been identified, but the technique is straightforward given the network vector and low attack complexity. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv3 – Jul 10, 2026
Authenticated arbitrary file write in OpenPLC Runtime v3 lets a logged-in user of the legacy web UI escalate to native code execution on the host running the automation controller. The program-upload workflow stores the attacker-supplied prog_file filename in the Programs.File database field and later reuses it unvalidated as a destination path; because Python os.path.join() honors absolute paths, files can be written anywhere the webserver process can write. Reported by ICS-CERT (CISA ICS advisory ICSA-26-190-01); no public exploit identified at time of analysis and it is not listed in CISA KEV.
Earlier versions of this analysis (2)
Authenticated arbitrary file write in OpenPLC Runtime v3's legacy web UI program-upload workflow lets a logged-in user escalate to native code execution on the host. The attacker-controlled prog_file filename is stored in the Programs.File database field and reused as an unvalidated destination path; because Python os.path.join() honors absolute paths, files can be written anywhere the webserver process can write. Dropping a malicious .cpp into the runtime core directory means it is compiled into the runtime binary the next time an operator compiles and starts a program, yielding native code execution. No public exploit identified at time of analysis.
Authenticated arbitrary file write in OpenPLC Runtime v3's legacy web UI program-upload workflow lets a low-privileged logged-in user write files to any location the webserver process can reach, and escalate to native code execution. Because the attacker-supplied prog_file value is stored in the Programs.File field and passed to Python os.path.join() as a destination without path validation, an absolute path overwrites files anywhere writable; dropping a malicious .cpp into the runtime core directory yields arbitrary code execution once an operator compiles and starts the runtime. Rated CVSS 9.9 (scope-changing); no public exploit identified at time of analysis and it is not listed in CISA KEV.
RemediationAI
No vendor-released patch is identified at time of analysis, so consult the CISA ICS advisory (https://www.cisa.gov/news-events/ics-advisories/icsa-26-190-01) and its CSAF file for the fixed release and apply it once published, citing the exact version from that advisory rather than any assumed number. Until then, apply specific compensating controls: restrict web-UI access to trusted operators and replace default/weak credentials so the PR:L barrier is meaningful (trade-off: minimal, this is baseline hygiene); place the OpenPLC web interface behind network segmentation or a VPN and block external access to its HTTP port so the network vector cannot be reached from untrusted networks (trade-off: remote engineers must use the VPN); run the webserver process under a low-privilege account and make the runtime core source directory read-only or owned by a separate build user so the file write cannot reach compilable .cpp locations (trade-off: may require adjusting the compile workflow); and monitor the runtime core directory and Programs upload path for unexpected file creation to detect exploitation attempts.
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
OpenPLC is an open-source Programmable Logic Controller (PLC) software stack used in ICS/OT lab, research, and small automation deployments; the Runtime v3 component is a Python web application that manages control programs and compiles a C++ runtime core into an executable binary. The root cause is CWE-73 (External Control of File Name or Path): the application trusts the client-supplied filename for an uploaded program and passes it to os.path.join() as the write destination. Python's os.path.join() has the well-known property that an absolute path argument discards all preceding path components, so an attacker-controlled absolute path fully overrides the intended upload directory. Because the default OpenPLC build pipeline compiles every .cpp file found in the runtime core source directory into the runtime binary, a file-write primitive into that directory becomes a code-execution primitive the next time the operator compiles and starts a program.
Know when Openplc gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Network-reachable web UI with low complexity but requires an authenticated account (PR:L); arbitrary file write leading to code execution yields high C/I/A with no scope change to a separate system.
Primary rating from Vendor (icscert).
CVSS VectorVendor: icscert
Lifecycle Timeline
4DescriptionCVE.org
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.
Articles & Coverage 1
Executive ViewAI
OpenPLC Runtime v3's web-based management interface contains a critical flaw (CVE-2026-14480, CVSS 8.7) allowing authenticated users to write arbitrary files and achieve unrestricted code execution on industrial automation systems. Unpatched deployments across manufacturing, utilities, or critical infrastructure face elevated risk of system compromise and unauthorized operational changes.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Disable legacy web UI if not operationally required; (2) Restrict network access to web UI via firewall rules to trusted administrative networks only; (3) Audit and revoke unnecessary user accounts with web UI privileges; (4) Implement network segmentation to isolate OpenPLC systems from critical production networks; (5) Deploy host-level logging on OpenPLC runtime to detect unauthorized file write operations.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
EUVD-2026-43116
GHSA-gx73-gv82-355v
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB