CVE Catalog

CVE-2026-84987

MediumCVSS 5.4
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.24%

15th percentile - higher than 15% of all known CVEs

Summary

In the Laravel-based Sharp framework, 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. Applications using SharpFormAutocompleteRemoteField::setRemoteCallback() are not affected by this endpoint-selection flaw.

Risk Assessment

An authenticated attacker can invoke arbitrary internal server routes through the autocomplete API, potentially leading to unauthorized access to internal functionality. A valid application account is required.

Recommendation

Update Sharp to version 9.23.0 or later. Check whether the application uses SharpFormAutocompleteRemoteField::setRemoteEndpoint() and restrict access to the autocomplete API if needed.

Other vulnerabilities in Sharp

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS