CVE-2026-84974
code16/sharp: Arbitrary class instantiation through the embed_key API parameter
Overview
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.
Source: OX vulnerability database
Severity
5.4 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- Low
- Availability
- Low
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L
Weakness: CWE-470
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Composer (PHP) | code16/sharp | <9.23.0>=10.0.0-beta.1, <10.0.0-beta.4 | 9.23.010.0.0-beta.4 |
Open a package to see all its vulnerabilities.
Operating systems
No Linux distribution reports this ID.
References
- github.com https://github.com/code16/sharp
- github.com https://github.com/code16/sharp/commit/dfafb44b11574e621bf0785f02c32b9866ab9923
- github.com https://github.com/code16/sharp/pull/750
- github.com https://github.com/code16/sharp/releases/tag/v9.23.0
- github.com https://github.com/code16/sharp/security/advisories/GHSA-h24v-f482-8cwf
- github.com https://github.com/code16/sharp/tree/v10.0.0-beta.4
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.