Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2018-11762

In Apache Tika 0.9 to 1.18, in a rare edge case where a user does not specify an extract directory on the commandline (--extract-dir=) and the input file has an embedded file with an absolute path, such as "C:/evil.bat", tika-app would overwrite that file.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2018-11762
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 05:15 UTC · Revision 1

Source evidence

CVE-2018-11762

core-osv · Original source

Published 19 Sept 2018, 14:29 UTC

In Apache Tika 0.9 to 1.18, in a rare edge case where a user does not specify an extract directory on the commandline (--extract-dir=) and the input file has an embedded file with an absolute path, such as "C:/evil.bat", tika-app would overwrite that file.

osv:CVE-2018-11762
Complete source record
{
  "id": "2d24a4b66d0faba917cecdf18f75d0b55c81a1d060f8057e8369087abe59033d",
  "url": "https://osv.dev/vulnerability/CVE-2018-11762",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2018-11762",
    "summary": "In Apache Tika 0.9 to 1.18, in a rare edge case where a user does not specify an extract directory on the commandline (--extract-dir=) and the input file has an embedded file with an absolute path, such as \"C:/evil.bat\", tika-app would overwrite that file.",
    "evidence": "osv:CVE-2018-11762",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2018-11762",
      "aliases": [
        "CVE-2018-11762",
        "GHSA-w6g3-v46q-5p28"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/apache/tika",
              "type": "GIT",
              "events": [
                {
                  "introduced": "eb1cd6a1665a9034195b30172c0199a6143bcd45"
                },
                {
                  "last_affected": "38ff2a986af24ee255f1f91d654ea402f4016696"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:apache:tika:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0.9"
                      },
                      {
                        "last_affected": "1.18"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-11762.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:26.300510950Z",
      "provider": "osv",
      "references": [
        "https://lists.apache.org/thread.html/ab2e1af38975f5fc462ba89b517971ef892ec3d06bee12ea2258895b%40%3Cdev.tika.apache.org%3E"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2018-11762",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 431588,
  "published_at": "2018-09-19T14:29:00.397+00:00"
}