PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-73804 Gitea CVE debrief

Gitea API token scope escalation through HTTP signatures allows an attacker to register an attacker-controlled SSH public key on the token owner's account, effectively converting a user-scoped token into an unscoped API authentication method. This vulnerability impacts Gitea instance administrators and users with write:user scoped tokens, as it could lead to unauthorized access to sensitive repositories and elevation of privileges. The vulnerability is caused by the lack of proper validation of HTTP signatures, allowing an attacker to bypass API token scope checks.

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

Who should care

Gitea instance administrators and users with write:user scoped tokens should assess exposure and prioritize remediation. This includes reviewing Gitea instance configurations, verifying the presence of affected versions, and ensuring that remediation efforts are in place to prevent exploitation.

Why it matters

CVE-2026-73804 allows an attacker to escalate privileges through Gitea API token scope escalation, impacting Gitea instance administrators and users with write:user scoped tokens.

  • Elevation of privileges through token scope escalation
  • Potential unauthorized access to sensitive repositories
  • Need for verification of Gitea instance exposure
  • Priority for remediation through version updates or compensating controls

Technical summary

The vulnerability allows an attacker to register an attacker-controlled SSH public key on the token owner's account, effectively converting a user-scoped token into an unscoped API authentication method while retaining the account's normal role and repository permissions. This is caused by the lack of proper validation of HTTP signatures, allowing an attacker to bypass API token scope checks. The vulnerability impacts Gitea instance administrators and users with write:user scoped tokens, as it could lead to unauthorized access to sensitive repositories and elevation of privileges.

Defensive priority

Defenders should prioritize verifying Gitea instances for exposure, especially those with write:user scoped tokens, and ensure remediation through version updates or compensating controls.

Recommended defensive actions

  • Verify Gitea instances for exposure, especially those with write:user scoped tokens
  • Ensure remediation through version updates or compensating controls
  • Monitor for suspicious activity related to API token usage
  • 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 vulnerability, including its description and affected versions. However, CVSS score and severity are not provided. The vulnerability is confirmed to exist in Gitea versions prior to 1.27.2. Official vendor advisories and release notes for Gitea version 1.27.2 provide additional context and guidance on remediation.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-73804 CVE Program record

    Publisher, destination, and source semantics verified

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

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

  • CVE-2026-73804 NVD vulnerability detail

    Publisher, destination, and source semantics verified

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

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

Supplemental references

  • Gitea API token scope escalation through HTTP signatures

    Unverified legacy reference

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

    cve_program_cvelist_v5

  • Source reference

    Unverified legacy reference

    URL: https://github.com/go-gitea/gitea/security/advisories/GHSA-q55v-4cmj-xh65

    Supplemental source - vendor-advisory

  • Source reference

    Unverified legacy reference

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

    Supplemental source - release-notes

  • Source reference

    Unverified legacy reference

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

    Supplemental source - patch

  • Source reference

    Unverified legacy reference

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

    Supplemental source - patch

  • Source reference

    Unverified legacy reference

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

    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.