CVE-2025-67819: Github.com/weaviate/weaviate Path Traversal Vulnerability

HIGH
Advisory Identifier: GHSA-hmmh-292h-3364
CWE-22
Published
Advisory Summary

CVE-2025-67819 is a HIGH path traversal vulnerability (CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')) affecting Github.com/weaviate/weaviate libraries in the Go ecosystem. The issue involves weaviate oss has path traversal vulnerability via the shard movement api. Remediation is available by upgrading affected packages to version 1.30.20, 1.31.19, 1.32.16, 1.33.4.

CVE-2025-67819 at a Glance

CVE Identifier CVE-2025-67819
GHSA Identifier GHSA-hmmh-292h-3364
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Affected Product Github.com/weaviate/weaviate
Package Ecosystem Go
Published Date
Last Updated

How to Fix CVE-2025-67819

To remediate this vulnerability, upgrade all affected Github.com/weaviate/weaviate dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

github.com/weaviate/weaviate fixed: 1.30.20
Upgrade github.com/weaviate/weaviate to 1.30.20
github.com/weaviate/weaviate fixed: 1.31.19
Upgrade github.com/weaviate/weaviate to 1.31.19
github.com/weaviate/weaviate fixed: 1.32.16
Upgrade github.com/weaviate/weaviate to 1.32.16
github.com/weaviate/weaviate fixed: 1.33.4
Upgrade github.com/weaviate/weaviate to 1.33.4
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for github.com/weaviate/weaviate

How to Check if You Are Affected

To determine whether your application is affected by CVE-2025-67819, inspect your project dependencies for Github.com/weaviate/weaviate:

inspect dependencies for github.com/weaviate/weaviate

Analyze the terminal output to locate any version of Github.com/weaviate/weaviate in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.30.20), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal'), where the product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory. In Github.com/weaviate/weaviate, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

An issue was discovered in Weaviate OSS before 1.33.4. Due to a lack of validation of the fileName field in the transfer logic, an attacker who can call the GetFile method while a shard is in the "Pause file activity" state and the FileReplicationService is reachable can read arbitrary files accessible to the service process.

CVE-2025-67819 Affected Github.com/weaviate/weaviate Versions

4 component(s)
Fixed Versions:
1.30.201.31.191.32.161.33.4
Product / Package Ecosystem Affected Versions Fixed Version
github.com/weaviate/weaviate
Go
≥ 1.30.0
< 1.30.20
1.30.20
github.com/weaviate/weaviate
Go
≥ 1.31.0-rc.0
< 1.31.19
1.31.19
github.com/weaviate/weaviate
Go
≥ 1.32.0-rc.0
< 1.32.16
1.32.16
github.com/weaviate/weaviate
Go
≥ 1.33.0-rc.0
< 1.33.4
1.33.4

References

Frequently Asked Questions

What is CVE-2025-67819?
CVE-2025-67819 is a security vulnerability in Github.com/weaviate/weaviate involving Weaviate OSS has path traversal vulnerability via the Shard Movement API under CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal').
Which Github.com/weaviate/weaviate versions are affected?
Affected versions include releases prior to 1.30.20, 1.31.19, 1.32.16, 1.33.4 across affected packages: github.com/weaviate/weaviate.
What version fixes CVE-2025-67819?
Upgrading to 1.30.20, 1.31.19, 1.32.16, 1.33.4 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/weaviate/weaviate affected?
Yes, github.com/weaviate/weaviate is affected in releases prior to 1.30.20, 1.31.19, 1.32.16, 1.33.4. Upgrade your dependency to 1.30.20, 1.31.19, 1.32.16, 1.33.4 or later.
What CWE is associated with CVE-2025-67819?
CVE-2025-67819 is classified under CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') (The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.).
How can I check Go dependencies for CVE-2025-67819?
Run the dependency tree command: 'inspect dependencies for github.com/weaviate/weaviate'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-hmmh-292h-3364",
  "modified" : "2025-12-18T01:07:29Z",
  "published" : "2025-12-12T18:30:35Z",
  "aliases" : [ "CVE-2025-67819" ],
  "summary" : "Weaviate OSS has path traversal vulnerability via the Shard Movement API",
  "details" : "An issue was discovered in Weaviate OSS before 1.33.4. Due to a lack of validation of the fileName field in the transfer logic, an attacker who can call the GetFile method while a shard is in the \"Pause file activity\" state and the FileReplicationService is reachable can read arbitrary files accessible to the service process.",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/weaviate/weaviate"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.30.0"
      }, {
        "fixed" : "1.30.20"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/weaviate/weaviate"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.31.0-rc.0"
      }, {
        "fixed" : "1.31.19"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/weaviate/weaviate"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.32.0-rc.0"
      }, {
        "fixed" : "1.32.16"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/weaviate/weaviate"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.33.0-rc.0"
      }, {
        "fixed" : "1.33.4"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-67819"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/weaviate/weaviate/commit/4ff2cc89277c264c37d0f7316d9eb6368cfc30ff"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/weaviate/weaviate/commit/89c2270869e6d64f5b5276b8626c11cd816c6665"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/weaviate/weaviate/commit/b18cc7ea82d80a61e7943361a6e335e3fd5a49c7"
  }, {
    "type" : "ADVISORY",
    "url" : "https://github.com/advisories/GHSA-hmmh-292h-3364"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/weaviate/weaviate"
  }, {
    "type" : "WEB",
    "url" : "https://weaviate.io/blog/weaviate-security-release-november-2025"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-22" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-12-12T20:25:06Z",
    "nvd_published_at" : "2025-12-12T17:15:45Z"
  }
}