# CVE-2026-23885: AlchemyCMS has Authenticated Remote Code Execution (RCE) via eval injection in ResourcesHelper

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.4
- **CVSS:** 6.4 (v3.1, CNA) `CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: High; Privileges required: High; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.55% (percentile 40, 2026-11-26)
- **CWE:** CWE-95
- **Aliases:** GHSA-2762-657x-v979
- **Published:** 2026-01-19T21:09:06.757Z
- **Modified:** 2026-06-17T10:22:15.387Z

## Who should check

- Projects that depend on RubyGems package alchemy\_cms (\< 7.4.12)
- Anyone running AlchemyCMS alchemy\_cms \< 7.4.12; \>= 8.0.0.a, \< 8.0.3

## 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()\`.

## Affected and fixed versions

- RubyGems `alchemy_cms`: affected \< 7.4.12; fixed 7.4.12, 8.0.3 (osv)
- AlchemyCMS alchemy\_cms: \< 7.4.12; \>= 8.0.0.a, \< 8.0.3 (cvelist)

## Mitigation

- Upgrade alchemy\_cms to one of 7.4.12, 8.0.3 (or later in the same release line).

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-23885. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-23885.md
Affected: alchemy_cms < 7.4.12
Fixed in: 7.4.12, 8.0.3

Steps:
1. Search this machine and project for alchemy_cms (RubyGems), AlchemyCMS alchemy_cms: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-23885 being exploited?

There is no confirmed exploitation: CVE-2026-23885 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.55% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-23885?

Medium: CVSS 6.4 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2026-23885?

alchemy\_cms \< 7.4.12.

### Is there a fix for CVE-2026-23885?

Yes. Fixed in 7.4.12, 8.0.3. Upgrade alchemy\_cms to one of 7.4.12, 8.0.3 (or later in the same release line).

### How do I check if I'm affected by CVE-2026-23885?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/AlchemyCMS/alchemy_cms/security/advisories/GHSA-2762-657x-v979>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2026-23885>
- patch: <https://github.com/AlchemyCMS/alchemy_cms/commit/55d03ec600fd9e07faae1138b923790028917d26>
- patch: <https://github.com/AlchemyCMS/alchemy_cms/commit/563c4ce45bf5813b7823bf3403ca1fc32cb769e7>
- other: <https://github.com/AlchemyCMS/alchemy_cms/releases/tag/v7.4.12>
- other: <https://github.com/AlchemyCMS/alchemy_cms/releases/tag/v8.0.3>
- other: <https://github.com/AlchemyCMS/alchemy_cms>
- other: <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/alchemy_cms/CVE-2026-23885.yml>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-23885>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-2762-657x-v979> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-23885> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-23885>
