fix(security): harden access checks and migration validation - #38324
Merged
Conversation
bircni
marked this pull request as ready for review
July 3, 2026 17:58
lafriks
approved these changes
Jul 5, 2026
lunny
reviewed
Jul 7, 2026
lunny
reviewed
Jul 7, 2026
Zettat123
reviewed
Jul 9, 2026
This reverts commit 0ac5f4e. Repo-level webhooks always have owner_id = 0, so DeactivateWebhooksByRepoAndOwner(repo.ID, collaborator.ID) can never match any row -- the change was an inert no-op in production. The webhook model records no creator for a repo webhook, so correctly identifying a removed collaborator's webhooks needs a schema change. Reverting until that is designed properly. Assisted-by: Claude Code:claude-opus-4-8
Zettat123
approved these changes
Jul 10, 2026
bircni
pushed a commit
that referenced
this pull request
Jul 10, 2026
zjjhot
added a commit
to zjjhot/gitea
that referenced
this pull request
Jul 13, 2026
* 'main' of https://github.com/go-gitea/gitea: fix: various security fixes (go-gitea#38406) fix(util): reject invalid characters between time-estimate units (go-gitea#38416) feat(actions): implement adaptive auto-refresh for workflow runs list (go-gitea#38329) fix(turnstile): route CAPTCHA verification through the configured proxy (go-gitea#38412) fix: represent a deleted assignee team as a Ghost team (go-gitea#38413) [skip ci] Updated translations via Crowdin fix: refresh pull request merge box when the commit status is pending (go-gitea#38410) chore: remove Yarden Shoham from maintainers (go-gitea#38407) fix: actions task state concurrent update (go-gitea#38405) fix(actions): keep workflow run trailing on one row with long branch names (go-gitea#38382) fix(pull): re-evaluate review official flag on target branch change (go-gitea#38319) fix(web): use locale-aware date formatting for contribution calendar tooltips (go-gitea#38398) fix(security): harden access checks and migration validation (go-gitea#38324) fix: enforce public-only token scope and harden push options / locale parsing (go-gitea#38323) fix: co-author detection (go-gitea#38392) fix(api): stop leaking private repo metadata after access revocation (go-gitea#38321) fix(lfs): require proof of possession for cross-repo objects (go-gitea#38322) fix: incorrect co-author detection on commit page (go-gitea#38386)
zjjhot
added a commit
to zjjhot/gitea
that referenced
this pull request
Jul 13, 2026
* main: fix: various security fixes (go-gitea#38406) fix(util): reject invalid characters between time-estimate units (go-gitea#38416) feat(actions): implement adaptive auto-refresh for workflow runs list (go-gitea#38329) fix(turnstile): route CAPTCHA verification through the configured proxy (go-gitea#38412) fix: represent a deleted assignee team as a Ghost team (go-gitea#38413) [skip ci] Updated translations via Crowdin fix: refresh pull request merge box when the commit status is pending (go-gitea#38410) chore: remove Yarden Shoham from maintainers (go-gitea#38407) fix: actions task state concurrent update (go-gitea#38405) fix(actions): keep workflow run trailing on one row with long branch names (go-gitea#38382) fix(pull): re-evaluate review official flag on target branch change (go-gitea#38319) fix(web): use locale-aware date formatting for contribution calendar tooltips (go-gitea#38398) fix(security): harden access checks and migration validation (go-gitea#38324) fix: enforce public-only token scope and harden push options / locale parsing (go-gitea#38323) fix: co-author detection (go-gitea#38392) fix(api): stop leaking private repo metadata after access revocation (go-gitea#38321) fix(lfs): require proof of possession for cross-repo objects (go-gitea#38322) fix: incorrect co-author detection on commit page (go-gitea#38386)
|
Hi @bircni , Could youplease request a CVE assignment for GHSA-qf2f-qh6p-7v89 through GitHub Security Advisories? Thank you. |
Member
Author
|
I cannot but @lunny can |
Member
|
A CVE has been assigned to that issue. |
|
Thank you for your help, I am very grateful. |
zeekay
pushed a commit
to hanzoai/git
that referenced
this pull request
Jul 26, 2026
…a#38324) Harden access checks for issue dependencies, team repository membership, notifications, stars, tracked times and repository migrations.
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.
Harden access checks for issue dependencies, team repository membership, notifications, stars, tracked times and repository migrations.