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

- Severity: Medium 5.4 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 15% of CVEs (2026-12-01)
- Published: 2026-11-12T18:21:00.000Z
- Modified: 2026-11-17T23:18:01.787Z
- Also known as: GHSA-g6f8-c3x9-jv7f
- Weaknesses: CWE-20, CWE-625, CWE-918
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- code16 sharp: < 9.23.0
- code16/sharp (Packagist): before 9.23.0; from 10.0.0-beta.1 before 10.0.0-beta.4

## Every score

- GitHub_M: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N`
- GitHub: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N`

## References

- <https://github.com/code16/sharp/security/advisories/GHSA-g6f8-c3x9-jv7f> (web)
- <https://github.com/code16/sharp/pull/748> (web)
- <https://github.com/code16/sharp/commit/339f89110f36d06eaad3f2b4bd048fa5424e5558> (web)
- <https://github.com/code16/sharp/releases/tag/v9.23.0> (web)
- <https://github.com/code16/sharp> (package)
- <https://github.com/code16/sharp/tree/v10.0.0-beta.4> (web)

## Sources

- CVE List: [CVE-2026-84987](https://www.cve.org/CVERecord?id=CVE-2026-84987), CVE Terms of Use, modified 2026-11-17
- GitHub Advisory Database: [GHSA-g6f8-c3x9-jv7f](https://github.com/advisories/GHSA-g6f8-c3x9-jv7f), CC-BY-4.0, modified 2026-11-12
- NVD: [CVE-2026-84987](https://nvd.nist.gov/vuln/detail/CVE-2026-84987), Public domain, modified 2026-11-17

---

Page: https://cve.day/CVE-2026-84987 · Whole record: https://cve.day/CVE-2026-84987.json · Rebuilt by cve.day 2026-11-25T22:59:51.015Z
