Skip to content

Port upstream advanced request permission fix and upgrade nodemailer to 10 - #6

Merged
danbryan merged 2 commits into
feat/audiobook-ebook-supportfrom
security/upstream-advisories-20261107
Nov 7, 2026
Merged

danbryan merged 2 commits into
feat/audiobook-ebook-supportfrom
security/upstream-advisories-20261107

Conversation

@danbryan

@danbryan danbryan commented Nov 7, 2026

Copy link
Copy Markdown

Ports upstream af03562 (seerr-team#3674): only users with REQUEST_ADVANCED or MANAGE_REQUESTS can choose the server, root folder, quality profile, language profile or tags on create and edit, and an override server must match the request's 4K type. The port keeps this fork's override handling in MediaRequest.ts.

Upgrades nodemailer to 10.2.1 and pins it with a pnpm override, so email-templates no longer pulls a vulnerable 7.x or 8.x. The transport cast matches upstream.

Server typecheck passes, 194/194 tests pass, and a test notification email renders and sends through nodemailer 10.

Port of upstream seerr seerr-team#3674. Only users with MANAGE_REQUESTS or
REQUEST_ADVANCED may choose the server, profile, root folder, language
profile or tags on a request, and a requested server must be a configured
server of the same 4K type. Edits use the stored request type instead of
the body's mediaType, so a movie request cannot be edited as a series.

(cherry picked from commit af03562)
nodemailer 7 and 8 carry open advisories fixed only in 10. The override pulls email-templates' copy up too, and the cast matches upstream since @types/email-templates still types transports against @types/nodemailer.
@danbryan
danbryan force-pushed the security/upstream-advisories-20261107 branch from 01f813a to 88d3d31 Compare November 7, 2026 22:15
@danbryan
danbryan merged commit 73f9d8b into feat/audiobook-ebook-support Nov 7, 2026
@danbryan
danbryan deleted the security/upstream-advisories-20261107 branch November 7, 2026 22:16
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.

1 participant