{"cve":"CVE-2026-23885","nvd":{"published":"2026-01-19T22:16:02.453","modified":"2026-06-17T10:22:15.387","status":"Analyzed","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()`.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","score":9.9},"cwes":["CWE-95"],"references":["https://github.com/AlchemyCMS/alchemy_cms/commit/55d03ec600fd9e07faae1138b923790028917d26","https://github.com/AlchemyCMS/alchemy_cms/commit/563c4ce45bf5813b7823bf3403ca1fc32cb769e7","https://github.com/AlchemyCMS/alchemy_cms/releases/tag/v7.4.12","https://github.com/AlchemyCMS/alchemy_cms/releases/tag/v8.0.3","https://github.com/AlchemyCMS/alchemy_cms/security/advisories/GHSA-2762-657x-v979"],"products":["alchemy-cms:alchemy_cms"],"source":"nvd","synced_at":"2026-10-19T22:21:16.563232421+00:00"},"epss":{"cve":"CVE-2026-23885","score":0.00472,"percentile":0.40863,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-2762-657x-v979","url":"https://osv.dev/vulnerability/GHSA-2762-657x-v979","summary":"AlchemyCMS: Authenticated Remote Code Execution (RCE) via eval injection in ResourcesHelper","modified":"2026-02-03T03:13:41.820036Z","packages":[{"ecosystem":"RubyGems","name":"alchemy_cms","purl":"pkg:gem/alchemy_cms","ranges":["<7.4.12"],"fixed":["7.4.12"]},{"ecosystem":"RubyGems","name":"alchemy_cms","purl":"pkg:gem/alchemy_cms","ranges":[">=8.0.0.a <8.0.3"],"fixed":["8.0.3"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}