CrushMFT Documentation

This page in: CrushBalance, CrushMFT 27

Security#

What the CrushMFT 27 image does for you, and what is left to you.

Built in#

No known password The first admin's password comes from you (a secret file or a variable) or is made at random and printed once. There is no default password to guess.
Not root The server runs as uid 65532 (gid 0). It can't change the image, and needs no capabilities.
No shell The plain image has no shell, no package manager and no tools beyond Java's. A flaw in a program can't be turned into a shell in the container. Use the -dev image only when you need to look around.
Read-only program The program in /app belongs to root. The server writes only to its working folder and /tmp; the root file system can be read-only (--read-only --tmpfs /tmp; the Kubernetes chart does it).
Signed images Every image is signed with CrushFTP's key and carries a signed SBOM (Images and tags).
Signed program At every start CrushMFT's launcher checks the signature of the program's release.txt and the size and SHA-256 of every file it names; a changed file is not started. In-app updates are checked the same way.
Small Java Java is reduced to the modules CrushMFT uses, and built with -XX:-UseBASE64Intrinsics, which turns off the processor-specific Base64 code affected by Java4Shell (CVE-2026-114938) in every Java process in the container.
Current base Each image is built with the newest Java 27 patch and the newest system libraries at build time. A new CrushMFT build is a new image.

Left to you#

  • Change the admin password after the first sign-in, and turn on two-factor sign-in for admins (see the CrushMFT 27 documentation).
  • Keep the volume private. It holds the settings, password hashes, SSH host keys and certificates. Back it up encrypted.
  • Publish only the ports you use. Prefer HTTPS (443) and SFTP (2222) over plain HTTP and FTP from the internet; put plain HTTP only behind a proxy that ends HTTPS.
  • Pin and update. Pin an image tag in production and move to new builds regularly (Updates and versions).
  • Secrets as files. Give passwords as files (CRUSHFTP_ADMIN_PASSWORD_FILE, Docker or Kubernetes secrets) rather than in variables or arguments, which show in docker inspect.
  • Limit what reaches the admin pages. CrushMFT's admin IP list and roles apply in a container as on any server.
  • Network policy. In Kubernetes, allow inbound only on the ports you publish, and outbound only to what the server needs (your storage, LDAP, mail; www.crushftp.com for updates).

Checking an image yourself#

cosign verify --key cosign.pub crushftp/crushmft27:27.0.0_289
docker run --rm --entrypoint java crushftp/crushmft27:27.0.0_289 -version
docker image inspect crushftp/crushmft27:27.0.0_289 --format '{{.Config.User}} {{.Config.Entrypoint}}'

An SBOM can be read with cosign verify-attestation (Images and tags) and given to a scanner such as Grype or Trivy, which can also scan the image directly.

FIPS 140-3#

The -fips images run CrushMFT in FIPS 140-3 mode: all cryptography through the validated module, and what FIPS 140-3 does not allow refused (Images and tags, and the CrushMFT 27 page FIPS 140-3 mode).