Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to Sharp admin panel
-
ExploitCall embed API with malicious embed_key
-
ExecutionLaravel container instantiates arbitrary class
-
ImpactConstructor side effects alter integrity/availability
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V15 - Secure Coding and Architecture Reflection safety, class allowlisting
|
| Exploitation Conditions | Requires an authenticated session on the Sharp admin panel (CVSS PR:L); the attacker then supplies the embed_key parameter across the embed API endpoints (e.g. code16.sharp.api.embed.instance.form.show/update) with a dot-delimited class name that Laravel resolves and instantiates. Exploitation is bounded by three limits: valid back-office authentication is mandatory, the attacker cannot control constructor parameter values or call arbitrary methods, and impact exists only when a resolvable class's __construct() has meaningful side effects. There is no default-config unauthenticated path. No workarounds exist per the vendor; upgrading to 9.23.0 or 10.0.0-beta.4 is the only fix. |
| Impact | This is a genuine but mid-tier issue, not a top-priority emergency. The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L, base 5.4 Medium) requires the attacker to already hold valid authenticated access to the Sharp admin panel (PR:L), which materially limits the exploit population to users who can reach and log into the back office. No EPSS score was supplied, and the vulnerability is NOT in CISA KEV, so there is no evidence of active exploitation. The exploitation status is best described as no public exploit identified at time of analysis - the only code references provided (PR #750 and commit dfafb44) are the vendor fix, not working exploit code. The vendor-assigned impacts are limited (C:N, I:L, A:L) and are consistent with the described mechanism: CWE-470 unsafe reflection where the attacker controls which class Laravel instantiates but cannot pass constructor arguments, read return values, or call arbitrary methods, so impact is confined to whatever side effects a class's __construct() produces. Note a signal tension: the input carries an 'Information Disclosure' tag, yet the CVSS vector sets C:N, so confidentiality impact is not actually claimed by the supplied metrics - treat the information-disclosure framing as unverified. The vuln.today decision label is 'this_month', which aligns with a patch-on-normal-cadence posture rather than act-now urgency. |
| Exploit ScenarioDerived | An attacker who already holds an authenticated Sharp back-office session sends a crafted request to one of the embed API endpoints with the embed_key parameter set to a dot-delimited fully-qualified class name (e.g. App.Models.User), causing the Laravel container to instantiate that arbitrary class and run its constructor with auto-resolved dependencies. Because the attacker cannot supply constructor arguments or invoke methods, real impact depends on exploitable side effects in a reachable class's __construct(); no public exploit code was identified, and the CVSS complexity is low (AC:L) once authenticated. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 12, 2026
Authenticated users of the code16/sharp back-office framework can force the Laravel service container to instantiate an arbitrary application class by supplying a dot-delimited class name in the embed_key parameter on the embed API endpoints, causing that class's __construct() method to run and resolve its dependencies. The attacker cannot set constructor arguments or invoke methods afterwards, so the practical impact is limited to constructor side effects, which is reflected in the assessed CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L score of 5.4. The flaw affects composer/code16/sharp versions below 9.23.0 and 10.0.0-beta.1 through 10.0.0-beta.4, is fixed in 9.23.0 and 10.0.0-beta.4, and has no known workarounds; no public exploit or confirmed active exploitation was identified at time of analysis.
RemediationAI
Upgrade the code16/sharp dependency to 9.23.0 or later on the 9.x line, or to 10.0.0-beta.4 or later if you are tracking the 10.0.0 pre-releases; the vendor states this is the only fix, since the patch (PR https://github.com/code16/sharp/pull/750, commit https://github.com/code16/sharp/commit/dfafb44b11574e621bf0785f02c32b9866ab9923) adds an is_a check requiring embed_key to resolve to a class extending SharpFormEditorEmbed before the container instantiates it. The advisory explicitly notes that no known workarounds exist, so if upgrading is temporarily blocked the only practical containment is to restrict access, not to reconfigure Sharp: restrict or disable the embed API routes (for example by removing them from the route registration or fronting them with middleware that denies untrusted roles) and tighten back-office authentication and role assignment, since exploitation requires a valid authenticated session (CVSS PR:L) - at the cost of breaking embed form functionality for legitimate users. Applying the is_a guard as a local patch to the HandlesEmbed trait mirrors the upstream fix and should be tested against custom embed classes that may not extend SharpFormEditorEmbed before deployment. Advisory references: https://github.com/code16/sharp/security/advisories/GHSA-h24v-f482-8cwf and https://github.com/advisories/GHSA-h24v-f482-8cwf.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in composer, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Sharp is a Laravel-based admin panel framework distributed as the Composer package code16/sharp. The embed feature lets form fields render custom embed classes, and the API controllers behind routes such as code16.sharp.api.embed.instance.form.show and .update accepted the client-supplied embed_key, converted dots to namespace separators, and passed the resulting string straight to Laravel's app() container helper. That is CWE-470 (use of externally-controlled input to select classes or code, i.e. unsafe reflection): the container resolves and constructs whatever class name it receives, running __construct() and recursively resolving that constructor's type-hinted dependencies. The attack surface is bounded by the container API itself - no constructor arguments can be supplied and no post-construction methods can be invoked - so the exposure comes from side effects inside constructors of classes that happen to be autoloadable in the host application. The upstream fix (PR #750, commit dfafb44b11574e621bf0785f02c32b9866ab9923) inserts an is_a($embedClass, SharpFormEditorEmbed::class, true) guard that rejects any class not extending the embed base class, and adds tests asserting that a non-embed class such as the fixture User model now throws.
Know when PHP gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L
Network-reachable API with low complexity but mandatory authenticated access (PR:L); no confidentiality since the attacker cannot read output, with limited integrity/availability from constructor side effects only.
Primary rating from Vendor (https://github.com/code16/sharp).
CVSS VectorVendor: https://github.com/code16/sharp
DescriptionCVE.org
Impact
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.
Patches
The problem has been patched in 9.23.0 and pre-release version 10.0.0-beta.4. An additional check was added to verify that embed_key is a class extending SharpFormEditorEmbed before any instantiation.
Workarounds
No known workarounds.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
EUVD-2026-127133
GHSA-h24v-f482-8cwf
NVD
CVE.org
EPSS
VulDB
Exploit-DB