Description
The LwM2M client in subsys/net/lib/lwm2m enforces authorization in handle_request() only against the path in the CoAP request URI: the per-server access control list (CONFIG_LWM2M_ACCESS_CONTROL_ENABLE) 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 (do_write_op_json(), do_write_op_senml_json() and do_write_op_item()), 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, lwm2m_engine_validate_write_access(), 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.
Published: 2026-12-06
Score: 7.2 High
EPSS: n/a
KEV: No
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No solution or workaround provided in the CVE record.

Additional remediation guidance may be available on OpenCVE Cloud.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sun, 06 Dec 2026 17:00:00 +0000

Type Values Removed Values Added
First Time appeared Zephyrproject
Zephyrproject zephyr
Vendors & Products Zephyrproject
Zephyrproject zephyr

Sun, 06 Dec 2026 15:30:00 +0000

Type Values Removed Values Added
Description The LwM2M client in subsys/net/lib/lwm2m enforces authorization in handle_request() only against the path in the CoAP request URI: the per-server access control list (CONFIG_LWM2M_ACCESS_CONTROL_ENABLE) 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 (do_write_op_json(), do_write_op_senml_json() and do_write_op_item()), 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, lwm2m_engine_validate_write_access(), 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.
Title LwM2M client write handlers skip access checks for payload-supplied paths, allowing servers to write the Security object
Weaknesses CWE-863
References
Metrics cvssV3_1

{'score': 7.2, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H'}


Subscriptions

Zephyrproject Zephyr
cve-icon MITRE

Status: PUBLISHED

Assigner: zephyr

Published:

Updated: 2026-12-06T15:16:30.997Z

Reserved: 2026-10-08T07:25:43.321Z

Link: CVE-2026-107469

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-12-06T16:17:53.623

Modified: 2026-12-06T16:17:53.760

Link: CVE-2026-107469

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-12-06T16:45:02Z

Weaknesses