fix: cherry-pick upstream security fixes from v1.26.3 and v1.26.4 #712
Reference in New Issue
Block a user
Delete Branch "fix/upstream-security-v1.26.3"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary\n\nCherry-picks 13 security commits from upstream Gitea v1.26.3 and v1.26.4 releases.\n\n### v1.26.3 Security (11 commits)\n- LFS: reject unknown SSH sub-verbs to prevent auth bypass (#38015)\n- Bound CODEOWNERS regex match time — ReDoS prevention (#38025)\n- Actions: require merged PR to bypass fork PR approval gate (#38041)\n- LFS: require Code-unit access for cross-repo object reuse (#38050)\n- hostmatcher: block reserved IP ranges — SSRF prevention (#38059)\n- Bound debian ParseControlFile — DoS prevention (#38055)\n- Various security fixes: feed token scope, migration SSRF, notification redaction (#38147)\n- OIDC: ignore stale external login links to organizations (#38141)\n- Various security fixes: 2FA timing, branch delete auth, org labels visibility, merge upstream auth (#38151)\n- Allow git clone of private repos with anonymous code access (#38146)\n- hostmatcher: patch incorrect private IP list (#38173)\n\n### v1.26.4 Security (2 commits)\n- Auth: do not auto-reactivate disabled users on OAuth2 callback (#38183)\n- Fix: walk git log context error handling — fixes v1.26.3 regression (#38185)\n\n## Test plan\n- [ ] Verify git push/pull operations work correctly\n- [ ] Verify OAuth2 login flows still function\n- [ ] Verify LFS operations\n- [ ] Verify Actions workflow approval gates\n\nhttps://claude.ai/code/session_011AAFzotGMf3ayvXhEmStCd