CVE-2026-84974
Received Received - Intake

PHP Object Injection in Code16 Sharp Framework

Vulnerability report for CVE-2026-84974, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-17

Last updated on: 2026-11-17

Assigner: GitHub, Inc.

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-17
Last Modified
2026-11-17
Generated
2026-11-17
AI Q&A
2026-11-17
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
code16 sharp 9.23.0

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-470 The product uses external input with reflection to select which classes or code to use, but it does not sufficiently prevent the input from selecting improper classes or code.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability allows an authenticated attacker to submit an arbitrary PHP class name via the embed_key parameter to multiple embed API endpoints. The application passes this class to the Laravel service container, which instantiates the class and its dependencies through the constructor. This could lead to unauthorized integrity or availability impacts. The attacker cannot specify constructor parameters or invoke arbitrary methods. The issue was fixed in version 9.23.0.

Detection Guidance

Check if your code16/sharp version is below 9.22.6 by inspecting composer.lock or running composer show code16/sharp. Review API endpoints using embed_key for improper class instantiation. Look for logs showing attempts to instantiate arbitrary classes via embed_key.

Impact Analysis

An attacker could exploit this to instantiate arbitrary PHP classes, potentially causing unintended behavior or disruptions in the application. This may lead to data corruption, service outages, or unauthorized access to sensitive functions. The impact is limited to authenticated users and requires no user interaction beyond initial access.

Compliance Impact

This vulnerability could lead to unauthorized data access or integrity breaches, which may violate GDPR's data protection principles or HIPAA's security requirements for protected health information. Organizations using affected versions may face compliance risks due to potential unauthorized data exposure or system disruptions.

Mitigation Strategies

Upgrade code16/sharp to version 9.22.6 or later immediately. Ensure embed_key validation restricts input to SharpFormEditorEmbed subclasses only. Monitor logs for suspicious embed_key usage attempts.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-84974. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...