nday
CVE-2026-59774

Gitea Org-mode file disclosure and code execution

Gitea / Gitea

揭露時間:。nday 尚未取得修補依據,不能據此認為沒有修補。4 個 PoC 來源中有 2 個收錄:metasploit 與 nuclei。目前未列入 CISA KEV。

why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

path traversal
CWE-22, stated by the CNA Gitea 與 NVD, republishing 88ee5874-cf24-4952-aea0-31affedb7ff2
remote, unauthenticated
AV:N、PR:N、UI:N in CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (CVSS 3.1) from the ADP CISA-ADP
network
AV:N in CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (CVSS 3.1) from the ADP CISA-ADP
no authentication required
PR:N in CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (CVSS 3.1) from the ADP CISA-ADP
no user interaction
UI:N in CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (CVSS 3.1) from the ADP CISA-ADP
Metasploit
Metasploit modules auxiliary/gather/forgejo_orgmode_fileread_cve_2026_59774
nuclei
nuclei templates CVE-2026-59774
Gitea
affected products in the CVE record: Gitea · Gitea
developer / CI tooling
affected products in the CVE record: Gitea · Giteathe product type of Gitea in nday's product registry
目前階段
POC
揭露時間
CVSS
9.8 CRITICAL v3.1

生命週期

橫軸 UTC;點=精確到分鐘,寬條=僅日期,空心=不明或推斷。
時間不明
DIS揭露
10-14T14:28Z
PAT修補
尚無紀錄
ANA分析
尚無紀錄
POCPoC
metasploit、nuclei
ITW遭利用
尚無紀錄
KEVKEV
尚無紀錄

摘要

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.

Original text of the CVE record (cvelist), shown as published.

Exploit conditions

What an attack needs, read from the CVSS vector.
Attack vector AV:N
Network: the attacker only needs to reach it over the network
Attack complexity AC:L
Low: no special conditions; the attacker can expect repeatable success
Privileges required PR:N
None: no account or authorization needed
User interaction UI:N
None: no action by anyone other than the attacker

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

CVSS 3.1 vector from the CVE record, added by the ADP CISA-ADP.

事件紀錄

+DIS揭露

CVE 紀錄由 Gitea 發布。CVSS 9.8,屬重大等級。

來源 cvelist · nday 於 批次匯入 · 原始
{
  "id": 59531,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2026-59774",
  "occurred_at": "2026-10-14T14:28:25.862Z",
  "observed_at": "2026-11-12T16:27:38.849571Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "cvss": {
      "source": "adp:CISA-ADP",
      "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "version": "3.1",
      "base_score": 9.8,
      "base_severity": "CRITICAL"
    },
    "ssvc": {
      "timestamp": "2026-10-14T00:00:00+00:00",
      "automatable": "yes",
      "exploitation": "none",
      "technical_impact": "total"
    },
    "state": "PUBLISHED",
    "date_published": "2026-10-14T14:28:25.862Z",
    "assigner_short_name": "Gitea"
  }
}
時間不明來源未提供時間
+POC公開 PoC

Metasploit 已有模組 auxiliary/gather/forgejo_orgmode_fileread_cve_2026_59774(Forgejo Arbitrary File Read via Org-mode Include)。來源未提供模組的釋出時間。

來源 metasploit auxiliary/gather/forgejo_orgmode_fileread_cve_2026_59774 · nday 於 批次匯入 · 原始
{
  "id": 49838,
  "type": "poc_published",
  "source": "metasploit",
  "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/auxiliary/gather/forgejo_orgmode_fileread_cve_2026_59774.rb",
  "occurred_at": null,
  "observed_at": "2026-11-12T15:24:51.477477Z",
  "is_backfill": true,
  "dedupe_key": "auxiliary/gather/forgejo_orgmode_fileread_cve_2026_59774",
  "detail": {
    "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/auxiliary/gather/forgejo_orgmode_fileread_cve_2026_59774.rb",
    "kind": "msf_module",
    "path": "/modules/auxiliary/gather/forgejo_orgmode_fileread_cve_2026_59774.rb",
    "rank": 300,
    "check": true,
    "title": "Forgejo Arbitrary File Read via Org-mode Include",
    "cve_ids": [
      "CVE-2026-59774"
    ],
    "fullname": "auxiliary/gather/forgejo_orgmode_fileread_cve_2026_59774",
    "rank_name": "normal",
    "confidence": "curated",
    "module_type": "auxiliary",
    "module_last_modified": "2026-08-12 10:32:09 +0000",
    "vuln_disclosure_date": "2026-07-30"
  }
}
時間不明來源未提供時間
+POC公開 PoC

Nuclei 已有偵測範本 CVE-2026-59774(Gitea 1.22.1-1.27.0 - Unauthenticated Arbitrary File Read)。來源未提供範本的釋出時間。

來源 nuclei · nday 於 批次匯入 · 原始
{
  "id": 57450,
  "type": "poc_published",
  "source": "nuclei",
  "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-59774.yaml",
  "occurred_at": null,
  "observed_at": "2026-11-12T15:24:53.738369Z",
  "is_backfill": true,
  "dedupe_key": "CVE-2026-59774",
  "detail": {
    "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-59774.yaml",
    "kind": "detection_template",
    "title": "Gitea 1.22.1-1.27.0 - Unauthenticated Arbitrary File Read",
    "severity": "critical",
    "confidence": "curated",
    "cvss_score": "9.8",
    "template_id": "CVE-2026-59774",
    "template_path": "http/cves/2026/CVE-2026-59774.yaml"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

研究員討論

近 7 天有 0 位研究員提及

名單內研究員在 X 上提及此 CVE 的貼文,照原文呈現,nday 不查核。

尚未收錄名單內研究員在 X 上提及此 CVE 的貼文。

Discussion

0 comments

No comments yet.