Skip to content
Medium 5.4

code16 Sharp: Arbitrary Class Instantiation via an API parameter

CVE-2026-84974 First seen on SecPulse

Affected packages

PackageAffected → Fixed
composercode16/sharp
< 10.0.0-beta.4→ 10.0.0-beta.4
Packagistcode16/sharp
≥ 10.0.0-beta.1, < 10.0.0-beta.4→ 10.0.0-beta.4
code16sharp —
Original description The description as published by the source.

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.

Source: GitHub Security Advisories (Global) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details