PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-101023 Gitea CVE debrief

Gitea's OAuth2 token endpoint incorrectly accepted access tokens as refresh tokens, potentially allowing prolonged access beyond the original token lifetime. This vulnerability affects Gitea deployments using OAuth2 for authentication. Defenders should verify configurations, check for unexpired access tokens, and implement monitoring to detect and limit suspicious token usage. The CVE record and source item provide details on the vulnerability, but evidence of exploitation or specific affected versions is limited.

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

Who should care

Defenders responsible for Gitea OAuth2 configurations and deployments should assess exposure and implement compensating controls to monitor and limit token usage. This includes verifying configurations, checking for unexpired access tokens, and implementing monitoring to detect and limit suspicious token usage. Security teams and vulnerability management teams should also review the vulnerability and implement necessary controls to prevent prolonged access

Why it matters

The vulnerability in Gitea's OAuth2 token endpoint allows an attacker to exchange an unexpired access token for a new access token and refresh token, potentially leading to prolonged unauthorized access. Defenders responsible for Gitea deployments should verify configurations, check for unexpired access tokens, and implement monitoring to detect and limit suspicious token usage.

  • Prolonged unauthorized access to Gitea resources beyond the original token lifetime.
  • Potential for lateral movement within Gitea deployments using valid access tokens.
  • Need for verification of Gitea OAuth2 configurations and token usage.
  • Requirement for monitoring and limiting suspicious token activity.

Technical summary

Gitea's OAuth2 token endpoint did not properly verify that a token submitted with the refresh_token grant type was a refresh token. This allowed an unexpired access token for the same OAuth2 application and grant to be exchanged for a new access token and refresh token. The vulnerability affects Gitea deployments using OAuth2 for authentication and allows prolonged unauthorized access beyond the original token lifetime. Defenders should prioritize verifying Gitea OAuth2 configurations, checking for unexpired access tokens, and implementing compensating controls to monitor and limit token usage.

Defensive priority

Defenders should prioritize verifying Gitea OAuth2 configurations, checking for unexpired access tokens, and implementing compensating controls to monitor and limit token usage.

Recommended defensive actions

  • Verify Gitea OAuth2 configurations to prevent unauthorized token exchange.
  • Check for and revoke any unexpired access tokens for Gitea OAuth2 applications.
  • Implement monitoring to detect and limit suspicious token usage.
  • Apply patches or updates to Gitea OAuth2 token endpoint as available.
  • Review compensating controls for exposed systems while remediation is scheduled and verified.
  • 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, but evidence of exploitation or specific affected versions is limited. Defenders should verify Gitea configurations, check for unexpired access tokens, and implement monitoring to detect and limit suspicious token usage. The vulnerability allows an unexpired access token for the same OAuth2 application and grant to be exchanged for a new access token and refresh token.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-101023 CVE Program record

    Publisher, destination, and source semantics verified

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

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

  • CVE-2026-101023 NVD vulnerability detail

    Publisher, destination, and source semantics verified

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

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

Supplemental references

  • Gitea OAuth2 refresh token grant accepts access tokens

    Unverified legacy reference

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

    cve_program_cvelist_v5

  • Source reference

    Unverified legacy reference

    URL: https://github.com/go-gitea/gitea/security/advisories/GHSA-469m-x4mw-38r3

    Supplemental source - vendor-advisory

  • Source reference

    Unverified legacy reference

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

    Supplemental source - patch

  • Source reference

    Unverified legacy reference

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

    Supplemental source - patch

  • Source reference

    Unverified legacy reference

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

    Supplemental source - release-notes

  • Source reference

    Unverified legacy reference

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