CVE-2026-84974

GHSA-h24v-f482-8cwf · published 12 Nov 2026 · updated 19 Nov 2026

code16 Sharp: Arbitrary Class Instantiation via an API parameter

5.4MediumCVSS 5.4EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in code16/sharp 9.23.0 and code16/sharp 10.0.0-beta.4.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
code16<9.23.0
packagist: code16/sharp<9.23.0, >=10.0.0-beta.1 <10.0.0-beta.49.23.0, 10.0.0-beta.4

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in code16/sharp (Packagist), strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-84974 severity on Zeptric[![CVE-2026-84974](https://zeptric.io/badge/cve/CVE-2026-84974.svg)](https://zeptric.io/cve/CVE-2026-84974)