{
  "id": "CVE-2026-41247",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-41247",
  "published_at": "2026-04-23T18:47:57.558Z",
  "title": "elFinder: Command injection in resize background color parameter when using ImageMagick CLI",
  "vendor": "Studio-42",
  "product": "elFinder",
  "cvss": {
    "score": 9.8,
    "source": "nvd",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "elFinder is an open-source file manager for web, written in JavaScript using jQuery UI. Prior to 2.1.67, elFinder contains a command injection vulnerability in the resize command. The bg (background color) parameter is accepted from user input and passed through image resize/rotate processing. In configurations that use the ImageMagick CLI backend, this value is incorporated into shell command strings without sufficient escaping. An attacker able to invoke the resize command with a crafted bg value may achieve arbitrary command execution as the web server process user. This vulnerability is fixed in 2.1.67.",
  "cwe": "CWE-78",
  "cpes": [
    "cpe:2.3:a:std42:elfinder:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 8.9,
    "nvd": 9.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Studio-42",
        "product": "elFinder",
        "ranges": [
          "\u003c 2.1.67"
        ],
        "fixed_in": [
          "2.1.67"
        ]
      }
    ],
    "upgrade": [
      "Upgrade elFinder to 2.1.67 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/Studio-42/elFinder/security/advisories/GHSA-8q4h-8crm-5cvc"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
