All vulnerabilities

Servers and applications

CVE-2026-34587

Server-Side Template Injection (SSTI) via double template resolution in option rendering

Severity
High 7.6
Published
23 Apr 2026
Last changed
26 Oct 2026
Added to UpHeron
1 Nov 2026
Fixed in
4.9.0, 5.4.0
Exploit chance
0.3% in the next 30 daysHigher than 27% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
Server-side template injection (CWE-1336)
Attack
Over the network · Only under certain conditions · Needs a user account · No user action needed
Attacker can
Read data · Change data
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Also known as
GHSA-jcjw-58rv-c452
Sources
NVD, Project advisories (GitHub)

Description

This vulnerability affects all Kirby sites that use option fields (checkboxes, color, multiselect, select, radio, tags or toggles) with options from a query or API whose values may not be fully trusted. It also affects direct uses of the OptionsApi or OptionsQuery classes of Kirby's Options package from plugin or site code. The attack requires either an attacker in the group of authenticated Panel users or user interaction of another authenticated user.

Server-Side Template Injection vulnerabilities (SSTI) occur when user input is embedded in a template in an unsafe manner and results in remote code execution on the server.

Injected user input is wrongly treated as a template command instead of as a literal string of text. This allows attackers to query arbitrary information from the affected system or call arbitrary methods to perform actions.

In a Kirby site this can be used to access protected site information, alter site content or break site behavior.

From getkirby/kirby's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
KirbyServers and applications · cpe:a:getkirby:kirby
  • Every version before 4.9.0
  • From 5.0.0 before 5.4.0
KirbyServers and applications · github:getkirby/kirby
  • From 5.0.0 before 5.4.0

About Kirby

proprietary flat-file content management system

From Wikidata, CC0 1.0.
Monthly downloads (Packagist)
52,017Packagist, 15 Nov 2026
Total downloads (Packagist)
731,120Packagist, 15 Nov 2026
GitHub stars
1,539GitHub, 15 Nov 2026
Forks
195GitHub, 15 Nov 2026
Latest release
5.6.3GitHub, 15 Nov 2026
Released
5 Nov 2026GitHub
Written in
PHP, Vue.jsWikidata
First published on GitHub
6 Oct 2017GitHub

Release lines

ReleaseLatestSecurity fixes
55.6.3Yes
3.103.10.1.2Ended 27 Nov 2025
4 (A new era)4.9.7Until 28 Nov 2026
3.9 (Brookesia)3.9.8.3Ended 27 Nov 2025
3.8 (Rhampholeon)3.8.4.4Ended 16 Jan 2025
3.7 (Kinyongia)3.7.5.5Ended 5 Oct 2024

From endoflife.date.

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2026-34587
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-34587
  • GitHub Advisory Database https://github.com/advisories/GHSA-jcjw-58rv-c452
  • github.com https://github.com/getkirby/kirby/security/advisories/GHSA-jcjw-58rv-c452