# CVE-2024-46986: Arbitrary file write leading to RCE in Camaleon CMS

- Severity: Critical 10.0 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 37.1%, higher than 98% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-09-18T14:39:03.000Z
- Modified: 2026-06-17T07:56:19.143Z
- Also known as: GHSA-wmjg-vqhv-q5p5
- Weaknesses: CWE-22, CWE-74
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- owen2345 camaleon-cms: < 2.8.2
- tuzitio camaleon_cms: before 2.8.2
- camaleon_cms (RubyGems): from 2.8.0 before 2.8.1

## Every score

- GitHub_M: CVSS:3.1 10.0 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- GitHub: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 9.9 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`

## References

- <https://github.com/owen2345/camaleon-cms/security/advisories/GHSA-wmjg-vqhv-q5p5> (exploit, third-party-advisory, web)
- <https://codeql.github.com/codeql-query-help/ruby/rb-path-injection> (third-party-advisory, web)
- <https://owasp.org/www-community/attacks/Path_Traversal> (issue-tracking, web)
- <https://securitylab.github.com/advisories/GHSL-2024-182_GHSL-2024-186_Camaleon_CMS> (advisory)
- <https://www.reddit.com/r/rails/comments/1exwtdm/camaleon_cms_281_has_been_released> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-46986> (advisory)
- <https://github.com/owen2345/camaleon-cms/commit/b3b12b1e4a9e3fccaf5bb4330820fa7f8744e6bd> (web)
- <https://github.com/owen2345/camaleon-cms> (package)
- <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/camaleon_cms/CVE-2024-46986.yml> (web)

## Sources

- CVE List: [CVE-2024-46986](https://www.cve.org/CVERecord?id=CVE-2024-46986), CVE Terms of Use, modified 2025-04-17
- GitHub Advisory Database: [GHSA-wmjg-vqhv-q5p5](https://github.com/advisories/GHSA-wmjg-vqhv-q5p5), CC-BY-4.0, modified 2025-04-17
- NVD: [CVE-2024-46986](https://nvd.nist.gov/vuln/detail/CVE-2024-46986), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-46986 · Whole record: https://cve.day/CVE-2024-46986.json · Rebuilt by cve.day 2026-11-25T22:58:45.614Z
