CVE-2026-109310
6.5MediumPublished 12 Oct 2026 · NVD status: Deferred · AI triage by gemini-3.8-flash
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
- Impact
- High impact on availability
- Weakness
- CWE-770
Impact
Attackers can crash the server by triggering an OOM-kill with a single HTTP request. An attacker needs publish reader access, or unauthenticated network access if publish authentication is disabled.
Root cause
The /api/icon/getDynamicIcon endpoint evaluates Sprig templates without restricting functions like 'until', allowing uncontrolled memory allocation.
Affected systems
SiYuan v3.1.12 before v3.8.6
CVSS v3.1 · CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Fix & remediation
Upgrade SiYuan to version v3.8.6 or later. If patching immediately is not possible, enable publish authentication or block access to the /api/icon/getDynamicIcon endpoint at the reverse proxy.
$ docker pull b3log/siyuan:v3.8.6AI-suggested. Run it in staging first and check it against the vendor advisory. Why?
NVD description
SiYuan v3.1.12 before v3.8.6 fails to restrict the Sprig template function map in the /api/icon/getDynamicIcon content parameter, allowing resource exhaustion. A publish reader, or anyone when publish auth is disabled, can use uncapped functions like until to OOM-kill the kernel with one request.