forgejo-11-secure/routers/web/auth
Mathieu Fenniak 9e51a55b63 [v11.0/forgejo] 2026-05-12 security patches (#12495)
- fix: prevent git write to wiki repo from unauthorized user via git HTTP
- fix: prevent LFS authorization token from being used for read/write access after user's access is restricted from Forgejo
- fix: prevent scoped API access (OAuth tokens, Access tokens) from accessing resources beyond their permitted scope via non-API endpoints (e.g. /user/repo/raw/...)
- fix: implementing missing OAuth validation checks, improve protections against race conditions
- fix: prevent OAuth redirect URI spoofing via non-ascii case collision
- fix: strengthen Actions Artifact V4 signature algorithm against spoofing attacks
- fix: update Go toolchain to 1.25.10

Co-authored-by: Derzsi Dániel <daniel@tohka.us>
Co-authored-by: jvoisin <julien.voisin@dustri.org>
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/12495
2026-05-12 04:54:30 +02:00
..
2fa.go [v11.0/forgejo] fix: consistently enforce 2FA on OpenID 2.0 (#9096) 2025-08-30 18:57:11 +02:00
auth.go [v11.0/forgejo] fix: consistently enforce 2FA on OpenID 2.0 (#9096) 2025-08-30 18:57:11 +02:00
auth_test.go [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
linkaccount.go fix(sec): consider webauthn for external login 2025-05-02 07:31:20 +02:00
main_test.go [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
oauth.go [v11.0/forgejo] 2026-05-12 security patches (#12495) 2026-05-12 04:54:30 +02:00
oauth_test.go [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
openid.go [v11.0/forgejo] fix: consistently enforce 2FA on OpenID 2.0 (#9096) 2025-08-30 18:57:11 +02:00
password.go [v11.0/forgejo] fix: allow unactivated users to send recovery mails (#9516) 2025-10-03 09:50:03 +02:00
webauthn.go [v11.0/forgejo] fix: consistently enforce 2FA on OpenID 2.0 (#9096) 2025-08-30 18:57:11 +02:00