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

The pinned Mailpit v1.30.2 image is affected by GHSA-8r62-w5wh-fc5m. A malicious website can send /%61pi/events to the default unauthenticated Mailpit endpoint; routing reaches /api/events while origin validation is skipped, streaming captured email metadata and body snippets, including password-reset tokens, cross-origin. GHSA-8r62-w5wh-fc5m
Helpful? Add 👍 / 👎

💡 Fix Suggestion

Suggestion: Upgrade the pinned Mailpit image from v1.30.2 to v1.30.6 or later, which patches GHSA-8r62-w5wh-fc5m. Update both the version string (line 125) and the image URI with the new tag and its corresponding SHA256 digest (line 126). You can retrieve the correct digest for the patched image by running: docker pull ghcr.io/supabase/cli/mailpit:v1.30.6 && docker inspect --format='{{index .RepoDigests 0}}' ghcr.io/supabase/cli/mailpit:v1.30.6. Replace the current v1.30.2 version and digest with the values from v1.30.6 (or the latest patched release >= v1.30.6).

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