Severity by source
CVSS:4.0/AV:L/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:H/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Local, authenticated `larmapp` account required (AV:L/PR:L), deterministic symlink-follow so AC:L, and root compromise yields full C:H/I:H/A:H on the same system (S:U).
Primary rating from Vendor (NCSC.ch).
CVSS VectorVendor: NCSC.ch
Lifecycle Timeline
2DescriptionCVE.org
Improper Link Resolution (CWE-59) in /usr/bin/larm_starter in Loytec L-INX, L-GATE, L-ROC, L-IOB, L-DALI, L-VIS and L-PAD through 8.4.16 on LINX-A64 allows an authenticated larmapp attacker to make /etc/passwd writable by the larmapp group (leading to root privilege escalation) via a symlink attack on /etc/lighttpd/ssl/server.pem.
AnalysisAI
Local privilege escalation in Loytec building-automation controllers (L-INX, L-GATE, L-ROC, L-IOB, L-DALI, L-VIS, L-PAD and LIP-ME20xC) through firmware 8.4.16 on the LINX-A64 platform lets an authenticated larmapp account escalate to root. The privileged helper /usr/bin/larm_starter follows a symlink at /etc/lighttpd/ssl/server.pem when it applies chown/chmod, so an attacker who replaces that path with a link to /etc/passwd can make /etc/passwd writable by the larmapp group and then add or modify a root-equivalent account. There is no public exploit identified at time of analysis and EPSS is low (0.14%), consistent with CISA SSVC rating exploitation as 'none' but technical impact as 'total'.
Technical ContextAI
The affected devices are Loytec LINX-A64 embedded Linux building-automation and I/O controllers running a lighttpd web stack. The root cause is CWE-59 (Improper Link Resolution / symlink following): the setuid or root-run helper /usr/bin/larm_starter performs ownership/permission changes on /etc/lighttpd/ssl/server.pem (the TLS server certificate/key) without verifying that the path is a regular file rather than a symbolic link. Because the larmapp service account controls that location, it can substitute a symlink so the chown/chmod operates on an attacker-chosen target - here /etc/passwd. The CPE set (cpe:2.3:a:loytec:l-inx, l-gate, l-roc, l-iob, l-dali, l-vis, l-pad, lip-me20xc) shows a shared firmware base across the product family, so the same code path affects all listed models.
RemediationAI
Apply the Loytec firmware update that supersedes 8.4.16 for the affected LINX-A64 product family as directed in the vendor advisory (https://www.loytec.com/support/product-security/advisories/8520-dibt-cve-20260526-0002-symlink-following-in-chown-chmod-critical); the input does not state an exact fixed version, so treat 'the next release above 8.4.16' as the target and confirm the patched build number with Loytec support. Until patched, reduce exposure of the larmapp account: restrict and monitor local/application access to the device, ensure the web/app layer that could yield a larmapp foothold is not reachable from untrusted networks, and audit /etc/lighttpd/ssl/server.pem and /etc/passwd for unexpected symlinks or group-writable permissions. As a compensating control, place these controllers on an isolated management VLAN with access limited to trusted engineering workstations - this does not remove the flaw but sharply limits who can reach the account needed to trigger it.
More in Lip Me20Xc
View allStored XSS in the OPC XML-DA server statistics endpoint of multiple Loytec building automation devices allows an unauthe
Remote denial-of-service in Loytec LINX-A64-based building automation controllers through firmware 8.4.18 allows an unau
We are tasked with producing a comprehensive analysis of CVE-2026-12504 in JSON format. We have description, CVSS 4.0 ve
A local privilege escalation flaw in the ltsudo binary on Loytec LIP-ME201C and related L-Series building automation con
Persistent denial of service in Loytec LIP-ME201C and related building automation controllers through version 8.4.16 all
Privilege escalation in Loytec ltsudo utility on LIP-ME201C, L-INX, L-GATE, L-ROC, L-IOB, L-DALI, L-VIS, and L-PAD throu
Same weakness CWE-59 – Improper Link Resolution Before File Access
View allSame technique Privilege Escalation
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-48591
GHSA-4p7f-6rpf-28mq