Skip to content
Threat Brief

← All advisories

CVE-2026-84987

Medium 5.4No known exploitationFix available

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

Vendor advisory: GHSA-g6f8-c3x9-jv7f

Record last updated

CVSS score

5.4

Medium on a 0 to 10 scale

EPSS, chance of exploitation in 30 days

0.3%

Higher than 22% of scored CVEs. A prediction, not evidence.

CISA remediation deadline

None

Not in the KEV catalog

Description

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.

Weakness: CWE-20, CWE-625, CWE-918

Patching and mitigation

Patch status
Fix available (source: GitHub Advisory Database)
Fix documented (source date)
Mitigation
None documented
Vendor guidance
github.com (opens in a new tab)

Affected products

VendorProductAffected versionsFixed inPer
composercode16/sharpfrom 10.0.0-beta.1 before 10.0.0-beta.410.0.0-beta.4GitHub Advisory Database
composercode16/sharpall versions before 9.23.09.23.0GitHub Advisory Database

Timeline

  1. Patch

    Fix documented by GitHub Advisory Database

    Source: GitHub Advisory Database (opens in a new tab)

Vendor guidance and references