Skip to content
Noroxi
CVE-2026-26232· NVD / CVE Program· CNA Gitea

Gitea OAuth2 authorization codes lack expiry and reuse enforcement

Gitea versions before 1.25.5 do not consistently enforce OAuth2 authorization code expiry and single-use behavior during token exchange.

CriticalCVSS 9.1 · v3.1—No exploit Fix available
Published
Jul 3, 2026
Updated
Jul 7, 2026
EPSS
0.5% · 40th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

36

Monitor

Low priority for now.

CVSS
36 / 40 · 9.1 / 10
CISA KEV
0 / 30 · Not listed
EPSS
0 / 30 · 0.5%

CISA SSVC decision

Exploitation
none
Automatable
yes
Technical impact
total

Vulnrichment: CISA's decision-tree inputs.

Affected systems

—

Versions reported by the vendor

Affected version ranges reported by the assigning authority (Gitea). Independent of NVD's CPE analysis and usually ahead of it.

  • Gitea Gitea Open Source Git Server

    • before 1.25.5affected · semver

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Gocode.gitea.io/giteabefore 1.25.51.25.5
openSUSE:Leap 16.0govulncheck-vulndbbefore 0.0.20260902T191204-160000.1.10.0.20260902T191204-160000.1.1
SUSE:Linux Enterprise Server 16.0govulncheck-vulndbbefore 0.0.20260902T191204-160000.1.10.0.20260902T191204-160000.1.1

Other highest-scoring records for the same primary product.

  • CVE-2024-6886Inproper Sanitation of field leading to stored XSS
    50Plan
  • CVE-2026-20896Gitea Docker image trusts spoofable reverse-proxy headers by default
    40Plan
  • CVE-2026-56654Privilege Escalation via Access Token Scope Escalation in API
    39Monitor
  • CVE-2026-58422Improper authorization on OAuth sign-in callback silently re-enables administrator-disabled accounts
    39Monitor
  • CVE-2026-27780Gitea pre-receive hook can miss branch-protection checks after scanner errors
    39Monitor
  • CVE-2026-26292Gitea LFS mirror synchronization bypasses migration HTTP transport restrictions
    39Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
Gitea Gitea Open Source Git Server1.25.5Vendor (CNA)
Go:code.gitea.io/gitea1.25.5Package registry (OSV)
opensuse:govulncheck-vulndb0.0.20260902T191204-160000.1.1 · openSUSE:Leap 16.0Package registry (OSV)
suse:govulncheck-vulndb0.0.20260902T191204-160000.1.1 · SUSE:Linux Enterprise Server 16.0Package registry (OSV)

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

  • CVE-2026-207790 days apartGitea TOTP single-use enforcement defect allows OTP replay
    28Monitor

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

  • CVE-2026-228740 days apartGitea webhook and migration allow-list filtering permits SSRF
    38Monitor
  • CVE-2026-5789441 days apartRepository Migration Follows Git HTTP Redirects After URL Allow/Block Validation, Enabling Internal Git Repository Exfiltration
    34Monitor
  • CVE-2026-584180 days apartSSRF via HTTP Redirect in Repository Migration
    26Monitor
  • CVE-2026-5844241 days apartRepository migration SSRF via multi-answer DNS allow-list bypass
    26Monitor

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • Anyone who can reach it over the internet can trigger it.
  • No account or password is required.
  • No user action is required.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
high · data can be read
Integrity
high · data or configuration can be modified
Availability
none
Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality impact
High
Integrity impact
High
Availability impact
None

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

nvd-secondary

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

We use this product, ask for help

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records