Skip to content
Threat Brief

← All advisories

CVE-2026-84974

Medium 5.4No known exploitationFix available

code16 Sharp: Arbitrary Class Instantiation via an API parameter

Vendor advisory: GHSA-h24v-f482-8cwf

Record last updated

CVSS score

5.4

Medium on a 0 to 10 scale

EPSS, chance of exploitation in 30 days

0.4%

Higher than 38% of scored CVEs. A prediction, not evidence.

CISA remediation deadline

None

Not in the KEV catalog

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.

Weakness: CWE-470

Patching and mitigation

Patch status
Fix available (source: GitHub Advisory Database)
Fix documented (source date)
Mitigation
None documented
Vendor guidance
github.com (opens in a new tab)

Affected products

VendorProductAffected versionsFixed inPer
code16sharp< 9.23.0Not documentedCVE Program
composercode16/sharpfrom 10.0.0-beta.1 before 10.0.0-beta.410.0.0-beta.4GitHub Advisory Database
composercode16/sharpall versions before 9.23.09.23.0GitHub Advisory Database

Timeline

  1. Disclosure

    CVE record published by GitHub_M

    Source: CVE Program (opens in a new tab)

  2. Patch

    Fix documented by GitHub Advisory Database

    Source: GitHub Advisory Database (opens in a new tab)

Vendor guidance and references