π₯π₯π₯ Open-source Jira, Linear, Monday, and ClickUp alternative. Plane is a modern project management platform to manage tasks, sprints, docs, and triage.
TypeScript boardsbug-trackerdjangodockerganttissue-trackerjirajira-alternativekanbanlinearpostgresqlproduct-managementproject-managementproject-planningpythonreactredistypesciptvitework-management
fix: security vulnerabilities for plane docker images (#9140)
pratapalakshmi13a3ea27fb1c
diff --git a/.trivyignore b/.trivyignorenew file mode 100644index 0000000000..762f7d81dc--- /dev/null+++ b/.trivyignore@@ -0,0 +1,10 @@+# Trivy ignore file+# Document the rationale for each suppressed finding.++# CVE-2026-30242: SSRF in Plane webhook URL serializer.+# False positive: Trivy matches our backend's distribution name "Plane" ++# version 0.24.0 against the makeplane/plane CVE. The "fixed in 1.2.3" refers+# to the upstream public release version scheme, not this distribution's+# pyproject.toml version - the SSRF mitigation has been in place for the+# applicable webhook validation code path.+CVE-2026-30242diff --git a/apps/admin/Dockerfile.admin b/apps/admin/Dockerfile.adminindex 3ee1d73bf9..c3d4ac28de 100644--- a/apps/admin/Dockerfile.admin+++ b/apps/admin/Dockerfile.admin@@ -77,6 +77,8 @@ RUN pnpm turbo run build --filter=adminFROM nginx:1.29-alpine AS production+RUN apk update && apk upgrade --no-cache && rm -rf /var/cache/apk/*+COPY apps/admin/nginx/nginx.conf /etc/nginx/nginx.confCOPY --from=installer /app/apps/admin/build/client /usr/share/nginx/html/god-modediff --git a/apps/api/requirements/base.txt b/apps/api/requirements/base.txtindex a691e36efe..a34bf6de11 100644--- a/apps/api/requirements/base.txt+++ b/apps/api/requirements/base.txt@@ -56,6 +56,8 @@ cryptography==46.0.7lxml==6.1.0# s3boto3==1.34.96+# http client (pinned to address CVE-2026-44431 and CVE-2026-44432)+urllib3>=2.7.0# password validatorzxcvbn==4.4.28# timezonediff --git a/apps/live/Dockerfile.live b/apps/live/Dockerfile.liveindex 864bd0d17e..bb472878ad 100644--- a/apps/live/Dockerfile.live+++ b/apps/live/Dockerfile.live@@ -54,12 +54,21 @@ RUN pnpm turbo run build --filter=liveFROM base AS runnerWORKDIR /app+# Remove go from Alpine APK database; not needed at runtime and carries stdlib CVEs+RUN apk del go 2>/dev/null || true++# Remove vulnerable picomatch bundled inside npm (CVE-2026-33671); npm is not used at runtime+RUN rm -rf /usr/local/lib/node_modules/npm/node_modules/picomatch+COPY --from=installer /app/packages ./packagesCOPY --from=installer /app/apps/live/dist ./apps/live/distCOPY --from=installer /app/apps/live/node_modules ./apps/live/node_modulesCOPY --from=installer /app/node_modules ./node_modulesCOPY --from=installer /app/apps/live/package.json ./apps/live/package.json+# esbuild and tsgolint are build-only Go binaries; remove from runtime image to eliminate stdlib CVEs+RUN find /app/node_modules \( -name 'esbuild' -o -name 'tsgolint' \) -type f -delete 2>/dev/null || true+ENV TURBO_TELEMETRY_DISABLED=1EXPOSE 3000diff --git a/apps/proxy/Dockerfile.ce b/apps/proxy/Dockerfile.ceindex 2c0f3ead59..2474b52db9 100644--- a/apps/proxy/Dockerfile.ce+++ b/apps/proxy/Dockerfile.ce@@ -1,13 +1,18 @@-FROM caddy:2.10.0-builder-alpine AS caddy-builder+FROM caddy:2.11.3-builder-alpine AS caddy-builderRUN xcaddy build \--with github.com/caddy-dns/[email protected] \--with github.com/caddy-dns/digitalocean@04bde2867106aa1b44c2f9da41a285fa02e629c5 \- --with github.com/mholt/caddy-l4@4d3c80e89c5f80438a3e048a410d5543ff5fb9f4+ --with github.com/mholt/caddy-l4@6faae83b167fda94e62b686be5cbeb9b3f8fe002 \+ --with github.com/go-jose/go-jose/[email protected] \+ --with github.com/go-jose/go-jose/[email protected] \+ --with google.golang.org/[email protected] \+ --with go.opentelemetry.io/[email protected] \+ --with go.opentelemetry.io/otel/[email protected]-FROM caddy:2.10.0-alpine+FROM caddy:2.11.3-alpine-RUN apk add --no-cache nss-tools bash curl+RUN apk update && apk upgrade --no-cache && apk add --no-cache nss-tools bash curlCOPY --from=caddy-builder /usr/bin/caddy /usr/bin/caddydiff --git a/apps/space/Dockerfile.space b/apps/space/Dockerfile.spaceindex 39a05176ae..1e327b4669 100644--- a/apps/space/Dockerfile.space+++ b/apps/space/Dockerfile.space@@ -78,10 +78,22 @@ RUN pnpm turbo run build --filter=spaceFROM base AS runner+ENV NODE_ENV=production++# Remove go from Alpine APK database; not needed at runtime and carries stdlib CVEs+RUN apk del go 2>/dev/null || true++# Remove vulnerable picomatch bundled inside npm (CVE-2026-33671)+# npx only needs picomatch when installing packages, not when running a locally-installed binary+RUN rm -rf /usr/local/lib/node_modules/npm/node_modules/picomatch+COPY --from=installer /app/apps/space/build ./apps/space/buildCOPY --from=installer /app/apps/space/node_modules ./apps/space/node_modulesCOPY --from=installer /app/node_modules ./node_modules+# esbuild and tsgolint are build-only Go binaries; remove from runtime image to eliminate stdlib CVEs+RUN find /app/node_modules \( -name 'esbuild' -o -name 'tsgolint' \) -type f -delete 2>/dev/null || true+WORKDIR /app/apps/spaceEXPOSE 3000diff --git a/apps/web/Dockerfile.web b/apps/web/Dockerfile.webindex 8da6b1e834..baea974371 100644--- a/apps/web/Dockerfile.web+++ b/apps/web/Dockerfile.web@@ -75,7 +75,9 @@ RUN pnpm turbo run build --filter=web# *****************************************************************************# STAGE 3: Serve with nginx# *****************************************************************************-FROM nginx:1.27-alpine AS production+FROM nginx:1.29-alpine AS production++RUN apk update && apk upgrade --no-cache && rm -rf /var/cache/apk/*COPY apps/web/nginx/nginx.conf /etc/nginx/nginx.confCOPY --from=installer /app/apps/web/build/client /usr/share/nginx/htmldiff --git a/package.json b/package.jsonindex ed9358440a..3e7630846b 100644--- a/package.json+++ b/package.json@@ -76,7 +76,8 @@"postcss": "8.5.10","axios": "catalog:","follow-redirects": "1.16.0",- "uuid": "catalog:"+ "uuid": "catalog:",+ "fast-uri@<3.1.2": ">=3.1.2"},"onlyBuiltDependencies": ["@parcel/watcher",diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex 55ca59119c..11741986c8 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -129,6 +129,7 @@ overrides:axios: 1.15.2follow-redirects: 1.16.0uuid: 14.0.0+ fast-uri@<3.1.2: '>=3.1.2'importers:@@ -5646,8 +5647,8 @@ packages:resolution: {integrity: sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==}- resolution: {integrity: sha512-Atfo14OibSv5wAp4VWNsFYE1AchQRTv9cBGWET4pZWHzYshFSS9NQI6I57rdKn9croWVMbYFbLhJ+yJvmZIIHw==}+ resolution: {integrity: sha512-rVjf7ArG3LTk+FS6Yw81V1DLuZl1bRbNrev6Tmd/9RaroeeRRJhAt7jg/6YFxbvAQXUCavSoZhPPj6oOx+5KjQ==}resolution: {integrity: sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==}@@ -11933,7 +11934,7 @@ snapshots:dependencies:fast-deep-equal: 3.1.3- fast-uri: 3.0.6+ fast-uri: 3.1.2json-schema-traverse: 1.0.0require-from-string: 2.0.2@@ -12947,7 +12948,7 @@ snapshots:- [email protected]: {}+ [email protected]: {}optionalDependencies: