Skip to content

MeiliOps v0.6.0

Choose a tag to compare

@github-actions github-actions released this 30 Nov 17:14
· 23 commits to main since this release
v0.6.0
7d71a99

Security release

This release fixes the findings of a security review of v0.5.1. If you run hosted mode (the meiliops-web image), upgrade: v0.5.1 and v0.5.0 must not stay in use. Desktop users get hardening and should update too.

Fixed in hosted mode

  • Sign-in bypass. The cookie that starts a sign-in was accepted as a session, so sign-in and the group restriction could be skipped.
  • API key routes reachable while turned off. With MEILIOPS_ALLOW_KEY_MANAGEMENT off, /keys could still be reached under other spellings of the path (//keys, /%6beys).
  • An open redirect after sign-in when served at the root path.

If you ran v0.5.x in hosted mode where untrusted users could reach it, rotate the Meilisearch keys it was configured with.

Hosted mode

  • Roles. MEILIOPS_AUTH_ADMIN_GROUPS and MEILIOPS_AUTH_READONLY_GROUPS. Read-only users can browse and search; the server refuses their changes and the app hides the controls. Optional MEILIOPS_SERVER_<ID>_READONLY_KEY makes Meilisearch enforce it too.
  • Sessions. Signing out now ends the session on the server. Sessions last 1 hour by default (max 8).
  • Sign-in is always on. The mode that trusted an SSO proxy's user headers is removed.
  • Smaller attack surface. The image is built from scratch: Node.js and its libraries only, no shell and no package manager. The web bundle no longer contains desktop-only code (updater, local instance manager, keychain bridge).
  • Kubernetes. deploy/kubernetes/meiliops.yaml is a production manifest (restricted Pod Security, single replica by design, tighter NetworkPolicy), with the Secret in its own example file.

Breaking changes (hosted only)

  • MEILIOPS_AUTH_ENABLED=false and MEILIOPS_USER_HEADERS are gone. The MEILIOPS_AUTH_* settings are required.
  • MEILIOPS_SESSION_HOURS above 8 is rejected.
  • Everyone is signed out once on upgrade.
  • Run one replica. kubectl exec ... sh into the pod no longer works (use kubectl debug).

See the hosting guide for the settings.

Desktop app

  • Docker and Podman are started by native code that accepts only the commands MeiliOps itself issues.
  • The window runs under a Content Security Policy.
  • A Meilisearch binary is installed only if its published SHA-256 matches; a release without a checksum is refused.
  • The connection form warns before a key is sent over plain http to another machine.

No breaking changes for desktop users.

Full Changelog: v0.5.1...v0.6.0