# 摘要
Gitea before 1.16.7 does not escape git fetch remote.
以上是 CVE 记录(cvelist)中的原文,未经改写。
# 事件记录
+DIS披露
CVE 记录发布,编号分配方是 mitre。
来源 cvelist · 本站 批量导入 · 原始记录
{
"id": 62116,
"type": "disclosed",
"source": "cvelist",
"url": "https://www.cve.org/CVERecord?id=CVE-2022-30781",
"occurred_at": "2022-05-16T00:00:00Z",
"observed_at": "2026-11-12T19:05:02.001372Z",
"is_backfill": true,
"dedupe_key": "",
"detail": {
"state": "PUBLISHED",
"date_published": "2022-05-16T00:00:00.000Z",
"assigner_short_name": "mitre"
}
}
2022-09-15日精度,来源给出
+POC公开 PoC
Exploit-DB 收录公开利用代码《Gitea 1.16.6 - Remote Code Execution (RCE) (Metasploit)》(EDB-51009)。已由 Exploit-DB 验证。
来源
exploitdb 51009 · 本站 批量导入 · 原始记录
{
"id": 27808,
"type": "poc_published",
"source": "exploitdb",
"url": "https://www.exploit-db.com/exploits/51009",
"occurred_at": "2022-09-15T00:00:00Z",
"observed_at": "2026-11-12T15:24:40.221206Z",
"is_backfill": true,
"dedupe_key": "51009",
"detail": {
"url": "https://www.exploit-db.com/exploits/51009",
"file": "exploits/multiple/webapps/51009.rb",
"kind": "exploit",
"tags": [],
"type": "webapps",
"title": "Gitea 1.16.6 - Remote Code Execution (RCE) (Metasploit)",
"author": "samguy",
"edb_id": 51009,
"cve_ids": [
"CVE-2022-30781"
],
"platform": "multiple",
"verified": true,
"precision": "day",
"confidence": "curated",
"date_added": "2022-09-15",
"date_updated": "2023-08-02",
"date_published": "2022-09-15"
}
}
时间未知来源未给出时间
+POC公开 PoC
Metasploit 收录模块 exploit/multi/http/gitea_git_fetch_rce(Gitea Git Fetch Remote Code Execution)。来源没有给出模块的发布时间。
来源
metasploit exploit/multi/http/gitea_git_fetch_rce · 本站 批量导入 · 原始记录
{
"id": 51187,
"type": "poc_published",
"source": "metasploit",
"url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/gitea_git_fetch_rce.rb",
"occurred_at": null,
"observed_at": "2026-11-12T15:24:51.477477Z",
"is_backfill": true,
"dedupe_key": "exploit/multi/http/gitea_git_fetch_rce",
"detail": {
"url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/gitea_git_fetch_rce.rb",
"kind": "msf_module",
"path": "/modules/exploits/multi/http/gitea_git_fetch_rce.rb",
"rank": 600,
"check": true,
"title": "Gitea Git Fetch Remote Code Execution",
"cve_ids": [
"CVE-2022-30781"
],
"fullname": "exploit/multi/http/gitea_git_fetch_rce",
"rank_name": "excellent",
"confidence": "curated",
"module_type": "exploit",
"module_last_modified": "2025-12-17 16:12:31 +0000",
"vuln_disclosure_date": "2022-05-16"
}
}
# 纠错
报告错误或缺失
页面有误或缺失?告诉编辑;采纳后在本页修订记录公开说明,上游数据不会被改动。
无法确认登录状态,请刷新页面后再提交纠错。
请先在账号页设置公开用户名:被采纳的纠错会以它署名。
设置用户名
你的账号已被封禁,暂时不能提交纠错。
# 研究员讨论
近 7 天有 0 位研究员提到
研究员在 X 上提到此 CVE 的帖子,原文照录,nday 不核实。
尚未采集到名单内研究员在 X 上提到此 CVE 的帖子。
# 讨论
0 条评论
无法确认你的登录状态,刷新页面后再发表评论。
评论以 @用户名 署名。请先在账号页设置用户名。
前往账号页
你的账号已被封禁,不能发表、回复、编辑或举报评论;仍可删除自己的评论。
格式
↵↵- 空一行:新段落
↵- 换行:原样保留
*…*- 强调(斜体)
**…**- 加粗
`…`- 行内代码
```- 单独一行:开始和结束代码块
> …- 引用
- …- 列表
1. …- 编号列表
[…](https://…)- 链接(仅限 http 和 https)
https://…- 裸地址:自动成为链接
CVE-2026-1234- 链接到本站该漏洞页
\*- 按原样显示该字符
标题、图片、表格、嵌套列表和 HTML 都按纯文本显示。
新账号发的链接显示为纯文本;CVE 编号始终可点击。