{"id":"CVE-2026-84987","published":"2026-11-17T17:42:04Z","modified":"2026-11-17T22:25:58Z","title":"code16/sharp: Server-side request forgery through an unanchored autocomplete endpoint check","vendor":"code16","product":"sharp","tier":"tail","description":{"text":"code16 Sharp is a Laravel-based framework for building content-management and administrative interfaces. Prior to 9.23.0, an authenticated attacker can call the autocomplete API with a request endpoint that contains the configured remote endpoint only as a substring. The endpoint validation uses an unanchored regular expression, so a different internal route can satisfy the check and be invoked server-side through the autocomplete request. The vulnerable path uses SharpFormAutocompleteRemoteField::setRemoteEndpoint(); applications using SharpFormAutocompleteRemoteField::setRemoteCallback() are not affected by this endpoint-selection flaw. This issue is fixed in version 9.23.0.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00235,"percentile":0.14485,"provenance":"source"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"},{"id":"CWE-625","name":"Permissive Regular Expression"},{"id":"CWE-918","name":"Server-Side Request Forgery"}],"references":[{"url":"https://github.com/code16/sharp/security/advisories/GHSA-g6f8-c3x9-jv7f","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/code16/sharp/pull/748","tags":["x_refsource_MISC"]},{"url":"https://github.com/code16/sharp/commit/339f89110f36d06eaad3f2b4bd048fa5424e5558","tags":["x_refsource_MISC"]},{"url":"https://github.com/code16/sharp/releases/tag/v9.23.0","tags":["x_refsource_MISC"]}],"priority":{"score":6.7,"factors":[{"name":"EPSS percentile","points":2.9},{"name":"CVSS severity","points":3.78}]},"vendorSlug":"code16","affectedVersions":[{"vendor":"code16","product":"sharp","versions":["< 9.23.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-11-17T22:16:22.031150Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"code16/sharp","vulnerableRanges":["<9.23.0",">=10.0.0-beta.1, <10.0.0-beta.4"],"patched":["9.23.0","10.0.0-beta.4"],"from":["GHSA-g6f8-c3x9-jv7f"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-127134","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-61823","published":"2026-09-24","fixed":"9.22.5","kev":false,"link":{"from":"CVE-2026-61823","to":"CVE-2026-84987","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:code16/sharp","fromFixed":"9.22.5","toFixed":"9.23.0","daysApart":54}]}},{"cve":"CVE-2026-61825","published":"2026-09-24","fixed":"9.22.5","kev":false},{"cve":"CVE-2026-84974","published":"2026-11-17","fixed":"10.0.0-beta.4","kev":false},{"cve":"CVE-2026-84987","published":"2026-11-17","fixed":"10.0.0-beta.4","kev":false}],"package":"Packagist:code16/sharp"}}