Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2026-31156: A path injection vulnerability exists in OpenPLC v3 (2c82b0e79c53f8c1f1458eee15fec173400d6e1a) as the binary p

36
Routine
MEDIUM 6.5MITIGATE

CVE-2026-31156 is a medium-severity flaw (CVSS 6.5) affecting openplc v3 firmware. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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 construct

Why this priority

  • Public exploit reference

No fix is published yet: follow the downgrade or mitigation steps.

Risk facts

CVSS score6.5 (Medium)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededLow
User interactionNone
EPSS exploit chance0.4% (top 67%)
CISA exploited listNo
WeaknessCWE-22
Published2026-05-13
Last modified2026-10-19
Publisher (CNA): MITRE · Vendor: openplcproject

Share: LinkedIn · X · Reddit

Last updated 2026-10-19 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

openplcproject openplc v3 firmware MITIGATE
Affected: 2024-03-09
Fixed in: no fixed release known
Safe to downgrade to: a release before 2024-03-09
Check your OS release
cat /etc/os-release; uname -r
Debian / Ubuntu
sudo apt update && sudo apt full-upgrade
RHEL / Amazon Linux / Fedora
sudo dnf upgrade --refresh
Windows
Install the latest cumulative update from Windows Update
If no patch exists yet
OS downgrades are not safe. Apply the vendor mitigation from the advisory and restrict exposure.
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2026-31156?

openplc v3 firmware: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.

Is CVE-2026-31156 being exploited?

CVE-2026-31156 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2026-31156 affect?

CVE-2026-31156 affects openplc v3 firmware. Severity is medium (CVSS 6.5). 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. T

How urgent is CVE-2026-31156?

Priority 36/100. Public exploit reference

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.