AlchemyCMS has Authenticated Remote Code Execution (RCE) via eval injection in ResourcesHelper
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-95.
Summary
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()`.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| AlchemyCMS | alchemy_cms | before 7.4.12; 8.0.0.a to before 8.0.3 | 7.4.12, 8.0.3 | Patch available | CNA |
| — | alchemy_cms (RubyGems) | before 7.4.12 | 7.4.12 | Patch available | GHSA-2762-657x-v979 |
| — | alchemy_cms (RubyGems) | 8.0.0.a to before 8.0.3 | 8.0.3 | Patch available | GHSA-2762-657x-v979 |
- alchemy_cms VendorAlchemyCMS Affected before 7.4.12; 8.0.0.a to before 8.0.3 Fixed in 7.4.12, 8.0.3 Patch available CNA
- alchemy_cms (RubyGems) Vendor— Affected before 7.4.12 Fixed in 7.4.12 Patch available GHSA-2762-657x-v979
- alchemy_cms (RubyGems) Vendor— Affected 8.0.0.a to before 8.0.3 Fixed in 8.0.3 Patch available GHSA-2762-657x-v979
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:alchemy-cms:alchemy_cms:*:*:*:*:*:*:*:* | before 7.4.12; 8.0.0 to before 8.0.3 | Vulnerable | AlchemyCMS |
- cpe:2.3:a:alchemy-cms:alchemy_cms:*:*:*:*:*:*:*:* Versions before 7.4.12; 8.0.0 to before 8.0.3 Vulnerable ·AlchemyCMS
Remediation
- Fix · CNA alchemy_cms (AlchemyCMS) Fixed in 7.4.12, 8.0.3
- Fix · GHSA-2762-657x-v979 alchemy_cms (RubyGems) Fixed in 7.4.12 Advisory →
- Fix · GHSA-2762-657x-v979 alchemy_cms (RubyGems) Fixed in 8.0.3 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-23885
- 2026-10-03 Alias added: GHSA-2762-657x-v979
References
Patch 2
Advisory 2
More AlchemyCMS Alchemy Cms vulnerabilities
- TI-2018-12927 A Stored XSS vulnerability has been discovered in version 4.1.0 of AlchemyCMS via the… CVSS 3.0MEDIUM 6.1
Sources
- CVE-2026-23885 · CVE Program
- CVE-2026-23885 · NVD
- FIRST EPSS
- GHSA-2762-657x-v979 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences