Path traversal in Camaleon CMS - CVE-2024-46986
Published: September 18, 2024 / Updated: November 9, 2026
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.