PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-107618 Gitea CVE debrief

A Gitea cross-site request forgery vulnerability allows an attacker to change repository topics when a repository administrator visits a malicious page. The vulnerability exists because the `POST /{owner}/{repo}/topics` endpoint was registered without the sign-in middleware that provides cross-origin protection. This oversight enables attackers to modify repository topics without administrator knowledge, potentially leading to security incidents. Repository administrators should verify and apply patches to prevent unauthorized topic changes.

Vendor
Gitea
Product
Unknown
CVSS
Unknown
CISA KEV
Not listed in stored evidence
Original CVE published
2026-10-18
Original CVE updated
2026-10-18
Advisory published
2026-10-18
Advisory updated
2026-10-18

Who should care

Repository administrators and Gitea users should be aware of this vulnerability and take steps to prevent unauthorized topic changes. They should verify Gitea version and apply patches to prevent unauthorized topic changes. Additionally, they should monitor repository topic changes for suspicious activity and restrict repository administrator access to sensitive pages.

Why it matters

The Gitea cross-site request forgery vulnerability allows attackers to change repository topics, potentially leading to security incidents. Repository administrators should verify and apply patches to prevent unauthorized topic changes.

  • attackers can change repository topics without administrator knowledge
  • Repository administrators may need to verify topic changes for suspicious activity
  • Gitea users may need to monitor repository activity for potential security incidents

Technical summary

The Gitea cross-site request forgery vulnerability allows an attacker to change repository topics when a repository administrator visits a malicious page. The vulnerability exists because the `POST /{owner}/{repo}/topics` endpoint was registered without the sign-in middleware that provides cross-origin protection. This oversight enables attackers to modify repository topics without administrator knowledge, potentially leading to security incidents. Repository administrators should verify and apply patches to prevent unauthorized topic changes.

Defensive priority

Repository administrators should verify and apply patches to prevent unauthorized topic changes.

Recommended defensive actions

  • Verify Gitea version and apply patches to prevent unauthorized topic changes
  • Monitor repository topic changes for suspicious activity
  • Restrict repository administrator access to sensitive pages
  • 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 source item provide details on the cross-site request forgery vulnerability in Gitea, which allows attackers to change repository topics. The vulnerability is caused by the lack of sign-in middleware on the `POST /{owner}/{repo}/topics` endpoint, providing cross-origin protection. Repository administrators should verify and apply patches to prevent unauthorized topic changes. Evidence is limited to CVE records and source items, and defenders should verify affected scope and apply patches.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-107618 CVE Program record

    Publisher, destination, and source semantics verified

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

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

  • CVE-2026-107618 NVD vulnerability detail

    Publisher, destination, and source semantics verified

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

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

Supplemental references

  • Gitea cross-site request forgery on repository topics

    Unverified legacy reference

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

    cve_program_cvelist_v5

  • Source reference

    Unverified legacy reference

    URL: https://github.com/go-gitea/gitea/security/advisories/GHSA-4jmf-h2cm-hg7w

    Supplemental source - vendor-advisory

  • Source reference

    Unverified legacy reference

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

    Supplemental source - patch

  • Source reference

    Unverified legacy reference

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

    Supplemental source - patch

  • Source reference

    Unverified legacy reference

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

    Supplemental source - release-notes

  • Source reference

    Unverified legacy reference

    URL: https://github.com/go-gitea/gitea/releases/tag/v28.2.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.