CVE-2026-107469: LwM2M client write handlers skip access checks for payload-supplied paths, allowing servers to write the Security object

Published Dec 6, 2026
·
Updated

The LwM2M client in subsys/net/lib/lwm2m enforces authorization in handlerequest() only against the path in the CoAP request URI: the per-server access control list (CONFIGLWM2MACCESSCONTROLENABLE) and the LwM2M rule that a non-bootstrap server must not operate on the Security object (Object 0). The JSON, SenML JSON and SenML CBOR write handlers (dowriteopjson(), dowriteopsenmljson() and dowriteopitem()), however, take each record's target path from the payload (bn/n fields), overwrite msg->path with it, and create or write that path without re-checking access.

A registered device-management server can therefore send a write (for example PUT to an object it may access, or a composite iPATCH whose request path is empty) carrying records that address /0/... or any object denied to it by the access control list. The only remaining gate, lwm2menginevalidatewriteaccess(), checks static resource permissions, and Security object resources such as Server URI, Security Mode, keys and the Bootstrap-Server flag are writable, so the write succeeds.

This lets a device-management server overwrite the bootstrap and server credentials and URIs held in the Security object, persistently redirecting the device to an attacker-chosen server or breaking its connectivity, and lets one server bypass access control lists protecting objects belonging to another server in multi-server deployments. No memory corruption is involved.

Affected Software

1 affected component
Zephyr Project Zephyr

Event History

Dec 6, 2026
CVE Published
via MITRE·03:16 PM
Data Sourced
via MITRE·03:16 PM
DescriptionSeverityWeakness

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203