CVE-2026-105985: Php Craft Configure Shared Registry Instance Without Clone

An object fetched from a shared/static component registry ($CLASS::get(...)) is reconfigured in place with caller-supplied property overrides via Craft::configure(). Because ::get() may return a request-cached/shared instance, the overrides mutate the live shared object rather than a per-request copy. If any overwritten property is later interpreted as code

Provally CuratedPublic repositoryHighMedium confidenceVerifiedApache-2.0PHP
greprules fetch cve-2026-105985-php-craft-configure-shared-registry-instance-without-clone --engine opengrep

Description

An object fetched from a shared/static component registry ($CLASS::get(...)) is reconfigured in place with caller-supplied property overrides via Craft::configure(). Because ::get() may return a request-cached/shared instance, the overrides mutate the live shared object rather than a per-request copy. If any overwritten property is later interpreted as code