Skip to main content

OpenPLC v3 EUVDEUVD-2026-29960

| CVE-2026-31156 MEDIUM
Path Traversal (CWE-22)
2026-05-13 mitre GHSA-p6vg-5mm7-744x
6.5
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate to OpenPLC system
  2. Delivery
    Obtain glue_generator binary invocation capability
  3. Exploit
    Construct command with path traversal sequence
  4. Execution
    Execute glue_generator with malicious path parameter
  5. Persist
    Read arbitrary file outside intended directory
  6. Impact
    Exfiltrate sensitive data

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires valid authentication credentials to the OpenPLC system and the ability to execute commands or invoke the glue_generator binary, either remotely via an authenticated interface or locally with appropriate privileges. The vulnerability only enables information disclosure (CWE-22 path traversal for reading); it does not permit file creation or modification on accessible paths due to the read-focused nature of the attack. Exploitation is limited to files readable by the OpenPLC process user. Non-default configurations or specific deployment modes that restrict glue_generator access or require additional approval for command execution would further mitigate exploitation risk.

Impact

The risk profile presents a notable disconnect between CVSS and real-world exploitation likelihood. CVSS 6.5 (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N) indicates network-accessible authentication-required disclosure with high confidentiality impact, supporting moderate severity. However, EPSS 0.02% (5th percentile) strongly suggests low actual exploitation probability in the wild. This discrepancy likely reflects: (1) OpenPLC's limited deployment scope (primarily industrial/automation environments rather than internet-facing), (2) the requirement for valid authentication credentials (PR:L barrier), and (3) absence of any public proof-of-concept or active exploitation reports. The path traversal itself is relatively straightforward to exploit once authenticated, but the narrow attack surface and lack of weaponization evidence classify this as a low-priority vulnerability outside specialized OpenPLC deployments. Organizations running OpenPLC should treat this as a medium-priority patching task rather than critical; the vulnerability poses real risk only to authenticated users with malicious intent or compromised accounts.

Exploit ScenarioDerived

An authenticated user with remote access to OpenPLC v3 (e.g., a legitimate operator whose credentials are compromised, or a malicious insider) invokes the glue_generator binary with a crafted command-line argument containing path traversal sequences, such as: glue_generator '../../../etc/passwd output.txt'. The binary reads the targeted file (e.g., /etc/passwd) without validating the path and outputs its contents, allowing the attacker to exfiltrate sensitive system or configuration files. No special user interaction is required beyond command execution.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 14, 2026

Path traversal in OpenPLC v3 allows authenticated remote attackers to read arbitrary files via unvalidated file path parameters passed to the glue_generator binary. The vulnerability affects command-line input handling in the compiled binary derived from glue_generator.cpp, where user-controlled paths are passed directly to file operation functions (fopen, ifstream, ofstream) without validation. Exploitation requires authentication but no user interaction, and no public exploit code has been identified at the time of analysis.

RemediationAI

Patch availability and version-specific remediation details are not provided in the available data. Organizations using OpenPLC v3 should consult the OpenPLC project's GitHub repository (https://github.com/thiagoralves/OpenPLC_v3) and official advisories for patched versions. Immediate compensating controls include: (1) Restrict command-line execution of the glue_generator binary to trusted administrators only via OS-level access controls (e.g., file permissions, SELinux policies); (2) Implement network segmentation to limit remote access to OpenPLC systems to authenticated, trusted management networks; (3) Monitor file access patterns and system logs for suspicious path traversal attempts (sequences containing '../' in glue_generator invocations); (4) If available, review source code patches in the GitHub repository for manual remediation guidance. The primary mitigation depends on a vendor-released patch validating all file path inputs before use in file operations.

Affected VersionsENISA

n/a n/a

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

The vulnerability stems from CWE-22 (Improper Limitation of a Pathname to a Restricted Directory) in OpenPLC v3's glue_generator binary. The glue_generator.cpp source code compiles into an executable that accepts file path parameters via command-line arguments. These paths are passed directly to C++ standard library file operations (ifstream for reading, ofstream for writing) and C standard I/O functions (fopen) without any path canonicalization, validation, or restriction to an intended directory. This allows attackers to use path traversal sequences (e.g., '../../../etc/passwd') to access files outside the intended scope, leveraging the privileges of the OpenPLC process.

Know when N A 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

Vendor (mitre) PRIMARY 6.5 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Primary rating from Vendor (mitre) · only source for this CVE.

CVSS VectorVendor: mitre

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

Lifecycle Timeline

3
CVSS changed
May 14, 2026 - 15:22 NVD
6.5 (MEDIUM)
CVE Published
May 13, 2026 - 00:00 nvd
UNKNOWN (no severity yet)
CVE Published
May 13, 2026 - 00:00 nvd
MEDIUM 6.5

DescriptionCVE.org

A path injection vulnerability exists in OpenPLC v3 (2c82b0e79c53f8c1f1458eee15fec173400d6e1a) as the binary program compiled from glue_generator.cpp does not perform any validation on the file path parameters passed via the command line. The user-controlled input parameters are directly passed to the underlying file operation functions (fopen/ifstream/ofstream) for file reading and writing. An attacker can exploit this vulnerability by constructing a malicious path to read arbitrary readable files.

Threat Intelligence Overview

EPSS Score
0.0%
Top 95% exploitable
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

More in N A

View all
CVE-2024-51092 CRITICAL POC
9.1 May 08

LibreNMS before 24.10.0 allows a remote attacker to execute arbitrary code via OS command injection involving AboutContr

CVE-2025-15684 MEDIUM POC
5.5 Aug 12

Reachable assertion in Open5GS up to version 2.7.6 allows remote unauthenticated attackers to crash the Diameter CER han

CVE-2024-45257 HIGH POC
7.3 May 08

A Command Injection issue in the payload build page in BYOB (Build Your Own Botnet) 2.0 allows attackers to execute arbi

CVE-2025-15687 LOW POC
2.1 Aug 12

Denial of service in Open5GS 2.7.6 and earlier allows network-adjacent attackers with low-privilege Diameter Gx peer acc

CVE-2025-15686 LOW POC
2.1 Aug 12

Denial of service in Open5GS HSS (Home Subscriber Server) versions 2.7.0 through 2.7.6 is triggered remotely by manipula

CVE-2025-67888 HIGH POC
7.3 May 08

Remote command injection in Control Web Panel allows unauthenticated attackers to execute arbitrary OS commands as root

CVE-2024-53326 HIGH POC
7.3 May 08

LINQPad before 5.52.01 Pro edition is vulnerable to Unsafe Deserialization in LINQPad.AutoRefManager::PopulateFromCache(

CVE-2026-38360 CRITICAL POC
9.8 May 08

Remote code execution in dash-uploader (Python package for Plotly Dash) versions 0.1.0 through 0.7.0a2 allows unauthenti

CVE-2026-30623 CRITICAL POC
9.8 Jul 15

Command injection in LiteLLM 1.18.10 lets attackers who can configure MCP (Model Context Protocol) servers supply arbitr

CVE-2026-67917 CRITICAL POC
9.8 Aug 17

SQL injection in AzuraCast's backup restore flow (versions up to and including 0.23.7) lets an attacker achieve privileg

CVE-2026-75337 CRITICAL POC
9.8 Aug 27

Arbitrary file read in Yu AI Code Mother v4.3 lets anonymous, remote attackers retrieve files outside the intended previ

CVE-2026-31072 CRITICAL POC
9.8 May 19

Remote code execution in APScheduler (all versions through 3.10.x and 4.0.0a5) is achievable when applications deseriali

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy