nday
CVE-2026-84974 GHSA-h24v-f482-8cwf

code16 Sharp: Arbitrary Class Instantiation via an API parameter

code16 / sharp

Patch on record 5 days before the CVE record was published. Patched: fixed in code16/sharp 9.23.0 and code16/sharp 10.0.0-beta.4. None of the four PoC sources lists it. Not in CISA KEV.

tags accessnetworkno user interaction ecosystemComposer
why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

network
AV:N in CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L (CVSS 3.1) from the CNA GitHub_M
no user interaction
UI:N in CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L (CVSS 3.1) from the CNA GitHub_M
Composer
GHSA-h24v-f482-8cwf: composer packages code16/sharp
stage
PAT
disclosed
cvss
5.4 MEDIUM v3.1

Lifecycle

x axis UTC; dot = exact minute, wide bar = date only, hollow = unknown or inferred.
time unknown
DISdisclosed
11-17T17:39Z
PATpatch
11-12T19:00Z
ANAanalysis
no record yet
POCPoC
no record yet
ITWexploited
no record yet
KEVKEV
no record yet

Summary

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.

Original text of the CVE record (cvelist), shown as published.

Exploit conditions

What an attack needs, read from the CVSS vector.
Attack vector AV:N
Network: the attacker only needs to reach it over the network
Attack complexity AC:L
Low: no special conditions; the attacker can expect repeatable success
Privileges required PR:L
Low: ordinary user privileges
User interaction UI:N
None: no action by anyone other than the attacker

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L

CVSS 3.1 vector from the CVE record, scored by the CNA GitHub_M.

Event log

no source time; observed live by nday
+PATpatch released

The advisory gives fixed versions code16/sharp 9.23.0 and code16/sharp 10.0.0-beta.4. Fix commits are linked. Advisory published ; the patch's own release time is not recorded.

src ghsa GHSA-h24v-f482-8cwf · nday , observed live · raw
{
  "id": 61660,
  "type": "patch_released",
  "source": "ghsa",
  "url": "https://github.com/advisories/GHSA-h24v-f482-8cwf",
  "occurred_at": null,
  "observed_at": "2026-11-12T19:00:52.546991Z",
  "is_backfill": false,
  "dedupe_key": "GHSA-h24v-f482-8cwf",
  "detail": {
    "cvss": {
      "cvss_v3": {
        "score": 5.4,
        "vector_string": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L"
      },
      "cvss_v4": {
        "score": 0.0,
        "vector_string": null
      }
    },
    "cwes": [
      {
        "name": "Use of Externally-Controlled Input to Select Classes or Code",
        "cwe_id": "CWE-470"
      }
    ],
    "ghsa_id": "GHSA-h24v-f482-8cwf",
    "packages": [
      {
        "name": "code16/sharp",
        "ecosystem": "composer",
        "first_patched_version": "9.23.0",
        "vulnerable_version_range": "< 9.23.0"
      },
      {
        "name": "code16/sharp",
        "ecosystem": "composer",
        "first_patched_version": "10.0.0-beta.4",
        "vulnerable_version_range": ">= 10.0.0-beta.1, < 10.0.0-beta.4"
      }
    ],
    "severity": "medium",
    "references": [
      "https://github.com/code16/sharp/security/advisories/GHSA-h24v-f482-8cwf",
      "https://github.com/code16/sharp/pull/750",
      "https://github.com/code16/sharp/commit/dfafb44b11574e621bf0785f02c32b9866ab9923",
      "https://github.com/code16/sharp/releases/tag/v9.23.0",
      "https://github.com/code16/sharp/tree/v10.0.0-beta.4",
      "https://github.com/advisories/GHSA-h24v-f482-8cwf"
    ],
    "fix_commit_urls": [
      "https://github.com/code16/sharp/pull/750",
      "https://github.com/code16/sharp/commit/dfafb44b11574e621bf0785f02c32b9866ab9923"
    ],
    "github_reviewed_at": "2026-11-12T18:18:44Z",
    "advisory_updated_at": "2026-11-12T18:18:45Z",
    "source_code_location": "https://github.com/code16/sharp",
    "advisory_published_at": "2026-11-12T18:18:44Z"
  }
}
+DISdisclosed

CVE record published by GitHub_M. CVSS 5.4, medium.

src cvelist · nday , observed live · raw
{
  "id": 476772,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2026-84974",
  "occurred_at": "2026-11-17T17:39:28.225Z",
  "observed_at": "2026-11-17T18:04:12.558509Z",
  "is_backfill": false,
  "dedupe_key": "",
  "detail": {
    "cvss": {
      "source": "cna",
      "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L",
      "version": "3.1",
      "base_score": 5.4,
      "base_severity": "MEDIUM"
    },
    "ssvc": {
      "timestamp": "2026-11-19T03:59:02.417642Z",
      "automatable": "no",
      "exploitation": "none",
      "technical_impact": "partial"
    },
    "state": "PUBLISHED",
    "date_published": "2026-11-17T17:39:28.225Z",
    "assigner_short_name": "GitHub_M"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

Researcher discussion

0 researchers mentioned this in the last 7 days

Posts on X by researchers on nday's list that mention this CVE, shown as posted. nday does not check them.

nday has not collected any post on X by listed researchers that mentions this CVE.

Discussion

0 comments

No comments yet.