Packagist
CVE-2026-84974
code16/sharp: Arbitrary class instantiation through the embed_key API parameter
- Severity
- Medium 5.4
- Published
- 12 Nov 2026
- Last changed
- 12 Nov 2026
- Added to UpHeron
- 23 Nov 2026
- Fixed in
- 9.23.0, 10.0.0-beta.4
- Exploit chance
- 0.3% in the next 30 daysHigher than 25% of CVEs. EPSS by FIRST, 24 Nov 2026
- Weakness
- Unsafe reflection (CWE-470)
- Attack
- Over the network · Needs a user account · No user action needed
- Attacker can
- Change some data · Slow it down
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L- Also known as
- GHSA-h24v-f482-8cwf
- Sources
- OSV.dev and GitHub
Description
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.
Workarounds
No known workarounds.
Affected software
| Software | Affected versions |
|---|---|
code16/sharpPackagist · osv:Packagist:code16/sharp |
|
About code16/sharp
- Monthly downloads (Packagist)
- 2,036Packagist, 24 Nov 2026
- Total downloads (Packagist)
- 71,161Packagist, 24 Nov 2026
Vulnerabilities in code16/sharp
- In our list
- 2
- Published in the last 12 months
- 2
- Critical, last 12 months
- 0
- High, last 12 months
- 0
- Known exploited
- 0
- CVE-2026-84987code16/sharp: Server-side request forgery through an unanchored autocomplete endpoint checkMedium 5.4 12 Nov 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-84974
- GitHub Advisory Database https://github.com/advisories/GHSA-h24v-f482-8cwf