Bug 2573788 (CVE-2026-123642) - CVE-2026-123642 code.gitea.io/gitea: Gitea: Unauthorized pull request creation via AGit workflow
Summary: CVE-2026-123642 code.gitea.io/gitea: Gitea: Unauthorized pull request creatio...
Keywords:
Status: NEW
Alias: CVE-2026-123642
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-11-16 21:39 UTC by OSIDB Bzimport
Modified: 2026-11-16 22:17 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-11-16 21:39:07 UTC
The AGit flow (pushing to `refs/for/...`) did not check the pusher's access to pull requests again when it created the pull request. A user or deploy key with read access to the code only, or with write access to the wiki over SSH, could open pull requests in a repository where they have no access to pull requests. Creating a pull request through AGit now requires read access to the pull requests of the repository and is refused for wiki pushes.


Note You need to log in before you can comment on or make changes to this bug.