CVE-2026-84974
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.
Weakness
- CWE-470: Use of Externally-Controlled Input to Select Classes or Code
Timeline
- 2026-11-12GitHub advisory published (GHSA-h24v-f482-8cwf)5 days before publication
- 2026-11-17Published by the CNA17:39 UTC
- 2026-11-17Published in NVD18:17 UTC · 38 minutes after the CNA
Exploit and advisory records
GitHub advisory GHSA-h24v-f482-8cwf, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| Packagist code16/sharp | before 9.23.0 | 9.23.0 |
| Packagist code16/sharp | from 10.0.0-beta.1 before 10.0.0-beta.4 | 10.0.0-beta.4 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| code16 sharp |
References
- https://github.com/code16/sharp/commit/dfafb44b11574e621bf0785f02c32b9866ab9923
- https://github.com/code16/sharp/pull/750
- https://github.com/code16/sharp/releases/tag/v9.23.0
- https://github.com/code16/sharp/security/advisories/GHSA-h24v-f482-8cwf
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-84974'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-84974'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-84974'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-84974'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).