Skip to content
Heist/ feed
Back to feed
Critical

Arbitrary file write leading to RCE in Camaleon CMS

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2024-46986
Confirmed fixed CVEs
Not specified
Updated in this feed
7 Nov 2026, 05:21 UTC · Revision 1

Source evidence

Arbitrary file write leading to RCE in Camaleon CMS

core-osv · Original source

Published 18 Sept 2024, 17:14 UTC

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.

osv:CVE-2024-46986
Complete source record
{
  "id": "017b1c168b5b79ad19c953293fd4ab2221faf42d823270f49620e487983ef820",
  "url": "https://osv.dev/vulnerability/CVE-2024-46986",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Arbitrary file write leading to RCE in Camaleon CMS",
    "summary": "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.",
    "evidence": "osv:CVE-2024-46986",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2024-46986",
      "aliases": [
        "CVE-2024-46986",
        "GHSA-wmjg-vqhv-q5p5"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/owen2345/camaleon-cms",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "b450c33929ed4f88ac40d8c59c3991da687d02a7"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "2.8.2"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "cpe": "cpe:2.3:a:tuzitio:camaleon_cms:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "2.8.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "2.8.1",
            "2.8.0",
            "2.7.5",
            "2.7.4",
            "2.7.3",
            "2.7.1",
            "2.7.0",
            "2.6.4",
            "2.6.2",
            "2.6.1",
            "2.6.0.1",
            "2.6.0",
            "2.5.3.1",
            "2.5.3",
            "2.5.1",
            "2.4.6.7",
            "2.4.6.1",
            "2.4.6.0",
            "2.4.5.14",
            "2.4.5.13",
            "2.4.5.12",
            "camaleon_cms-2.4.5.11.gem",
            "2.4.5.11",
            "2.4.5.10",
            "2.4.5.7",
            "2.4.5.1",
            "2.4.5",
            "2.4.4.6",
            "2.4.4.5",
            "2.4.4.3",
            "2.4.4.2",
            "2.4.4",
            "2.4.3.12",
            "2.4.3.11",
            "2.4.3.10",
            "2.4.3.7",
            "2.4.3",
            "2.4.2",
            "2.4.1",
            "2.4.0",
            "2.3.7",
            "2.3.6",
            "2.3.5",
            "2.3.4",
            "2.3.3",
            "2.3.2",
            "2.3.1",
            "2.2.0",
            "2.1.2.0",
            "v2.1.1.3",
            "2.1.2",
            "2.1.1",
            "v2.0.0",
            "0.2.0",
            "0.1.7"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-46986.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:49.844875682Z",
      "provider": "osv",
      "references": [
        "https://codeql.github.com/codeql-query-help/ruby/rb-path-injection",
        "https://owasp.org/www-community/attacks/Path_Traversal",
        "https://www.reddit.com/r/rails/comments/1exwtdm/camaleon_cms_281_has_been_released",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/46xxx/CVE-2024-46986.json",
        "https://github.com/owen2345/camaleon-cms/security/advisories/GHSA-wmjg-vqhv-q5p5",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-46986",
        "https://securitylab.github.com/advisories/GHSL-2024-182_GHSL-2024-186_Camaleon_CMS"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-74"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/46xxx/CVE-2024-46986.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-46986",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 518356,
  "published_at": "2024-09-18T17:14:09.127+00:00"
}