Skip to main content
Exploitation reportedNot in CISA KEV yet

CVE-2026-59774

Gitea Org-mode file disclosure and code execution

Exploitation reported by one source. First attested on 2026-10-15 by GCVE · previdian.

  • Published2026-10-14
  • WeaknessCWE-22

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

Gitea's Org-mode markup renderer processes INCLUDE directives supplied to the repository markup endpoint without preventing access to server-side files. An unauthenticated attacker can use a suitable public repository to read files accessible to the Gitea service account. If the disclosed files include app.ini and its INTERNAL_TOKEN, the attacker can chain the disclosure with internal logger access to modify a Git hook and execute commands as the Gitea service account.

Timeline

dates in UTC
  1. 2026-10-1415:17CVE publishedNVD
  2. 2026-10-1507:57Listed as exploited by GCVEGCVE
  3. 2026-10-1507:57Exploitation first reportedGCVE

Versions per branch

Products declared by the CNA

As Gitea, the CNA that assigned this CVE, declared them in the CVE record; versions as written. NVD lists no product for this CVE yet: this is the only product data so far.

  • Giteaother versions: not affected

    package gitea.dev

    Affected
    • ≥ 1.22, < 1.27.1fixed in 1.27.1semver

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2026-10-14

Neither OSV.dev nor the vendor advisories we read list affected versions for CVE-2026-59774 yet.

Full record on NVD

Fix

No fix published by the sources we read yet. NVD record

Detection

read 2026-11-01 01:02 UTC
Nuclei template
available
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
1 moduleauxiliary/gather/forgejo_orgmode_fileread_cve_2026_59774rank: normalModule metadata: Metasploit Framework, © Rapid7, Inc., BSD-3-Clause.
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published
2026-10-14
Last modified
2026-10-15
NVD status
Deferred

Frequently asked questions

What is CVE-2026-59774?

Gitea's Org-mode markup renderer processes INCLUDE directives supplied to the repository markup endpoint without preventing access to server-side files. An unauthenticated attacker can use a suitable public repository to read files accessible to the Gitea service account. If the disclosed files include app.ini and its INTERNAL_TOKEN, the attacker can chain the disclosure with internal logger access to modify a Git hook and execute commands as the Gitea service account.

Is CVE-2026-59774 actively exploited?

Active exploitation of CVE-2026-59774 has not been confirmed. Its EPSS score was 7.7% on 2026-11-30, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2026-59774?

CVE-2026-59774 has a CVSS v3 base score of 9.8 (Critical severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

Hear about the next vulnerability in your software

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record