CVE-2025-56365: Matter Sdk Misplaced Validateclusterpath

Validating cluster paths using `Ember::ValidateClusterPath` within `Invoke` methods at the DataModelProvider layer is structurally insufficient and can lead to a reachable assertion (CVE-2025-56365) in `ProcessCommandDataIB` when invalid endpoints are processed. The validation check has been shifted to the caller to ensure invalid endpoints are securely reje

Provally CuratedPublic repositoryMediumMedium confidenceVerifiedApache-2.0C++
greprules fetch cve-2025-56365-matter-sdk-misplaced-validateclusterpath --engine opengrep

Description

Validating cluster paths using `Ember::ValidateClusterPath` within `Invoke` methods at the DataModelProvider layer is structurally insufficient and can lead to a reachable assertion (CVE-2025-56365) in `ProcessCommandDataIB` when invalid endpoints are processed. The validation check has been shifted to the caller to ensure invalid endpoints are securely reje