Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

chore(deps): apply the same pins to the FIPS image and unify the CLI pin

Vlad Ligaib68cc5ab2c26
diff --git a/.github/workflows/check-dockerfile-pins.yml b/.github/workflows/check-dockerfile-pins.yml
new file mode 100644
index 0000000000..c25ff6592a
--- /dev/null
+++ b/.github/workflows/check-dockerfile-pins.yml
@@ -0,0 +1,28 @@
+name: "Check Dockerfile pins"
+
+on:
+ pull_request:
+ types: [opened, synchronize]
+ paths:
+ - "**/Dockerfile*"
+
+jobs:
+ cli-pin:
+ name: Infisical CLI pin is consistent
+ runs-on: ubuntu-latest
+ steps:
+ - name: ☁️ Checkout source
+ uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
+ # Five Dockerfiles install the CLI and each carries its own pin, so they
+ # drift silently. Docker has no include, so this asserts instead.
+ - name: Every image pins the same CLI version
+ run: |
+ set -euo pipefail
+ pins="$(grep -rhoE 'infisical=[0-9]+\.[0-9]+\.[0-9]+' --include='Dockerfile*' . | sort -u)"
+ count="$(printf '%s\n' "$pins" | grep -c . || true)"
+ if [ "$count" -ne 1 ]; then
+ echo "::error::Dockerfiles disagree on the Infisical CLI pin"
+ grep -rnE 'infisical=[0-9]+\.[0-9]+\.[0-9]+' --include='Dockerfile*' .
+ exit 1
+ fi
+ echo "All Dockerfiles pin ${pins}"
diff --git a/.github/workflows/release-standalone-docker-img-postgres-offical.yml b/.github/workflows/release-standalone-docker-img-postgres-offical.yml
index 7647d45f9a..90fce3c10c 100644
--- a/.github/workflows/release-standalone-docker-img-postgres-offical.yml
+++ b/.github/workflows/release-standalone-docker-img-postgres-offical.yml
@@ -172,6 +172,15 @@ jobs:
contentful_space_id=${{ secrets.CONTENTFUL_SPACE_ID }}
contentful_delivery_token=${{ secrets.CONTENTFUL_DELIVERY_TOKEN }}
contentful_environment=${{ vars.CONTENTFUL_ENVIRONMENT }}
+ - name: Snyk to check Docker image for vulnerabilities
+ continue-on-error: true
+ uses: snyk/actions/docker@9cf6ca713d71123d2d229cc3d7f145b96ea3c518 # master @ 2026-05-05
+ env:
+ SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
+ with:
+ image: infisical/infisical-fips:${{ steps.extract_version.outputs.version }}
+ command: monitor
+ args: --file=Dockerfile.fips.standalone-infisical --project-name="infisical-fips-docker-image"
trigger-binary-release:
runs-on: ubuntu-latest
needs: [infisical-tests]
diff --git a/Dockerfile.fips.standalone-infisical b/Dockerfile.fips.standalone-infisical
index 204e95c3d1..7dae0d1689 100644
--- a/Dockerfile.fips.standalone-infisical
+++ b/Dockerfile.fips.standalone-infisical
@@ -183,7 +183,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
smbclient \
openssh-client \
&& curl -1sLf 'https://artifacts-cli.infisical.com/setup.deb.sh' | bash \
- && apt-get update && apt-get install -y infisical=0.43.90 \
+ && apt-get update && apt-get install -y infisical=0.43.128 \
# Patch CVEs in base image packages (pinned versions for reproducibility)
&& apt-get install -y --only-upgrade \
libgnutls30t64=3.8.9-3+deb13u4 \
@@ -196,6 +196,19 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
libngtcp2-16=1.11.0-1+deb13u1 \
libngtcp2-crypto-gnutls8=1.11.0-1+deb13u1 \
libsqlite3-0=3.46.1-7+deb13u1 \
+ util-linux=2.41.5-0+deb13u1 \
+ mount=2.41.5-0+deb13u1 \
+ libblkid1=2.41.5-0+deb13u1 \
+ libuuid1=2.41.5-0+deb13u1 \
+ libmount1=2.41.5-0+deb13u1 \
+ libsmartcols1=2.41.5-0+deb13u1 \
+ liblastlog2-2=2.41.5-0+deb13u1 \
+ bsdutils=1:2.41.5-0+deb13u1 \
+ login=1:4.16.0-2+really2.41.5-0+deb13u1 \
+ libsystemd0=257.13-1~deb13u1 \
+ libudev1=257.13-1~deb13u1 \
+ liblzma5=5.8.1-1+deb13u1 \
+ sed=4.9-2+deb13u1 \
&& rm -rf /var/lib/apt/lists/*
# Copy Oracle Instant Client from parallel stage
diff --git a/backend/Dockerfile b/backend/Dockerfile
index 0d7f0790b1..c044881583 100644
--- a/backend/Dockerfile
+++ b/backend/Dockerfile
@@ -79,7 +79,7 @@ RUN apt-get update && apt-get install -y \
bash \
git \
&& curl -1sLf 'https://artifacts-cli.infisical.com/setup.deb.sh' | bash \
- && apt-get update && apt-get install -y infisical=0.43.79 \
+ && apt-get update && apt-get install -y infisical=0.43.128 \
&& rm -rf /var/lib/apt/lists/*
RUN printf "[FreeTDS]\nDescription = FreeTDS Driver\nDriver = /usr/lib/x86_64-linux-gnu/odbc/libtdsodbc.so\nSetup = /usr/lib/x86_64-linux-gnu/odbc/libtdsodbc.so\nFileUsage = 1\n" > /etc/odbcinst.ini
diff --git a/backend/Dockerfile.dev b/backend/Dockerfile.dev
index b6e67c2161..1b78591278 100644
--- a/backend/Dockerfile.dev
+++ b/backend/Dockerfile.dev
@@ -34,7 +34,7 @@ RUN apt-get update && apt-get install -y \
opensc \
smbclient \
&& curl -1sLf 'https://artifacts-cli.infisical.com/setup.deb.sh' | bash \
- && apt-get update && apt-get install -y infisical=0.43.79 \
+ && apt-get update && apt-get install -y infisical=0.43.128 \
&& rm -rf /var/lib/apt/lists/*
# Create libaio symlink for Oracle Instant Client
diff --git a/backend/Dockerfile.fips-toolchain b/backend/Dockerfile.fips-toolchain
index 814a3fa9a3..f6effa6e94 100644
--- a/backend/Dockerfile.fips-toolchain
+++ b/backend/Dockerfile.fips-toolchain
@@ -53,7 +53,7 @@ RUN apt-get update && apt-get install -y \
opensc \
smbclient \
&& curl -1sLf 'https://artifacts-cli.infisical.com/setup.deb.sh' | bash \
- && apt-get update && apt-get install -y infisical=0.43.79 \
+ && apt-get update && apt-get install -y infisical=0.43.128 \
&& rm -rf /var/lib/apt/lists/*
RUN ARCH=$(dpkg --print-architecture) && \