CVE-2026-23885 Details
Description
Alchemy is an open source content management system engine written in Ruby on Rails. Prior to versions 7.4.12 and 8.0.3, the application uses the Ruby `eval()` function to dynamically execute a string provided by the `resource_handler.engine_name` attribute in `Alchemy::ResourcesHelper#resource_url_proxy`. The vulnerability exists in `app/helpers/alchemy/resources_helper.rb` at line 28. The code explicitly bypasses security linting with `# rubocop:disable Security/Eval`, indicating that the use of a dangerous function was known but not properly mitigated. Since `engine_name` is sourced from module definitions that can be influenced by administrative configurations, it allows an authenticated attacker to escape the Ruby sandbox and execute arbitrary system commands on the host OS. Versions 7.4.12 and 8.0.3 fix the issue by replacing `eval()` with `send()`.
A remote code execution vulnerability has been identified in AlchemyCMS versions prior to 7.4.12 and 8.0.3. The issue arises in the ResourcesHelper module, where the eval() function is used to execute a string from the resource_handler.engine_name attribute. This implementation bypasses security linting, indicating a known risk that was not properly addressed. The vulnerability allows authenticated attackers to escape the Ruby sandbox and execute arbitrary commands on the host operating system. Exploitation requires local file access to the Alchemy project or the source on a remote server to manipulate the module configuration.
Users can upgrade to AlchemyCMS versions 7.4.12 or 8.0.3, which address the vulnerability by replacing eval() with public_send() in the resource_url_proxy method.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jan 21, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-95 | Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| alchemy-cms alchemy cms | < 7.4.12 >= 8.0.0, < 8.0.3 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 9, 2026 | Initial Analysis | [email protected] |
| Jan 21, 2026 | CVE Modified | [email protected] |
| Jan 19, 2026 | New CVE Received | [email protected] |