# CVE-2026-12504: Loytec Building Automation Devices Improper Authentication in PAM

Source: https://junglewise.ai/threats/cve-2026-12504-loytec-building-automation-devices-improper-authentication-in-pam  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-07-24. Updated: 2026-07-24  
License: CC BY 4.0 with a link back

CVE-2026-12504 · Severity: info · CVSS 8.4 · Published 2026-07-24

Loytec building automation devices, including touch panels and lighting controllers, contain a security flaw in their authentication configuration. An attacker who already has limited access to the device can exploit this to gain full administrative (root) control without a password. This could allow an unauthorized user to disrupt building operations, modify system settings, or access sensitive data.

Technologies: [LOYTEC L-DALI](https://junglewise.ai/threats/technologies/l-dali), [LOYTEC L-GATE](https://junglewise.ai/threats/technologies/l-gate), [LOYTEC L-INX](https://junglewise.ai/threats/technologies/l-inx), [LOYTEC L-IOB](https://junglewise.ai/threats/technologies/l-iob), [LOYTEC L-PAD](https://junglewise.ai/threats/technologies/l-pad), [LOYTEC L-ROC](https://junglewise.ai/threats/technologies/l-roc), [LOYTEC L-VIS](https://junglewise.ai/threats/technologies/l-vis), [LOYTEC LIP-ME201C](https://junglewise.ai/threats/technologies/lip-me201c). Vendors: [LOYTEC](https://junglewise.ai/threats/vendors/loytec).

## Quick answers

**Is CVE-2026-12504 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-12504 being exploited in the wild.

**How severe is CVE-2026-12504?** Informational severity, with a CVSS score of 8.4, published 24 July 2026.

**Which products and versions are affected?** LOYTEC L-DALI through 8.4.16; LOYTEC L-GATE through 8.4.16; LOYTEC L-INX through 8.4.16; LOYTEC L-IOB through 8.4.16; and 4 more.

**Is there a fix for CVE-2026-12504?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2026-12504 attacked?** It is attacked with local access, in a network appliance.

**Am I affected by CVE-2026-12504?** Check whether you run LOYTEC L-DALI, LOYTEC L-GATE, LOYTEC L-INX or one of the others listed at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

The vulnerability exists in the Pluggable Authentication Module (PAM) configuration of several Loytec building automation products. The configuration utilizes 'pam_unix.so' with the 'nullok' option enabled. A local attacker with the ability to modify or append entries to the '/etc/passwd' file can create a new account with a UID of 0 and an empty password field. By then using the 'su' command, the attacker can authenticate as that user without providing a password, effectively obtaining a root shell. This issue affects multiple product lines on the LINX-A64 platform through firmware version 8.4.16. Users are advised to upgrade to firmware version 8.4.18.

## Affected products

- Loytec LIP-ME201C through 8.4.16
- Loytec L-INX through 8.4.16
- Loytec L-GATE through 8.4.16
- Loytec L-ROC through 8.4.16
- Loytec L-IOB through 8.4.16
- Loytec L-DALI through 8.4.16
- Loytec L-VIS through 8.4.16
- Loytec L-PAD through 8.4.16

## Timeline

- 2026-07-24: advisory: NVD and vendor advisory published

## References

- [https://www.loytec.com/support/product-security/advisories/8521-dibt-cve-20260526-0003-pam-passwordless-uid-0-authentication-high](https://www.loytec.com/support/product-security/advisories/8521-dibt-cve-20260526-0003-pam-passwordless-uid-0-authentication-high)

## Related threats

- [Loytec BACnet devices out-of-bounds read in bacdt_datetime_to_tod](https://junglewise.ai/threats/cve-2026-55732-loytec-bacnet-devices-out-of-bounds-read-in-bacdt-datetime-to-tod)
- [Loytec Multiple Products DoS via SNMP Agent CPU Exhaustion](https://junglewise.ai/threats/cve-2026-55731-loytec-multiple-products-dos-via-snmp-agent-cpu-exhaustion)
- [Loytec Multiple Products stack overflow in ltsudo](https://junglewise.ai/threats/cve-2026-55728-loytec-multiple-products-stack-overflow-in-ltsudo)
- [Loytec Multiple Products privilege escalation in ltsudo](https://junglewise.ai/threats/cve-2026-12502-loytec-multiple-products-privilege-escalation-in-ltsudo)
- [Loytec Multiple Products Stored XSS in OPC XML-DA Server Statistics](https://junglewise.ai/threats/cve-2026-12496-loytec-multiple-products-stored-xss-in-opc-xml-da-server)
