Skip to content

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

ci: run workflows on patched Node 24.22.1 (CVE-2026-111497 Brotli RCE) (#15934)

Ubbee4e16e09eb52
diff --git a/.github/workflows/batch-command-handler.yml b/.github/workflows/batch-command-handler.yml
index 2fa8fd6948..36abca9183 100644
--- a/.github/workflows/batch-command-handler.yml
+++ b/.github/workflows/batch-command-handler.yml
@@ -63,7 +63,7 @@ jobs:
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
with:
- node-version: "20"
+ node-version: "24.22.1"
- name: Configure bot git identity
run: |
diff --git a/.github/workflows/batch-reconcile.yml b/.github/workflows/batch-reconcile.yml
index 1e676be3ca..7be0f7ea8a 100644
--- a/.github/workflows/batch-reconcile.yml
+++ b/.github/workflows/batch-reconcile.yml
@@ -49,7 +49,7 @@ jobs:
token: ${{ steps.app-token.outputs.token }}
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
with:
- node-version: "20"
+ node-version: "24.22.1"
- env:
GH_TOKEN: ${{ steps.app-token.outputs.token }}
run: node .github/batch-bot/batch.mjs
diff --git a/.github/workflows/copilot-setup-steps.yml b/.github/workflows/copilot-setup-steps.yml
index c0c0590e17..176eb118c1 100644
--- a/.github/workflows/copilot-setup-steps.yml
+++ b/.github/workflows/copilot-setup-steps.yml
@@ -78,7 +78,7 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v6
with:
- node-version: "24.18.0"
+ node-version: "24.22.1"
- name: Enable corepack
run: corepack enable
diff --git a/.github/workflows/platform-frontend-ci.yml b/.github/workflows/platform-frontend-ci.yml
index 218f2aa558..ce2d315708 100644
--- a/.github/workflows/platform-frontend-ci.yml
+++ b/.github/workflows/platform-frontend-ci.yml
@@ -51,7 +51,7 @@ jobs:
package_json_file: autogpt_platform/frontend/package.json
- uses: actions/setup-node@v6
with:
- node-version: "24.18.0"
+ node-version: "24.22.1"
cache: "pnpm"
cache-dependency-path: autogpt_platform/frontend/pnpm-lock.yaml
- name: Install dependencies
@@ -100,7 +100,7 @@ jobs:
- name: Set up Node
uses: actions/setup-node@v6
with:
- node-version: "24.18.0"
+ node-version: "24.22.1"
cache: "pnpm"
cache-dependency-path: autogpt_platform/frontend/pnpm-lock.yaml
@@ -129,7 +129,7 @@ jobs:
- name: Set up Node
uses: actions/setup-node@v6
with:
- node-version: "24.18.0"
+ node-version: "24.22.1"
cache: "pnpm"
cache-dependency-path: autogpt_platform/frontend/pnpm-lock.yaml
@@ -167,7 +167,7 @@ jobs:
- name: Set up Node
uses: actions/setup-node@v6
with:
- node-version: "24.18.0"
+ node-version: "24.22.1"
cache: "pnpm"
cache-dependency-path: autogpt_platform/frontend/pnpm-lock.yaml
@@ -206,7 +206,7 @@ jobs:
- name: Set up Node
uses: actions/setup-node@v6
with:
- node-version: "24.18.0"
+ node-version: "24.22.1"
cache: "pnpm"
cache-dependency-path: autogpt_platform/frontend/pnpm-lock.yaml
diff --git a/.github/workflows/platform-fullstack-ci.yml b/.github/workflows/platform-fullstack-ci.yml
index 3e4fa70ee6..b69033a12b 100644
--- a/.github/workflows/platform-fullstack-ci.yml
+++ b/.github/workflows/platform-fullstack-ci.yml
@@ -122,7 +122,7 @@ jobs:
- name: Set up Frontend - Set up Node
uses: actions/setup-node@v6
with:
- node-version: "24.18.0"
+ node-version: "24.22.1"
cache: "pnpm"
cache-dependency-path: autogpt_platform/frontend/pnpm-lock.yaml
@@ -355,7 +355,7 @@ jobs:
working-directory: /tmp/next-build-cache
run: |
docker buildx build --progress=plain -f - . <<'EOF'
- FROM node:24.18-alpine3.23
+ FROM node:24.22.1-alpine3.23
RUN --mount=type=cache,target=/app/.next/cache,id=next-build-cache \
--mount=type=bind,target=/seed \
cp -a /seed/. /app/.next/cache/
@@ -403,7 +403,7 @@ jobs:
- name: Set up tests - Set up Node
uses: actions/setup-node@v6
with:
- node-version: "24.18.0"
+ node-version: "24.22.1"
cache: "pnpm"
cache-dependency-path: autogpt_platform/frontend/pnpm-lock.yaml
@@ -551,7 +551,7 @@ jobs:
rm -rf /tmp/next-build-cache
# No --no-cache: it hands the RUN an empty cache mount. The run id keeps the step uncached.
docker buildx build --progress=plain --build-arg RUN_ID=${{ github.run_id }} --output type=local,dest=/tmp/next-build-cache -f - "$(mktemp -d)" <<'EOF'
- FROM node:24.18-alpine3.23 AS export
+ FROM node:24.22.1-alpine3.23 AS export
ARG RUN_ID
RUN --mount=type=cache,target=/app/.next/cache,id=next-build-cache \
mkdir /out && cp -a /app/.next/cache/. /out/
diff --git a/.github/workflows/platform-supabase-auth-sweep.yml b/.github/workflows/platform-supabase-auth-sweep.yml
index 11fa06b9ce..56f4b97cfb 100644
--- a/.github/workflows/platform-supabase-auth-sweep.yml
+++ b/.github/workflows/platform-supabase-auth-sweep.yml
@@ -38,7 +38,7 @@ jobs:
- name: Set up Node
uses: actions/setup-node@v6
with:
- node-version: "24.18.0"
+ node-version: "24.22.1"
cache: "pnpm"
cache-dependency-path: autogpt_platform/frontend/pnpm-lock.yaml