2026-05-12 21:6CVE-2026-44257GitHub_M
PUBLISHED5.2CWE-77

efw4.X: RCE via zipslip

efw4.X is an Enterprise Framework for Web. Prior to 4.08.010, efw.file.FileManager.unZip writes zip entries to disk using new File(baseDir, zipEntry.getName()) with no canonical-path check. An entry name such as ../../../pwned.jsp escapes the intended extraction directory and lands anywhere the Tomcat process can write — including the servlet context root. Combined with the framework's multipart /uploadServlet and an event that calls file.saveUploadFiles + FileManager.unZip, a remote attacker with no credentials drops a JSP webshell and executes arbitrary commands as the Tomcat user. This vulnerability is fixed in 4.08.010.

Problem type

Affected products

efwGrp

efw4.X

< 4.08.010 - AFFECTED

References

JSON source

https://cveawg.mitre.org/api/cve/CVE-2026-44257
Click to expand
{
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "cveMetadata": {
    "cveId": "CVE-2026-44257",
    "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
    "assignerShortName": "GitHub_M",
    "dateUpdated": "2026-05-12T21:06:42.018Z",
    "dateReserved": "2026-05-05T16:33:55.844Z",
    "datePublished": "2026-05-12T21:06:42.018Z",
    "state": "PUBLISHED"
  },
  "containers": {
    "cna": {
      "providerMetadata": {
        "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "shortName": "GitHub_M",
        "dateUpdated": "2026-05-12T21:06:42.018Z"
      },
      "title": "efw4.X: RCE via zipslip",
      "descriptions": [
        {
          "lang": "en",
          "value": "efw4.X is an Enterprise Framework for Web. Prior to 4.08.010, efw.file.FileManager.unZip writes zip entries to disk using new File(baseDir, zipEntry.getName()) with no canonical-path check. An entry name such as ../../../pwned.jsp escapes the intended extraction directory and lands anywhere the Tomcat process can write — including the servlet context root. Combined with the framework's multipart /uploadServlet and an event that calls file.saveUploadFiles + FileManager.unZip, a remote attacker with no credentials drops a JSP webshell and executes arbitrary commands as the Tomcat user. This vulnerability is fixed in 4.08.010."
        }
      ],
      "affected": [
        {
          "vendor": "efwGrp",
          "product": "efw4.X",
          "versions": [
            {
              "version": "< 4.08.010",
              "status": "affected"
            }
          ]
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "lang": "en",
              "description": "CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')",
              "cweId": "CWE-77",
              "type": "CWE"
            }
          ]
        }
      ],
      "references": [
        {
          "url": "https://github.com/efwGrp/efw4.X/security/advisories/GHSA-q7jx-7x5r-r9f6",
          "name": "https://github.com/efwGrp/efw4.X/security/advisories/GHSA-q7jx-7x5r-r9f6",
          "tags": [
            "x_refsource_CONFIRM"
          ]
        }
      ],
      "metrics": [
        {}
      ]
    }
  }
}