PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-123642 Gitea CVE debrief

A vulnerability in Gitea's AGit flow allows users or deploy keys with read access to the code only, or with write access to the wiki over SSH, to create pull requests in a repository where they have no access to pull requests. This issue can expose Gitea instances to unauthorized access or modifications. Gitea administrators, users with SSH access or multiple roles in Gitea instances, and security teams should assess exposure and apply mitigations. The vulnerability's impact includes potential unauthorized pull request creation, exposure of Gitea instances, and the need for verification of Gitea instance configuration and user access controls.

Vendor
Gitea
Product
Unknown
CVSS
Unknown
CISA KEV
Not listed in stored evidence
Original CVE published
2026-11-15
Original CVE updated
2026-11-16
Advisory published
2026-11-15
Advisory updated
2026-11-16

Who should care

Gitea administrators, users with SSH access or multiple roles in Gitea instances, and security teams responsible for monitoring and patching Gitea instances should assess exposure and apply mitigations.

Why it matters

The vulnerability in Gitea's AGit flow allows unauthorized pull request creation, potentially exposing Gitea instances to security risks. Defenders should prioritize verifying exposure, applying patches, and monitoring Gitea instance activity.

  • Potential unauthorized pull request creation by users or deploy keys with limited access
  • Exposure of Gitea instances to unauthorized access or modifications through AGit flow
  • Need for verification of Gitea instance configuration and user access controls
  • Priority for applying patches or mitigations to prevent exploitation

Technical summary

The AGit flow in Gitea did not properly check the pusher's access to pull requests when creating a new pull request, allowing users or deploy keys with limited access to create pull requests in repositories where they have no pull request access. This vulnerability can be mitigated by applying patches or updates to Gitea instances and restricting SSH access for users or deploy keys with limited privileges. Defenders should prioritize verifying exposure of Gitea instances and apply patches or mitigations as available.

Defensive priority

Defenders should prioritize verifying exposure of Gitea instances, especially those with SSH access or multiple user roles, and apply patches or mitigations as available.

Recommended defensive actions

  • Verify Gitea instance exposure, especially for users or deploy keys with read or write access
  • Apply patches or updates to Gitea instances to prevent unauthorized pull request creation
  • Monitor Gitea instance logs for suspicious pull request creation activity
  • Restrict SSH access to Gitea instances for users or deploy keys with limited privileges
  • Review compensating controls for exposed systems while remediation is scheduled and verified
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review
  • Track exceptions, retest remediated assets, and close the item only after evidence is documented

Evidence notes

The CVE record and source item provide details on the vulnerability, including its impact on Gitea instances and potential mitigations through patches and version updates. Evidence is limited to public sources and may not be comprehensive. Defenders should verify Gitea instance exposure and apply patches or mitigations as available. The vulnerability allows unauthorized pull request creation, potentially exposing Gitea instances to security risks. Gitea instance administrators should review configuration and user access controls.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-123642 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-123642

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-123642 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-123642

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

  • Gitea pull request creation without pull request access through AGit

    Unverified legacy reference

    URL: https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/123xxx/CVE-2026-123642.json

    cve_program_cvelist_v5

  • Source reference

    Unverified legacy reference

    URL: https://github.com/go-gitea/gitea/security/advisories/GHSA-9827-6wh6-634q

    Supplemental source - vendor-advisory

  • Source reference

    Unverified legacy reference

    URL: https://github.com/go-gitea/gitea/pull/40131

    Supplemental source - patch

  • Source reference

    Unverified legacy reference

    URL: https://github.com/go-gitea/gitea/pull/40281

    Supplemental source - patch

  • Source reference

    Unverified legacy reference

    URL: https://blog.gitea.com/release-of-28.4.0/

    Supplemental source - release-notes

  • Source reference

    Unverified legacy reference

    URL: https://github.com/go-gitea/gitea/releases/tag/v28.4.0

    Supplemental source - release-notes

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.