Quick answers
- Is CVE-2026-84987 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2026-84987 being exploited in the wild.
- How severe is CVE-2026-84987?
- Medium severity, with a CVSS score of 5.4, published 12 November 2026.
- Which products and versions are affected?
- Code16 Sharp < 9.23.0, >= 10.0.0-beta.1 and < 10.0.0-beta.4; code16/sharp (Packagist) < 9.23.0.
- Is there a fix for CVE-2026-84987?
- Yes: fixed in 9.23.0, 10.0.0-beta.4. Until then: Use SharpFormAutocompleteRemoteField::setRemoteCallback() instead of SharpFormAutocompleteRemoteField::setRemoteEndpoint() to avoid the vulnerable endpoint validation logic.</anigation> <parameter name="timeline">[{"kind":"disclosed","at":"2026-07-17"},{"kind":"advisory","at":"2026-11-12"}] Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2026-84987 attacked?
- It is attacked over the network.
- Am I affected by CVE-2026-84987?
- Check whether you run Code16 Sharp or code16/sharp (Packagist) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
- Fixed in: 9.23.0, 10.0.0-beta.4
Use SharpFormAutocompleteRemoteField::setRemoteCallback() instead of SharpFormAutocompleteRemoteField::setRemoteEndpoint() to avoid the vulnerable endpoint validation logic.</anigation> <parameter name="timeline">[{"kind":"disclosed","at":"2026-07-17"},{"kind":"advisory","at":"2026-11-12"}]
Technical details
The vulnerability is a server-side request forgery (SSRF) caused by an unanchored regex that validates autocomplete API endpoints. An authenticated attacker can pass the configured endpoint as a substring in a crafted request to bypass the check and target arbitrary server routes. The fix anchors the regex pattern to prevent substring injection attacks.
Affected products
- code16 sharp < 9.23.0, >= 10.0.0-beta.1 and < 10.0.0-beta.4
Identifiers
- CVE-2026-84987
- GHSA-g6f8-c3x9-jv7f