CVE-2026-84974
published medium CVSS 3.1 · 5.4code16 Sharp: Arbitrary Class Instantiation via an API parameter
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| code16 | — | sharp< 9.23.0 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.4 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| code16 | sharp | < 9.23.0 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-470 CWE-470: Use of Externally-Controlled Input to Select Classes or Code
References
4Provider assertions
2GitHub_M · cna
code16 Sharp: Arbitrary Class Instantiation via an API parameter
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- f028b739dc6c85feb5fea3ed0f62544fa31ee22bea9608c1e33e4bef967abc3c
- Ingested
- 19 Nov 2026, 04:05:19 UTC
- Source record
- Official CVE record