Skip to main content
VulnerabilityPublished

CVE-2026-84974: code16/sharp · Arbitrary class instantiation through the embed_key API parameter

Affects code16/sharpSource GCVE Database

0
Compare

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

CVSS 3.1 base score
5.4Medium
How severe the flaw is on the 0–10 CVSS scale.
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:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 12 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
Packagistcode16/sharpAffected
  • <9.23.0
Fixed in
  • 9.23.0
Packagistcode16/sharpAffected
  • >=10.0.0-beta.1 <10.0.0-beta.4
Fixed in
  • 10.0.0-beta.4

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

Community reviews

Loading reviews…