CVE-2026-23885
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedAlchemy 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()`.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceAlchemy CMS uses eval() to dynamically execute the resource_handler.engine_name attribute in app/helpers/alchemy/resources_helper.rb. Since engine_name is sourced from module definitions influenced by administrative configurations, an authenticated attacker can escape the Ruby sandbox and execute arbitrary OS commands.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data< 7.4.12>= 8.0.0, < 8.0.3CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- Low
- User interaction
- None
- Scope
- Changed
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Identify installed Alchemy CMS versionCheck your Gemfile, Gemfile.lock, or run `bundle show alchemy_cms` to obtain the installed versionAffected if The version is less than 7.4.12 or greater than or equal to 8.0.0 but less than 8.0.3
-
Locate the vulnerable fileSearch for app/helpers/alchemy/resources_helper.rb in your Alchemy CMS installation directoryAffected if The file exists in your codebase
-
Verify the vulnerable eval() patternInspect the resources_helper.rb file and search for `eval()` being called on `engine_name` or `resource_handler.engine_name`Affected if The file contains an eval() call that executes the engine_name attribute dynamically
-
Confirm resource handling feature is accessibleVerify that the resources controller and resource helper are being used in your application routes or controllersAffected if The resource_handler feature is loaded and accessible to authenticated users
Your environment is affected if the installed Alchemy CMS version falls within the vulnerable ranges AND the eval()-based engine_name execution pattern exists in resources_helper.rb.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scoped7.4.128.0.3
Upgrade to Alchemy CMS versions 7.4.12 or 8.0.3 which replace the dangerous eval() call with send().
Alchemy Cms 7.4.12 (for 7.x users) or 8.0.3 (for 8.x users)
- Determine your current Alchemy Cms version by checking your Gemfile or gem lock file
- If using Alchemy Cms 7.x series, upgrade to version 7.4.12 or later: run `bundle update alchemycms` or specify `gem 'alchemy_cms', '~> 7.4.12'` in your Gemfile
- If using Alchemy Cms 8.x series, upgrade to version 8.0.3 or later: run `bundle update alchemycms` or specify `gem 'alchemy_cms', '~> 8.0.3'` in your Gemfile
- Run `bundle install` to install the updated gem
- Verify the fix by confirming the eval() call in app/helpers/alchemy/resources_helper.rb has been replaced with send()
- Run your application's test suite to ensure functionality is intact
- Deploy the updated version to production
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation2.0 h
- Implementation3.0 h
- Testing4.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $3,040.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2026-23885 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2026-23885 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data