CVE-2026-23885: Alchemy - Command Injection
- Cve: CVE-2026-23885
- Name: Alchemy - Command Injection
- 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()`.
- Impact: Authenticated attackers can execute arbitrary system commands, potentially leading to full system compromise.
- Remediation: Upgrade to versions 7.4.12 or 8.0.3 or later.
- Vulnerability type: command_injection
- Vulnerability impact: remote_code_execution
- Requirement type: logged_in
- Requirements: Attacker must be authenticated with administrative configuration access
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.9
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
- Epss score: 0.00472
- Epss percentile: 0.41376
- Assignee: [email protected]
- Published at: 2026-01-19T22:16:02Z
- Age in days: 309
- Modified at: 2026-06-17T10:22:15Z
- Patch available: yes
- Public exploits total: 1
- References total: 5
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-23885
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-95 | Improper Neutralization of Directives in Dynamically Evaluated Code |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/TheDeepOpc/CVE-2026-23885 | poc-in-github | 2026-01-20 |
References
Same in every row:
- Source: nvd
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| alchemy-cms:alchemy_cms | >= 8.0.0, < 8.0.3; < 7.4.12 | no | nvd | /v1/products/alchemy-cms/alchemy_cms |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| AlchemyCMS/alchemy_cms | commit, package, releases, security_advisory | yes | /v1/repositories/AlchemyCMS/alchemy_cms |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2026-01-20
- Remote: yes
- Authentication required: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts