# CVE-2024-46987: Arbitrary path traversal in Camaleon CMS

- Severity: High 7.7 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N`
- 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): 14.6%, higher than 96% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-09-18T15:46:53.000Z
- Modified: 2026-06-17T07:56:19.257Z
- Also known as: GHSA-cp65-5m9r-vc2c
- Weaknesses: CWE-22, CWE-200
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

Camaleon CMS is a dynamic and advanced content management system based on Ruby on Rails. A path traversal vulnerability accessible via MediaController's download_private_file method allows authenticated users to download any file on the web server Camaleon CMS is running on (depending on the file permissions). This issue may lead to Information Disclosure. 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; from 2.8.0 before 2.8.2
- camaleon_cms (RubyGems): before 2.8.1

## Every score

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

## References

- <https://github.com/owen2345/camaleon-cms/security/advisories/GHSA-cp65-5m9r-vc2c> (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-46987> (advisory)
- <https://github.com/owen2345/camaleon-cms/commit/071b1b09d6d61ab02a5960b1ccafd9d9c2155a3e> (web)
- <https://github.com/owen2345/camaleon-cms> (package)
- <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/camaleon_cms/CVE-2024-46987.yml> (web)

## Sources

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

---

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