Skip to content
FlawDB
Sign in

CVE-2026-84974

MEDIUM 5.4EPSS 31%

code16/sharp: Arbitrary class instantiation through the embed_key API parameter

Also known as GHSA-h24v-f482-8cwf

Mitigation

  • Upgrade code16/sharp to one of 9.23.0, 10.0.0-beta.4 (or later in the same release line).

Who should check

  • Projects that depend on Packagist package code16/sharp (< 9.23.0)
  • Anyone running code16 sharp < 9.23.0

Vulnerability facts

Affected
code16/sharp < 9.23.0
Fixed in
9.23.0, 10.0.0-beta.4
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, login needed
CVSS
5.4 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:LOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: None
  • Integrity impact: Low
  • Availability impact: Low
EPSS
0.45% chance of exploitation in 30 days (percentile 31, 2026-11-26)
CWE
CWE-470
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
Packagist code16/sharp< 9.23.09.23.0, 10.0.0-beta.4ghsa
code16 sharp< 9.23.0—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2026-84974. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-84974.md
Affected: code16/sharp < 9.23.0
Fixed in: 9.23.0, 10.0.0-beta.4

Steps:
1. Search this machine and project for code16/sharp (Packagist), code16 sharp: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

Technologies

References

FAQ

Is CVE-2026-84974 being exploited?

There is no confirmed exploitation: CVE-2026-84974 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.45% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2026-84974?

Medium: CVSS 5.4 (v3.1, scored by CNA). Remote, login needed.

Which versions are affected by CVE-2026-84974?

code16/sharp < 9.23.0.

Is there a fix for CVE-2026-84974?

Yes. Fixed in 9.23.0, 10.0.0-beta.4. Upgrade code16/sharp to one of 9.23.0, 10.0.0-beta.4 (or later in the same release line).

How do I check if I'm affected by CVE-2026-84974?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

See all
Vulnerabilities, newest first
SeverityIdentifier / vulnerabilityTechnologySignalsAge
MEDIUM 5.4CVE-2026-84987

code16/sharp: Server-side request forgery through an unanchored autocomplete endpoint check

Composer packages
EPSS 16%
Sponsors