OpenPLC v3 External Control of File Name or Path
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
- Fix · CNA OpenPLC (OpenPLC) Fixed in v4
Timeline
- 2026-10-02 Threatist record created from CVE-2026-14480
- 2026-10-03 Alias added: GHSA-gx73-gv82-355v
References
More OpenPLC vulnerabilities
- TI-2021-08453 OpenPLC ScadaBR through 0.9.1 on Linux and through 1.12.4 on Windows allows remote… KEVCVSS 3.1HIGH 8.8
- TI-2021-08454 OpenPLC ScadaBR through 0.9.1 on Linux and through 1.12.4 on Windows allows stored XSS via system_settings.shtm. KEVCVSS 3.1MEDIUM 5.4
- TI-2024-22495 Stack-based buffer overflow in OpenPLC_v3 CVSS 3.1CRITICAL 9.8
- TI-2024-26520 Incorrect type conversion in OpenPLC_v3 CVSS 3.1HIGH 7.5
- TI-2024-26519 Incorrect type conversion in OpenPLC_v3 CVSS 3.1HIGH 7.5
- TI-2024-24528 Out-of-bounds read in OpenPLC_v3 CVSS 3.1HIGH 7.5
Sources
- CVE-2026-14480 · CVE Program
- CVE-2026-14480 · NVD
- FIRST EPSS
- GHSA-gx73-gv82-355v · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences