PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-27775 Gitea CVE debrief

CVE-2026-27775 is a high-severity vulnerability in Gitea, a self-hosted Git service. The issue allows a branch-specific write-permission result to be cached across multiple refs in one pre-receive hook session. This can enable a per-branch maintainer-edit grant to be reused for other refs, potentially escalating to full repository write access. Gitea administrators and users with write permissions to branches should assess their exposure to this vulnerability. They should verify their Gitea version and branch-specific write permissions, and consider updating to a patched version or restricting access if necessary. The vulnerability has a high CVSS score of 8.8 and affects Gitea 1.2

Vendor
Gitea
Product
Gitea Open Source Git Server
CVSS
HIGH 8.8
CISA KEV
Not listed in stored evidence
Original CVE published
2026-07-03
Original CVE updated
2026-10-25
Advisory published
2026-07-03
Advisory updated
2026-10-25

Who should care

Gitea administrators and users with write permissions to branches should assess their exposure to this vulnerability. They should verify their Gitea version and branch-specific write permissions, and consider updating to a patched version or restricting access if necessary.

Why it matters

CVE-2026-27775 is a high-severity vulnerability in Gitea that allows escalation of privileges through cached branch-specific write-permission results. Defenders should prioritize verifying Gitea deployments, assessing branch-specific write permissions, and monitoring for unusual activity.

  • Defenders need to verify Gitea deployments for version 1.25.5 or earlier and update to a patched version if necessary.
  • Branch-specific write permissions should be assessed and restricted if possible.
  • Unusual activity in Gitea instances, especially related to branch and repository changes, should be monitored.

Technical summary

The vulnerability in Gitea allows a branch-specific write-permission result to be cached across multiple refs in one pre-receive hook session. This can enable a per-branch maintainer-edit grant to be reused for other refs, potentially escalating to full repository write access. The issue has a high CVSS score of 8.8 and affects Gitea version 1.25.5 or earlier. Defenders should prioritize verifying Gitea deployments, especially those with multiple branches and complex permission structures. They should assess exposure by checking if Gitea instances are using version 1.25.5 or earlier and if branch-specific write permissions are in use.

Defensive priority

Defenders should prioritize verifying Gitea deployments, especially those with multiple branches and complex permission structures. They should assess exposure by checking if Gitea instances are using version 1.25.5 or earlier and if branch-specific write permissions are in use. Immediate remediation is advised, as the vulnerability has a high CVSS score of 8.8.

Recommended defensive actions

  • Verify Gitea deployments for version 1.25.5 or earlier and update to a patched version if necessary.
  • Assess branch-specific write permissions and restrict access if possible.
  • Monitor Gitea instances for unusual activity, especially related to branch and repository changes.
  • 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.
  • Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up.

Evidence notes

The CVE record and NVD entry provide details about the vulnerability, including its description, CVSS score, and affected versions. However, the exact versions of Gitea that are vulnerable and the specific conditions under which the vulnerability can be exploited require further verification from official sources.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-27775 CVE Program record

    Publisher, destination, and source semantics verified

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

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

  • CVE-2026-27775 NVD vulnerability detail

    Publisher, destination, and source semantics verified

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

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

Supplemental references

  • Source reference

    Unverified legacy reference

    URL: https://blog.gitea.com/release-of-1.26.3-and-1.26.4/

    88ee5874-cf24-4952-aea0-31affedb7ff2

  • Source reference

    Unverified legacy reference

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

    88ee5874-cf24-4952-aea0-31affedb7ff2

  • Source reference

    Unverified legacy reference

    URL: https://github.com/go-gitea/gitea/releases/tag/v1.26.3

    88ee5874-cf24-4952-aea0-31affedb7ff2

  • Source reference

    Unverified legacy reference

    URL: https://github.com/go-gitea/gitea/security/advisories/GHSA-649p-mmhf-85c7

    88ee5874-cf24-4952-aea0-31affedb7ff2

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.