Skip to content

chore(stack): pin postgres to 15.14.1.175 - #6721

Closed
supabase-cli-releaser[bot] wants to merge 1 commit into
developfrom
sync/stack-workload-catalog-postgres
Closed

supabase-cli-releaser[bot] wants to merge 1 commit into
developfrom
sync/stack-workload-catalog-postgres

Conversation

@supabase-cli-releaser

@supabase-cli-releaser supabase-cli-releaser Bot commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor

Pins packages/stack/src/Artifacts.ts to the
postgres 15.14.1.175
slim-services release and its image digest.

Opened from the mirror-slim-image dispatch. artifactFor derives the
native release tag, asset names, and URLs from service + version, so this
pin is the whole change.

@supabase-cli-releaser
supabase-cli-releaser Bot requested a review from a team as a code owner September 23, 2026 09:42
@supabase-cli-releaser
supabase-cli-releaser Bot force-pushed the sync/stack-workload-catalog-postgres branch from 6cb3960 to 910c623 Compare September 23, 2026 09:43
@supabase-cli-releaser supabase-cli-releaser Bot changed the title chore(stack): pin postgres to 17.6.1.175 chore(stack): pin postgres to 15.14.1.175 Sep 23, 2026
Comment thread packages/stack/src/Artifacts.ts Resolved
@supabase-cli-releaser
supabase-cli-releaser Bot force-pushed the sync/stack-workload-catalog-postgres branch from 910c623 to e13f849 Compare September 23, 2026 10:07
@supabase-cli-releaser supabase-cli-releaser Bot changed the title chore(stack): pin postgres to 15.14.1.175 chore(stack): pin postgres to 17.9.0.028-orioledb Sep 23, 2026
@supabase-cli-releaser
supabase-cli-releaser Bot force-pushed the sync/stack-workload-catalog-postgres branch from e13f849 to 17225a5 Compare September 23, 2026 10:12
@supabase-cli-releaser supabase-cli-releaser Bot changed the title chore(stack): pin postgres to 17.9.0.028-orioledb chore(stack): pin postgres to 15.14.1.175 Sep 23, 2026
"15.14.1.173":
"ghcr.io/supabase/cli/postgres:15.14.1.173@sha256:b7d210fa3bca26568fa20448e3bec092bd4f8da6a5af5029597639d38e7d896e",
"15.14.1.175":
"ghcr.io/supabase/cli/postgres:15.14.1.175@sha256:9ec19a5869dca59a14fbf32d8acf38211c428b043e5252a27cbd274d6c8aedbb",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Severity: MEDIUM

This selected image is PostgreSQL 15.14, affected by CVE-2026-2003, CVE-2026-2004, CVE-2026-2005, and CVE-2026-2006. An untrusted database user/object creator can supply crafted inputs to server paths, reaching memory-disclosure or memory-corruption sinks and potentially executing code as the database OS account. Advisories
Helpful? Add 👍 / 👎

💡 Fix Suggestion

Suggestion: Upgrade the pinned PostgreSQL 15 image from version 15.14.1.175 to a version based on PostgreSQL 15.16 or later to remediate CVE-2026-2003, CVE-2026-2004, CVE-2026-2005, and CVE-2026-2006. Check the ghcr.io/supabase/cli/postgres registry (or the supabase/postgres GitHub releases) for the latest 15.x slim-services build that corresponds to PostgreSQL ≥ 15.16, retrieve its image digest (docker buildx imagetools inspect ghcr.io/supabase/cli/postgres:<new-tag>), then replace both the version key ("15.14.1.175") and the image reference (including the @sha256:… digest) in the additionalImages object on lines 78-80 of packages/stack/src/Artifacts.ts.

@supabase-cli-releaser
supabase-cli-releaser Bot force-pushed the sync/stack-workload-catalog-postgres branch from 17225a5 to 86340a5 Compare September 23, 2026 12:08
@supabase-cli-releaser supabase-cli-releaser Bot changed the title chore(stack): pin postgres to 15.14.1.175 chore(stack): pin postgres to 17.9.0.028-orioledb Sep 23, 2026
Comment thread packages/stack/src/Artifacts.ts Outdated
"17.6.1.173",
"ghcr.io/supabase/cli/postgres:17.6.1.173@sha256:1581c433d71a48a81e356a3ed2d4aa5ecfc8fc0465ea98661da7a88023317dcf",
"17.9.0.028-orioledb",
"ghcr.io/supabase/cli/postgres:17.9.0.028-orioledb@sha256:42571258eecf5dcdc9c5b1a5d23f45c933cf63c946f7ecbe307cfeaf2a63497b",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Severity: MEDIUM

The selected image also supplies pg_dump, pg_dumpall, and psql; PostgreSQL’s advisories mark 17.x before 17.11 as affected by CVE-2026-19385 and CVE-2026-18408. A database object creator or malicious dump reaches these clients through crafted metadata/commands and can execute code as the local CLI user. CVE-2026-19385 CVE-2026-18408
Helpful? Add 👍 / 👎

💡 Fix Suggestion

Suggestion: Upgrade the pinned PostgreSQL image from 17.9.0.028-orioledb to a version that includes PostgreSQL 17.11 or later, which contains the patches for CVE-2026-19385 and CVE-2026-18408. Specifically:

  1. Check ghcr.io/supabase/cli/postgres for the latest orioledb-flavored release that bundles PostgreSQL >= 17.11 (e.g., a tag in the form 17.11.x.xxx-orioledb).
  2. Update line 74 (defaultVersion) from "17.9.0.028-orioledb" to the new version string.
  3. Update line 75 (the image reference) to the new tag and its corresponding @sha256:<digest> pin, ensuring the digest is fetched from the registry (e.g., via docker manifest inspect ghcr.io/supabase/cli/postgres:<new-tag>) to maintain supply-chain integrity.

@supabase-cli-releaser supabase-cli-releaser Bot changed the title chore(stack): pin postgres to 17.9.0.028-orioledb chore(stack): pin postgres to 15.14.1.175 Sep 23, 2026
@supabase-cli-releaser
supabase-cli-releaser Bot force-pushed the sync/stack-workload-catalog-postgres branch from 86340a5 to 4f2b90b Compare September 23, 2026 12:14
@avallete avallete closed this Sep 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants