SecurityContext

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

IdName
CWE-95Improper Neutralization of Directives in Dynamically Evaluated Code

Public exploits

UrlSourceAdded date
https://github.com/TheDeepOpc/CVE-2026-23885poc-in-github2026-01-20

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/AlchemyCMS/alchemy_cms/commit/55d03ec600fd9e07faae1138b923790028917d26Patch
https://github.com/AlchemyCMS/alchemy_cms/commit/563c4ce45bf5813b7823bf3403ca1fc32cb769e7Patch
https://github.com/AlchemyCMS/alchemy_cms/security/advisories/GHSA-2762-657x-v979Vendor Advisory
https://github.com/AlchemyCMS/alchemy_cms/releases/tag/v7.4.12Release Notes
https://github.com/AlchemyCMS/alchemy_cms/releases/tag/v8.0.3Release Notes

Products

ProductAffectedPlatform boundSourcesUrl
alchemy-cms:alchemy_cms>= 8.0.0, < 8.0.3; < 7.4.12nonvd/v1/products/alchemy-cms/alchemy_cms

Projects

RepositoryLink kindsIndexedUrl
AlchemyCMS/alchemy_cmscommit, package, releases, security_advisoryyes/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