chore(deps): update dependency authlib to v1.6.7 [security]#954
Merged
rene-oromtz merged 1 commit intomainfrom Mar 5, 2026
Merged
chore(deps): update dependency authlib to v1.6.7 [security]#954rene-oromtz merged 1 commit intomainfrom
rene-oromtz merged 1 commit intomainfrom
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #954 +/- ##
=======================================
Coverage 73.97% 73.97%
=======================================
Files 108 108
Lines 10341 10341
Branches 887 887
=======================================
Hits 7650 7650
Misses 2503 2503
Partials 188 188
*This pull request uses carry forward flags. Click here to find out more.
🚀 New features to boost your workflow:
|
Collaborator
|
Couldn't resist clicking the dependabot button to see what it does to resolve this. |
ajzobro
approved these changes
Mar 5, 2026
Contributor
ajzobro
left a comment
There was a problem hiding this comment.
LGTM!
I was concerned at first read that it might try to suggest working values for an algorithm and, e.g. security salt value -- I would think we don't want any WORKING code with respect to auth keys because there ought to be a non-zero amount of effort to bring that online.
Seems like I was wrong :-)
8410c98 to
42c416e
Compare
42c416e to
53956ea
Compare
rene-oromtz
approved these changes
Mar 5, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.6.6→1.6.7Warning
Some dependencies could not be looked up. Check the warning logs for more information.
GitHub Vulnerability Alerts
CVE-2026-28802
Summary
After upgrading the library from 1.5.2 to 1.6.0 (and the latest 1.6.5) it was noticed that previous tests involving passing a malicious JWT containing alg: none and an empty signature was passing the signature verification step without any changes to the application code when a failure was expected.
Details
It was likely introduced in this commit:
authlib/authlib@a61c2ac
PoC
Output:
Impact
Users of the library are likely not aware that they now need to check the provided headers and disallow
alg: noneusage, it is not obvious from the release notes that any action needs to be taken. As a best-practice, the library should adopt a 'secure by default' stance and default to rejecting it and allow the application to provide an algorithm whitelist.Applications using this library for authentication or authorization may accept malicious, forged JWTs, leading to:
Release Notes
authlib/authlib (authlib)
v1.6.7Compare Source
Full Changelog: authlib/authlib@v1.6.6...v1.6.7
Set supported algorithms for the default
jwtinstance.Configuration
📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.