Path traversal in Camaleon CMS - CVE-2024-46986

 

Path traversal in Camaleon CMS - CVE-2024-46986

Published: September 18, 2024 / Updated: November 9, 2026


Vulnerability identifier: #VU162672
CSH Severity: Medium
CVSS v4: 8.7 [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]
CVE-ID: CVE-2024-46986
CWE-ID: CWE-22
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows an authenticated attacker to write arbitrary files on the Camaleon CMS server, subject to filesystem permissions.

The vulnerability exists due to unchecked path traversal in the MediaController upload endpoint when a registered user supplies a crafted folder parameter. An authenticated attacker can upload a Ruby file into config/initializers/ outside the upload directory and execute code when the Rails application restarts.


Affected software

Camaleon CMS

How to mitigate CVE-2024-46986

Install security update from vendor's website.

Camaleon CMS - update to 2.8.2

External References

Related Security Bulletins