CVE-2026-84974
Medium 5.4No known exploitationFix availablecode16 Sharp: Arbitrary Class Instantiation via an API parameter
Vendor advisory: GHSA-h24v-f482-8cwf
Record last updated
CVSS score
Medium on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
Higher than 38% of scored CVEs. A prediction, not evidence.
CISA remediation deadline
Not in the KEV catalog
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
Patching and mitigation
- Patch status
- Fix available (source: GitHub Advisory Database)
- Fix documented (source date)
- Mitigation
- None documented
- Vendor guidance
- github.com (opens in a new tab)
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| code16 | sharp | < 9.23.0 | Not documented | CVE Program |
| composer | code16/sharp | from 10.0.0-beta.1 before 10.0.0-beta.4 | 10.0.0-beta.4 | GitHub Advisory Database |
| composer | code16/sharp | all versions before 9.23.0 | 9.23.0 | GitHub Advisory Database |
Timeline
Disclosure
CVE record published by GitHub_M
Source: CVE Program (opens in a new tab)
Patch
Fix documented by GitHub Advisory Database
Vendor guidance and references
- GitHub Advisory GHSA-h24v-f482-8cwf (opens in a new tab)github-advisory
- https://github.com/code16/sharp/commit/dfafb44b11574e621bf0785f02c32b9866ab9923 (opens in a new tab)x_refsource_misc
- https://github.com/code16/sharp/pull/750 (opens in a new tab)x_refsource_misc
- https://github.com/code16/sharp/releases/tag/v9.23.0 (opens in a new tab)x_refsource_misc
- https://github.com/code16/sharp/security/advisories/GHSA-h24v-f482-8cwf (opens in a new tab)x_refsource_confirm