Camaleon CMS (2.1.1 to 2.9.1) contains an authenticated RCE vulnerability
Published: July 31, 2026
SECURITY IDENTIFIERS
- CVE: CVE-2026-66748 (NVD)
- GHSA: GHSA-7xm9-634w-f5r7
GEM
SEVERITY
CVSS v3.x: 8.8 (High)
UNAFFECTED VERSIONS
< 2.1.1
PATCHED VERSIONS
>= 2.9.2
DESCRIPTION
Camaleon CMS versions 2.1.1 through 2.9.1 contains an authenticated remote code execution (RCE) vulnerability that allows users with custom_fields manage permission to execute arbitrary Ruby code by supplying a malicious expression through the select_eval custom field type. Attackers can store an attacker-controlled Ruby expression in the field options command parameter, which is evaluated via instance_eval within an ERB view whenever a post edit page is rendered, achieving server-side code execution with web server process privileges.
RELATED
- https://nvd.nist.gov/vuln/detail/CVE-2026-66748
- https://rubygems.org/gems/camaleon_cms/versions/2.9.2
- https://github.com/owen2345/camaleon-cms/releases/tag/2.9.2
- https://github.com/owen2345/camaleon-cms/commit/158823668e2e5c3114a69b34cf1c96cb41533c5f
- https://github.com/owen2345/camaleon-cms/pull/1136
- https://github.com/theopaid/Camaleon-CMS---Authenticated-RCE-via-select_eval-Custom-Field
- https://www.vulncheck.com/advisories/camaleon-cms-authenticated-rce-via-select-eval-custom-field
- https://tpaidakis.com/writeups/camaleon-cms-rce-select-eval
- https://enrik-m.github.io/posts/Camaleon-CMS-Vulnerabilties
- https://github.com/advisories/GHSA-7xm9-634w-f5r7
