Upgrade authlib to 1.7.x and fix critical vulnerabilities#7711
Upgrade authlib to 1.7.x and fix critical vulnerabilities#7711wtfiwtz wants to merge 15 commits into
Conversation
|
@eradman would you prefer Flask 3 upgrade included as well in this PR? |
|
This branch goes even further - https://github.com/orchestrated-io/redash/commits/vuln-critical-2026-05-with-flask3-patching/ Here's a similar ECR scan from the branch I mentioned above, which is equivalent but on the v2026.3 release - https://github.com/orchestrated-io/redash/tree/debug/v26.3.0p2
|
|
@eradman I'll tidy up this PR and then submit some more follow ups |
ContextStaying on Flask 2.x (instead of going to Flask 3) and bumping Werkzeug to 3.x surfaced two pre-existing test-suite bugs that only show up once the dependency versions move. They aren't security-relevant on their own, but they had to be fixed for 1.
|
There was a problem hiding this comment.
1 issue found across 12 files
Reply with feedback, questions, or to request a fix.
Re-trigger cubic
|
I would approach solving these vulnerabilities by first categorizing them into two categories.
Using LLMs is good, but stuffing everything into a giant PR is still not preferable. eg. #7712 @eradman @arikfr @yoshiokatsuneo what do you think? |
|
@wtfiwtz for better burning your tokens, could you kindly ask your agents to create smaller PRs and name them specifically such as |
That's a fine approach, but most importantly, solve one problem at a time. |
|
Replaced (in part) by |
|
@wtfiwtz Thanks for splitting these up and for your continued effort on the security front. it's appreciated! However, the new PRs still bundle unrelated concerns together. The project's CONTRIBUTING.md is explicit:
Here's what I'm seeing: #7718 - Titled as a base image upgrade, but also bumps #7719 - Titled as Flask/Werkzeug, but also includes boto3 #7720 - Mixes frontend dependency bumps with a markdown library migration to #7721 - Bundles a library replacement ( The principle for security work across major OSS projects is one concern per PR:
Why this matters practically: if I know further splitting feels like busywork, but it genuinely makes each PR faster to review and safer to merge. A clean single-concern PR is an easy approval; a multi-concern PR sits in the queue because reviewers have to evaluate the blast radius of every change at once. |

What type of PR is this?
Based off a different branch (release 26.3-based) I've upgraded most dependencies in the Docker container that have Critical vulnerabilities (detected by Docker Scout)
Description
How is this tested?
Related Tickets & Documents
I'm in the process of testing this related branch - https://github.com/orchestrated-io/redash/commits/debug/v26.3.0p2/
Mobile & Desktop Screenshots/Recordings (if there are UI changes)