CVE Catalog

CVE-2026-123642

MediumCVSS 4.3
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.25%

17th percentile - higher than 17% of all known CVEs

Summary

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.

Risk Assessment

Users with limited permissions can create pull requests in repositories where they should not have pull request access. This may lead to unauthorized changes or clutter in the review process.

Recommendation

Update Gitea to a version with the fix that requires read access to pull requests for AGit creation and refuses wiki pushes. Check pull requests created via AGit for unauthorized authors.

Other vulnerabilities in Gitea

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS