CVE-2026-84974: code16/sharp · Arbitrary class instantiation through the embed_key API parameter
Affects code16/sharpSource GCVE Database
Not known to be exploited · CVSS 5.4 Medium : upgrade to 9.23.0 when convenient.
Data as of 12 Nov 2026, 19:19 UTC
- Patch
- Available – fixed in 9.23.0, 10.0.0-beta.4
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:LExploitation evidence
Disclosed: evidence found.
CVE published 12 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 12 Nov 2026.
What to do
Upgrade code16/sharp to 9.23.0; code16/sharp to 10.0.0-beta.4.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Packagistcode16/sharp | Affected
| Fixed in
|
| Packagistcode16/sharp | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
### Impact An authenticated attacker can instantiate any class in the PHP application by using the `embed_key` parameter across multiple API endpoints. The instantiation is performed by the Laravel container. As a result, the `__construct()` method of the class is called and all constructor dependencies are resolved. The attacker cannot specify parameter values and cannot call any arbitrary method. ### Patches The problem has been patched in 9.23.0 and pre-release version 10.0.0-beta.4. An additional check was added to verify that `embed_key` is a class extending `SharpFormEditorEmbed` before any instantiation. ### Workarounds No known workarounds.
References
- github.com/code16/sharp/security/advisories/GHSA-h24v-f482-8cwf (opens in a new tab)
- github.com/code16/sharp/pull/750 (opens in a new tab)
- github.com/code16/sharp/commit/dfafb44b11574e621bf0785f02c32b9866ab9923 (opens in a new tab)
- github.com/code16/sharp (opens in a new tab)
- github.com/code16/sharp/releases/tag/v9.23.0 (opens in a new tab)
- github.com/code16/sharp/tree/v10.0.0-beta.4 (opens in a new tab)