# CVE-2026-84974: code16 Sharp: Arbitrary Class Instantiation via an API parameter

- Severity: Medium 5.4 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.34%, higher than 29% of CVEs (2026-12-01)
- Published: 2026-11-12T18:18:44.000Z
- Modified: 2026-11-19T04:17:28.333Z
- Also known as: GHSA-h24v-f482-8cwf
- Weaknesses: CWE-470
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: 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.

(As written by CVE List.)

## Affected

- code16 sharp: < 9.23.0
- code16/sharp (Packagist): before 9.23.0; from 10.0.0-beta.1 before 10.0.0-beta.4

## Every score

- GitHub_M: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L`
- GitHub: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L`

## References

- <https://github.com/code16/sharp/security/advisories/GHSA-h24v-f482-8cwf> (web)
- <https://github.com/code16/sharp/pull/750> (web)
- <https://github.com/code16/sharp/commit/dfafb44b11574e621bf0785f02c32b9866ab9923> (web)
- <https://github.com/code16/sharp/releases/tag/v9.23.0> (web)
- <https://github.com/code16/sharp> (package)
- <https://github.com/code16/sharp/tree/v10.0.0-beta.4> (web)

## Sources

- CVE List: [CVE-2026-84974](https://www.cve.org/CVERecord?id=CVE-2026-84974), CVE Terms of Use, modified 2026-11-19
- GitHub Advisory Database: [GHSA-h24v-f482-8cwf](https://github.com/advisories/GHSA-h24v-f482-8cwf), CC-BY-4.0, modified 2026-11-12
- NVD: [CVE-2026-84974](https://nvd.nist.gov/vuln/detail/CVE-2026-84974), Public domain, modified 2026-11-19

---

Page: https://cve.day/CVE-2026-84974 · Whole record: https://cve.day/CVE-2026-84974.json · Rebuilt by cve.day 2026-11-25T22:59:51.015Z
