{"id":"CVE-2026-116009","kind":"vulnerability","aliases":["CVE-2026-116009"],"related":[],"title":"Camaleon CMS: media users can write ERB templates and execute code","description":"Camaleon CMS before 2.9.3 contains a path traversal vulnerability that allows users with only the media permission to write arbitrary files by supplying ../ sequences in the name parameter. Attackers can send a base64 data: URI to the crop_url media action to write an ERB template into a theme's views directory, which executes when rendered.","summary":"Camaleon CMS before 2.9.3 has a path traversal in the media crop_url action that lets a user with only media permission write arbitrary files using ../ sequences in the name parameter. The write can place an ERB template in a theme's views directory, which runs when the page renders, giving the attacker code execution on the server.","severity":"high","cvss":8.8,"epss":null,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["camaleon-cms","package","rails","ruby","self-hosted"],"not_affected_if":["admin-only-media","patched-version"],"how_to_check":"- Check the installed Camaleon CMS version in the Gemfile.lock or the `camaleon_cms` entry in the Gemfile.lock; versions below `2.9.3` are affected.\n- Review which accounts hold the media permission and whether any role grants it without admin rights.","fix":"- Upgrade Camaleon CMS to `2.9.3` or later.\n- Until upgraded, restrict the media permission to trusted administrators only.","status":"open","published_at":"2026-10-24T12:16:56+00:00","first_seen_at":"2026-10-24T12:47:58+00:00","triaged_at":"2026-10-25T02:59:54+00:00","updated_at":"2026-10-25T02:59:54+00:00","category":"package","confidence":0.7,"triage":{"at":"2026-10-25T02:59:54Z","model":"claude-haiku-5-5","output":{"fix":"- Upgrade Camaleon CMS to `2.9.3` or later.\n- Until upgraded, restrict the media permission to trusted administrators only.","reach":"internet","title":"Camaleon CMS: media users can write ERB templates and execute code","impact":"high","summary":"Camaleon CMS before 2.9.3 has a path traversal in the media crop_url action that lets a user with only media permission write arbitrary files using ../ sequences in the name parameter. The write can place an ERB template in a theme's views directory, which runs when the page renders, giving the attacker code execution on the server.","category":"package","nicknames":[],"who_cares":["ruby","rails","camaleon-cms","self-hosted"],"confidence":0.7,"needs_auth":"yes","worst_case":"Attacker writes an ERB template that runs code on the server","analyst_note":"Confirm the affected version range and whether a public exploit or advisory exists; the sources give only the NVD description.","how_to_check":"- Check the installed Camaleon CMS version in the Gemfile.lock or the `camaleon_cms` entry in the Gemfile.lock; versions below `2.9.3` are affected.\n- Review which accounts hold the media permission and whether any role grants it without admin rights.","needs_analyst":true,"not_affected_if":["patched-version","admin-only-media"],"who_is_affected":"Sites running Camaleon CMS before 2.9.3 where some users hold the media permission without full administrative rights. Sites that only grant media access to administrators, or that run a patched version, are not exposed to this path.","user_interaction":"no","needs_special_setup":"no","severity_if_unknown":"high"},"cost_usd":0.00062,"input_tokens":3327,"output_tokens":575,"severity_before":"high"},"analyst_status":null,"analyst_note":null,"search":"'-116009':14A,17A '-2026':13A,16A '2.9.3':30B,88C 'action':40B,125C 'allow':95C 'arbitrari':50B,104C 'attack':79B,113C 'base64':117C 'camaleon':1A,19B,27B,85C 'camaleon-cm':18B 'cms':2A,20B,28B,86C 'code':11A,80B 'contain':89C 'crop':38B,122C 'cve':12A,15A 'data':118C 'directori':70B,136C 'erb':7A,63B,129C 'execut':10A,81B,138C 'file':51B,105C 'give':77B 'host':26B 'let':42B 'media':3A,37B,47B,100C,124C 'name':56B,111C 'packag':21B 'page':75B 'paramet':57B,112C 'path':33B,91C 'permiss':48B,101C 'place':61B 'rail':22B 'render':76B,140C 'rubi':23B 'run':72B 'self':25B 'self-host':24B 'send':115C 'sequenc':53B,108C 'server':84B 'suppli':107C 'templat':8A,64B,130C 'theme':67B,133C 'travers':34B,92C 'uri':119C 'url':39B,123C 'use':52B 'user':4A,44B,96C 'view':69B,135C 'vulner':93C 'write':6A,49B,59B,103C,127C","nicknames":[],"mitigations":[],"who_affected":"Sites running Camaleon CMS before 2.9.3 where some users hold the media permission without full administrative rights. Sites that only grant media access to administrators, or that run a patched version, are not exposed to this path.","tier":"B","verified":{},"analyst_revisit_at":null,"first_public_at":"2026-10-24T12:16:56+00:00","kev":null,"cvss_vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","cvss_by":"disclosure@vulncheck.com","poc_count":0,"sources":[{"source":"nvd","external_id":"CVE-2026-116009","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-116009","severity":null,"published_at":"2026-10-24T12:16:56+00:00","modified_at":"2026-10-24T12:16:56+00:00","first_seen_at":"2026-10-24T12:47:58+00:00","fetched_at":"2026-10-24T12:47:58+00:00","note":null}],"documents":[],"notice":"Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai"}