NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Composer (PHP)

CVE-2026-84987: code16/sharp: Server-side request forgery through an unanchored autocomplete endpoint check

mediumCVSS 3.1 5.4GHSA-g6f8-c3x9-jv7f

Impact An authenticated attacker can call the Autocomplete API with the configured endpoint as a substring to request another server-side route. Patches The problem has been patched in 9.23.0 and pre-release version 10.0.0-beta.4. The regex verifying the endpoint has been anchored to forbid substring injection.

Published Nov 12, 2026

Affected packages

code16/sharp

Ecosystem
Composer (PHP)
Affected
< 9.23.0
Fixed in
9.23.0
Check
composer show code16/sharp

code16/sharp

Ecosystem
Composer (PHP)
Affected
>= 10.0.0-beta.1, < 10.0.0-beta.4
Fixed in
10.0.0-beta.4
Check
composer show code16/sharp

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

Impact

An authenticated attacker can call the Autocomplete API with the configured endpoint as a substring to request another server-side route.

Patches

The problem has been patched in 9.23.0 and pre-release version 10.0.0-beta.4. The regex verifying the endpoint has been anchored to forbid substring injection.

Workarounds

Use SharpFormAutocompleteRemoteField::setRemoteCallback() instead of SharpFormAutocompleteRemoteField::setRemoteEndpoint().

Credited to The4v1.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Composer (PHP) vulnerabilities

All Composer (PHP) entries