PT-2026-68141 · Unknown · Openplc Runtime

·

CVE-2026-71268

·

Published

2026-08-05

·

Updated

2026-08-10

CVSS v3.1

9.9

Critical

VectorAV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions OpenPLC Runtime version 3
Description The compile program() function in webserver/openplc.py fails to validate the file path variable when parsing (*FILE:path content*) directives from uploaded Structured Text (.st) program files. This allows an attacker to use path traversal sequences to write arbitrary content to any filesystem path outside the intended ./core directory, leading to remote code execution through mechanisms such as cron jobs or SSH authorized keys. The software also contains hardcoded default credentials (openplc:openplc), which facilitates exploitation.
Recommendations Update OpenPLC Runtime version 3 to a version where the compile program() function properly invokes the validate file path() function to ensure the file path remains within the intended directory. Change the default credentials from openplc:openplc to unique, strong passwords.

Fix

RCE

Path traversal

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-71268

Affected Products

Openplc Runtime