Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion packages/stack/src/Artifacts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,12 @@ const definitions: Readonly<Record<ServiceKind, ArtifactDefinition>> = {
"ghcr.io/supabase/cli/pgmeta:v0.99.0@sha256:90de2dcf03ac548ae2d1d3e71b3cd10bde4c627572720a42e4c3946b7090292e",
"bin/pgmeta",
),
mail: definition("mailpit", "v1.30.2", "ghcr.io/supabase/cli/mailpit:v1.30.2", "bin/mailpit"),
mail: definition(
"mailpit",
"v1.30.2",
"ghcr.io/supabase/cli/mailpit:v1.30.2@sha256:37a38e48e9338cd7e89dfeb487f37b02ebfcd9cb23111bed2d345e79d37d6dd6",

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

Mailpit v1.30.2 in this newly immutable digest is affected by GHSA-8r62-w5wh-fc5m. A malicious website can request /%61pi/events on a local unauthenticated Mailpit instance, bypass origin validation, and receive stored emails—including password-reset tokens—over the WebSocket.
Helpful? Add 👍 / 👎

💡 Fix Suggestion

Suggestion: Upgrade Mailpit from v1.30.2 to v1.30.6 (or later) to resolve the CSRF/WebSocket origin-validation bypass described in GHSA-8r62-w5wh-fc5m. The recommended approach is to re-trigger the mirror-slim-image workflow dispatch targeting Mailpit v1.30.6, which will automatically compute the correct image digest and open a new pin PR. Alternatively, update manually: (1) change line 125 from "v1.30.2" to "v1.30.6", and (2) change line 126 to "ghcr.io/supabase/cli/mailpit:v1.30.6@sha256:<correct-digest-for-v1.30.6>", where the digest is obtained by pulling ghcr.io/supabase/cli/mailpit:v1.30.6 and inspecting its manifest digest via docker inspect --format='{{index .RepoDigests 0}}' ghcr.io/supabase/cli/mailpit:v1.30.6 or the GHCR API.

"bin/mailpit",
),
analytics: definition(
"analytics",
"v1.50.9",
Expand Down
Loading