CVE-2026-75897: Joi Multiple Osd Custom Rule Overwrite

Multiple `osdCustom` validation rules are applied separately to the same schema instance. In Joi schema extensions, subsequent rules with the same name overwrite earlier rules rather than combining them, causing validation checks to be silently dropped. Consolidate validations into a single rule.

Provally CuratedPublic repositoryMediumHigh confidenceVerifiedApache-2.0TS
greprules fetch cve-2026-75897-joi-multiple-osd-custom-rule-overwrite --engine opengrep

Description

Multiple `osdCustom` validation rules are applied separately to the same schema instance. In Joi schema extensions, subsequent rules with the same name overwrite earlier rules rather than combining them, causing validation checks to be silently dropped. Consolidate validations into a single rule.