发布日期: 2026-01-20
版本号: v1.33.1

Meilisearch v1.33.1版本包含一项安全修复、一项增强功能和一项错误修复。安全修复针对涉及dump导入功能的路径遍历漏洞,所有v1.33.0之前的版本都受影响。导入特制的dump可能导致未经授权访问文件系统上的特定格式文件。云用户无需操作,而开源用户如果允许从不可信来源导入dump,建议更新至此版本。增强功能更新了向量存储,在大型数据库中即使筛选候选文档较少时也能触发线性扫描,从而在达到搜索截止时限时提升性能和结果质量。错误修复解决了非最终排名规则中仅使用第一个非阻塞桶的问题,改进了涉及向量搜索和排序时的搜索结果质量。

更新内容 (中文)

在Meilisearch v1.33.1中,我们发布了一项安全修复,该修复影响了转储导入功能;同时改进了大型数据库中向量存储的相关性,并修复了与排名分数相关的问题。

🔐 安全修复

  • 云用户:您无需执行任何操作。我们未在Meilisearch Cloud上发现利用此漏洞的证据。
  • 开源用户:如果您允许从不受信任的来源导入转储,建议升级至v1.33.1版本。

v1.33.0之前的所有Meilisearch版本都容易受到涉及转储导入功能的路径遍历漏洞影响。

导入特殊构造的转储可能导致未经授权访问Meilisearch实例,允许读取Meilisearch实例文件系统上存在的任意格式化文件。

✨ 增强功能

  • 我们更新了向量存储,即使在大型数据库中也能触发线性扫描,从而在达到搜索截断时提高性能并获得更好的结果质量。这尤其适用于过滤候选数量相对于索引文档数量较少的情况,由@Kerollmops在https://github.com/meilisearch/meilisearch/pull/6113中实现。

🐛 错误修复

  • 我们修复了一个错误,该错误导致仅将第一个非阻塞桶用于非最终排序规则。这提高了搜索截断触发时的搜索结果质量,特别是涉及向量搜索和排序时,由@Kerollmops在https://github.com/meilisearch/meilisearch/pull/6113中修复。

完整更新日志: https://github.com/meilisearch/meilisearch/compare/v1.33.0...v1.33.1

更新内容 (原始)

In Meilisearch v1.33.1, we released a security fix that affected the dump import, improvements to vector store relevance in massive databases, and a fix related to ranking scores.

🔐 Security Fix

  • Cloud users: you don’t need to do anything. We found no evidence of exploitation of this vulnerability on Meilisearch Cloud.
  • Open-source users: if you allow importing dumps from an untrusted source, we recommend you update to v1.33.1

All versions of Meilisearch before v1.33.0 are vulnerable to a path traversal vulnerability involving the dump import functionality.

Importing a specially crafted dump could result in giving access to the Meilisearch instance to arbitrary, specifically formatted files, present on the file system of the Meilisearch instance.

✨ Enhancements

  • We updated the vector store to trigger linear scanning even on bigger databases, leading to improved performance and so better result quality when the search cutoff is reached. This applies in particular when the number of filtered candidates is small relative to the number of documents in the index by @Kerollmops in https://github.com/meilisearch/meilisearch/pull/6113.

🐛 Bug Fixes

  • We fixed a bug where only the first non-blocking buckets were taken for the non-final ranking rules. This improves the quality of search results when the search cutoff triggers, especially when vector search and a sort are involved by @Kerollmops in https://github.com/meilisearch/meilisearch/pull/6113.

Full Changelog: https://github.com/meilisearch/meilisearch/compare/v1.33.0...v1.33.1

下载链接