What’s Vulnerable › Vulnerabilities
CVE-2024-46986: Arbitrary file write leading to RCE in Camaleon CMS
- Severity: critical (CVSS 9.9 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 37.1% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2024-09-18 · updated 2026-06-17
- Weakness: CWE-74
Description
Camaleon CMS is a dynamic and advanced content management system based on Ruby on Rails. An arbitrary file write vulnerability accessible via the upload method of the MediaController allows authenticated users to write arbitrary files to any location on the web server Camaleon CMS is running on (depending on the permissions of the underlying filesystem). E.g. This can lead to a delayed remote code execution in case an attacker is able to write a Ruby file into the config/initializers/ subfolder of the Ruby on Rails application. This issue has been addressed in release version 2.8.2. Users are advised to upgrade. There are no known workarounds for this vulnerability.
Affected products
- owen2345 camaleon-cms: before 2.8.2 — fixed in 2.8.2
How to fix
Upgrade to a fixed version: owen2345 camaleon-cms 2.8.2. Check the vendor advisory for mitigations.
References
- https://codeql.github.com/codeql-query-help/ruby/rb-path-injection
- https://github.com/owen2345/camaleon-cms/security/advisories/GHSA-wmjg-vqhv-q5p5
- https://owasp.org/www-community/attacks/Path_Traversal
- https://securitylab.github.com/advisories/GHSL-2024-182_GHSL-2024-186_Camaleon_CMS
- https://www.reddit.com/r/rails/comments/1exwtdm/camaleon_cms_281_has_been_released
Get alerted when CVE-2024-46986 or the next vulnerability affects your stack