← 漏洞与更新

中危漏洞公告PHPLaravel

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

受影响

软件包受影响版本修复版本
composer:code16/sharp< 9.23.09.23.0
composer:code16/sharp>= 10.0.0-beta.1, < 10.0.0-beta.410.0.0-beta.4

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 ad…

在 GitHub Advisory Database 阅读

2026/11/13 03:18,GitHub Advisory Database 发布了“code16/sharp: Arbitrary class instantiation through the embed_key API parameter”(类型:漏洞公告)。严重程度为“中危”(medium)。相关技术:PHP、Laravel。CVE:CVE-2026-84974。