← All Advisories
Reported from OT-Advisories.com as of

Advantech EKI-1242EIMS Modbus CSV Import Executes Attacker-Controlled Lua Code via Crafted Upload

Last refreshed2026-11-16

Status: UPDATED  |  Advisory ID: CVE-2026-73170

Key Details

CVECVE-2026-73170
CVSS Score / Version
8.6 (High) / CVSS v4.0
Updated2026-09-23
Affected products
Advantech EKI-1242IEIMS and Advantech EKI-1242EIMS
Classified as
CWE-94 (Improper Control of Generation of Code ('Code Injection'))
Exploitation prediction (EPSS)
0.54% probability of exploitation in the next 30 days (46% percentile) -- FIRST.org's EPSS model.

Affected Products, Subsystems & Sectors

VendorProductAffected VersionsPatch Status
AdvantechEKI-1242IEIMS
AdvantechEKI-1242EIMS
SubsystemsIndustrial Networking & Connectivity
SectorsMultiple

What to Know

Nozomi Networks Labs identified a CWE-94: Improper Control of Generation of Code ('Code Injection') vulnerability in the Modbus CSV import workflow of Advantech EKI-1242EIMS in firmware version V1.06.01 that allows a remote authenticated attacker to execute arbitrary Lua code on the device via a crafted imported file.

What to Do

Item 8, Code Injection - Modbus CSV import generates Lua source: An authenticated remote attacker can place crafted content in the imported transaction-name field, break out of the Lua string literal generated by csv_parser, and execute attacker-controlled Lua code during CSV import. Solution: Do not generate executable Lua source from imported CSV fields; use direct structured configuration updates, or apply strict context-appropriate escaping before inserting any controlled value; enforce strict server-side validation of imported transaction names. Affected Products: EKI-1242EIMS, EKI-1242IEIMS. Vulnerabilities Fixed Version: V2.00.01, available at https://www.advantech.com/en/support/details/firmware-?id=1-1JQK6HR
Source: Advantech

References

SourceReference
NVDhttps://nvd.nist.gov/vuln/detail/CVE-2026-73170
CVEhttps://www.cve.org/CVERecord?id=CVE-2026-73170
Vendor advisoryhttps://advcloudfiles.advantech.com/cms/5dafee28-ad53-4d07-a328-7896fcc24b6e/Security%20Advisory%20PDF%20File/SECURITY-ADVISORY----EKI-1242IEIMS-updated-20260904.pdf
Report compilation © 2026 OT-Advisories.com  ·  CC BY 4.0  ·  Source materials remain the property of their respective publishers as cited.