Improper Neutralization of Special Elements Used in a Template Engine in Chamilo LMS - CVE-2026-61558

 

Improper Neutralization of Special Elements Used in a Template Engine in Chamilo LMS - CVE-2026-61558

Published: August 4, 2026


Vulnerability identifier: #VU140922
CSH Severity: Low
CVSS v4: 8.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-61558
CWE-ID: CWE-1336
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote user to execute arbitrary code.

The vulnerability exists due to improper neutralization of special elements used in a template engine in the mail template renderer when compiling a stored mail template from a raw string with the non-sandboxed Twig environment. A remote privileged user can place a crafted Twig payload in the editable mail template to execute arbitrary code.

Execution is triggered when the approval mail is built during new user self-registration if admin approval of accounts is enabled.


Affected software

Chamilo LMS

How to mitigate CVE-2026-61558

Install security update from vendor's website.

Chamilo LMS - addressed in versions 1.11.40, 2.0.3

External References