fix: Update packages in base image to resolve CVE-2025-58050 (#19034)

Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
This commit is contained in:
shortstacked
2025-09-01 13:41:33 +01:00
committed by GitHub
parent 71b33277f8
commit bb033fc148
2 changed files with 13 additions and 17 deletions

View File

@@ -62,8 +62,6 @@ RUN cd /usr/local/lib/node_modules/n8n && \
mkdir -p /home/node/.n8n && \
chown -R node:node /home/node
# Install npm@11.4.2 to fix brace-expansion vulnerability, remove after vulnerability is fixed in node image
RUN npm install -g npm@11.4.2
RUN cd /usr/local/lib/node_modules/n8n/node_modules/pdfjs-dist && npm install @napi-rs/canvas
EXPOSE 5678/tcp