cvelo
P3 · MediumCVSS 5.4EPSS 0.3%

code16 Sharp: Arbitrary Class Instantiation via an API parameter

  • CVE-2026-84974
  • GHSA-h24v-f482-8cwf
  • EUVD-2026-127133

Description

code16 Sharp is a Laravel-based framework for building content-management and administrative interfaces. Prior to 9.23.0, an authenticated attacker can submit an arbitrary PHP class name through the embed_key parameter to multiple embed API endpoints. The application passes the selected class to the Laravel service container, which invokes the class's __construct() method and recursively instantiates constructor dependencies, potentially causing unauthorized integrity or availability effects. The attacker cannot supply constructor parameter values or invoke an arbitrary method. This issue is fixed in version 9.23.0.

Text from the CVE.org record.

Affected

  • code16 sharp

    • < 9.23.0
  • code16/sharpPackagist

    • all versions, fixed in 9.23.0
    • from 10.0.0-beta.1, fixed in 10.0.0-beta.4

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.