Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
chore(docker): bump node base to 22.23.2 and the bundled npm to 10.9.9
Vlad Ligaic7e8d5c6ad4d
diff --git a/Dockerfile.fips.standalone-infisical b/Dockerfile.fips.standalone-infisicalindex dbe6689eac..b01858e5e2 100644--- a/Dockerfile.fips.standalone-infisical+++ b/Dockerfile.fips.standalone-infisical@@ -4,10 +4,11 @@ ARG INTERCOM_ID=intercom-idARG INFISICAL_CLI_VERSION=0.43.129-FROM node:22.22.0-trixie-slim AS base+FROM node:22.23.2-trixie-slim AS base-# Fixes NPM vulnerability: https://security.snyk.io/vuln/SNYK-JS-CROSSSPAWN-8303230-RUN npm install -g [email protected]+# npm is pinned ahead of the base image. node:22.23.2 ships npm 10.9.8, whose bundled+# tar 7.5.11 carries CVE-2026-59873. Drop this line once the base ships npm >= 10.9.9.+RUN npm install -g [email protected]FROM base AS frontend-dependenciesWORKDIR /appdiff --git a/Dockerfile.standalone-infisical b/Dockerfile.standalone-infisicalindex ee4daab16a..21198b198b 100644--- a/Dockerfile.standalone-infisical+++ b/Dockerfile.standalone-infisical@@ -4,10 +4,11 @@ ARG INTERCOM_ID=intercom-idARG INFISICAL_CLI_VERSION=0.43.129-FROM node:22.22.0-trixie-slim AS base+FROM node:22.23.2-trixie-slim AS base-# Fixes NPM vulnerability: https://security.snyk.io/vuln/SNYK-JS-CROSSSPAWN-8303230-RUN npm install -g [email protected]+# npm is pinned ahead of the base image. node:22.23.2 ships npm 10.9.8, whose bundled+# tar 7.5.11 carries CVE-2026-59873. Drop this line once the base ships npm >= 10.9.9.+RUN npm install -g [email protected]FROM base AS frontend-dependencies@@ -303,7 +304,7 @@ LABEL org.opencontainers.image.documentation="https://infisical.com/docs"LABEL org.opencontainers.image.source="https://github.com/Infisical/infisical"LABEL org.opencontainers.image.vendor="Infisical"LABEL org.opencontainers.image.licenses="MIT"-LABEL org.opencontainers.image.base.name="node:22.22.0-trixie-slim"+LABEL org.opencontainers.image.base.name="node:22.23.2-trixie-slim"# OCI Image Labels - Dynamic metadata (set via build args)LABEL org.opencontainers.image.version="${INFISICAL_PLATFORM_VERSION}"diff --git a/backend/Dockerfile b/backend/Dockerfileindex f54c254231..f2f8e998c0 100644--- a/backend/Dockerfile+++ b/backend/Dockerfile@@ -1,7 +1,7 @@# Build stageARG INFISICAL_CLI_VERSION=0.43.129-FROM node:22.22.0-trixie-slim AS build+FROM node:22.23.2-trixie-slim AS buildWORKDIR /app@@ -46,7 +46,7 @@ RUN ARCH=$(dpkg --print-architecture) && \rm "$ORACLE_ZIP"# Production dependencies (runs in parallel with build)-FROM node:22.22.0-trixie-slim AS prod-deps+FROM node:22.23.2-trixie-slim AS prod-depsWORKDIR /app@@ -66,7 +66,7 @@ COPY package*.json ./RUN npm ci --omit=dev# Production stage-FROM node:22.22.0-trixie-slim+FROM node:22.23.2-trixie-slimWORKDIR /appENV npm_config_cache /home/node/.npmdiff --git a/backend/Dockerfile.dev b/backend/Dockerfile.devindex d9106c2459..4726b6efb1 100644--- a/backend/Dockerfile.dev+++ b/backend/Dockerfile.dev@@ -24,7 +24,7 @@ RUN ARCH=$(dpkg --print-architecture) && \unzip "$ORACLE_ZIP" -d /opt/oracle && \rm "$ORACLE_ZIP"-FROM node:22.22.0-trixie-slim+FROM node:22.23.2-trixie-slim# ? Setup a test SoftHSM module. In production a real HSM is used.diff --git a/backend/Dockerfile.fips-toolchain b/backend/Dockerfile.fips-toolchainindex 2b06b8c34c..34cf73e4b1 100644--- a/backend/Dockerfile.fips-toolchain+++ b/backend/Dockerfile.fips-toolchain@@ -46,7 +46,7 @@ RUN ARCH=$(dpkg --print-architecture) && \unzip "$ORACLE_ZIP" -d /opt/oracle && \rm "$ORACLE_ZIP"-FROM node:22.22.0-trixie-slim+FROM node:22.23.2-trixie-slimARG SOFTHSM2_VERSION=2.5.0ARG SOFTHSM2_COMMIT=369df0383d101bc8952692c2a368ac8bc887d1b4