Quick answers
- Is CVE-2026-8740 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2026-8740 being exploited in the wild.
- How severe is CVE-2026-8740?
- Medium severity, with a CVSS score of 6.3, published 17 May 2026.
- Which products and versions are affected?
- Sanluan PublicCMS 5.202506.d.
- Is there a fix for CVE-2026-8740?
- No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
- How is CVE-2026-8740 attacked?
- It is attacked over the network, in a network appliance.
- Am I affected by CVE-2026-8740?
- Check whether you run Sanluan PublicCMS 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.
Technical details
A Server-Side Template Injection (SSTI) vulnerability exists in the `templateResult` API of Sanluan PublicCMS 5.202506.d. The flaw is located in the `execute` function of `TemplateResultDirective.java`, where user-provided `templateContent` is evaluated as a FreeMarker template using the full web configuration. While direct HTTP access to sensitive directives is protected by `authorizedApis` checks, these checks are bypassed when directives are invoked internally via a template. An authenticated attacker with a low-privilege app token can exploit this to execute internal directives like `tools.systemProperties` or `tools.disk`, leading to the disclosure of server-side information. No official patch has been released by the vendor as of the disclosure date.
Affected products
- Sanluan PublicCMS 5.202506.d
Timeline
- 2026-05-17: disclosed: Vulnerability details and PoC published via VulDB and NVD.
- 2026-05-17: advisory