Release Highlights
- 🏢 Support for SourceHut (sr.ht) provider
- 🔍️ Support for more fine-grained control over the google admin-sdk scopes and optional google groups
- 🐛 Squashed some bugs
Important Notes
Firstly, fixed critical vulnerability where skip_auth_routes
regex patterns matched against the full request URI (path + query parameters) instead of just the path, allowing authentication bypass attacks.
Secondly, fixed double-escaping of $
in regexes for Alpha Config upstreams path and rewriteTargets:
:::yaml
# Before
upstreams:
- id: web
path: ^/(.*)$$
rewriteTarget: /$$1
# After
upstreams:
- id: web
path: ^/(.*)$
rewriteTarget: /$1
Breaking Changes
If your configuration relies on matching query parameters in skip_auth_routes
patterns, you must update your regex patterns to match paths only. Review all skip_auth_routes
entries for potential impact.
Example of affected configuration:
:::yaml
# This pattern previously matched both:
# - /api/foo/status (intended)
# - /api/private/sensitive?path=/status (bypass - now fixed)
skip_auth_routes: ["^/api/.*/status"]
For detailed information, migration guidance, and security implications, see the security advisory.
Changes since v7.10.0
- #2615 feat(cookies): add option to set a limit on the number of per-request CSRF cookies oauth2-proxy sets (@bh-tt)
- #2605 fix: show login page on broken cookie (@Primexz)
- #2743 feat: allow use more possible google admin-sdk api scopes (@BobDu)
- #2359 feat: add SourceHut (sr.ht) provider(@bitfehler)
- #2524 fix: regex substitution for $ signs in upstream path handling before running envsubst (@dashkan / @tuunit)
- #3104 feat(cookie): add feature support for cookie-secret-file (@sandy2008)
- #3055 feat: support non-default authorization request response mode also for OIDC providers (@stieler-it)
- #3138 feat: make google_groups argument optional when using google provider (@sourava01)
- #3093 feat: differentiate between "no available key" and error for redis sessions (@nobletrout)
- GHSA-7rh7-c77v-6434 fix: skip_auth_routes bypass through query parameter inclusion