Updating Node.js version for published Shopify apps

Hi,

We have an app published in Shopify App store running in Docker, and we need to update the Node.js version in our Dockerfiles due to the recently reported security vulnerability in node.

I’m wondering how best to handle this for apps that are already live.

  • Is it enough to update the Node.js version, rebuild the Docker image, and redeploy?
  • If the update breaks something in production, what would be the best way to handle the rollback?
  • Do we need to unlist the app or take any other steps in the Shopify Partner Dashboard?

Hi! We just went through exactly this for our own apps last week, so here is what worked for us.

1. Is updating, rebuilding and redeploying enough?

Mostly yes, but there is one trap that caught us. If your Dockerfile says something like FROM node:22-alpine, a rebuild can quietly reuse the cached, still-vulnerable base image. Two things fix that:

  • Pin the exact patched version, e.g. FROM node:22.23.4-alpine, in every stage of a multi-stage build.
  • Build with --pull (or --no-cache) so Docker actually fetches the new base.

Then check the running container, not just the build log:

docker exec <container> node --version

Also check for native modules (anything compiled with node-gyp). They are rebuilt against the new Node during npm ci. Run your test suite against the new image before it goes live.

If you run more than one image (workers, cron jobs, a separate sandbox or executor service), update all of them. It’s easy to patch the web app and forget the worker.

2. Rollback

Tag every image with something immutable, like the git commit SHA, and keep the previous one around. Don’t deploy only latest. Rolling back is then just redeploying the previous tag, which takes seconds:

  • Kubernetes: kubectl rollout undo deployment/<name>
  • Cloud Run: shift traffic back to the previous revision
  • Plain Docker: start the old tag again

Before the release, run at least two replicas behind a health check so the rollout itself causes no downtime. If the new pods fail their health checks, the old ones keep serving.

3. Anything in the Partner Dashboard?

No. Your backend runtime is invisible to Shopify. You don’t need to unlist the app, submit a new app version or go through review again. Shopify only reviews what you deploy with shopify app deploy (config and extensions), and a Node update doesn’t touch any of that. Merchants won’t notice anything if the rollout is clean.

One extra tip: after the Node update, run npm audit and also check the GitHub advisories of your security-critical packages directly. We found a critical advisory for one of our dependencies that npm audit didn’t report because it had no CVE yet.

Hope that helps, good luck with the rollout!

Yann, Code Creation Labs (Workflow apps for Shopify Flow)

Thanks @Yann_Faulhaber for jumping in and sharing such a solid rollout plan, this is really helpful.

For the original question @PIT_Solutions: yes, if you’re only updating Node.js in your Docker-hosted web app, you can rebuild, test, and redeploy through your hosting platform. You don’t need to unlist the app or submit it for another review. shopify app deploy doesn’t deploy your web app.

Two small details:

  • Use the fixed version for your Node line. The October 21 advisory lists 22.23.4, 24.22.1, and 26.12.1 as the minimum fixed releases. If you’re using Node 18 or 20, move to a supported line.
  • Build with --pull so Docker fetches the current base image. --no-cache can also help, but it doesn’t pull a fresh base image by itself.

Update every Node workload, including workers and scheduled jobs, and verify node --version in the running containers. Keep the previous image under an immutable tag or digest so you can quickly roll back through your hosting platform.

If you’re also changing app configuration, extensions, scopes, or URLs, follow the normal Shopify deployment or review process for those parts.

update php and nodejs even lunix as well. this 2026 is for security only :saluting_face: