文件
websafe-kb/07-framework-security/platforms/gitea/cases/gitea-cve-2026-20912.md

5.3 KiB

title, system_id, category, advisory_mode, published_date, updated_date, severity, exploit_status, source_confidence, verification_status, verification_mode, artifact_mode, last_run_id, target_types, allow_public_validation, authorization_prerequisite, minimal_validation, aliases, affected_versions, fixed_versions, secure_code_topics, primary_source
title system_id category advisory_mode published_date updated_date severity exploit_status source_confidence verification_status verification_mode artifact_mode last_run_id target_types allow_public_validation authorization_prerequisite minimal_validation aliases affected_versions fixed_versions secure_code_topics primary_source
Gitea does not properly validate repository ownership when linking attachments to releases in code.gitea.io/gitea gitea platforms core 2026-02-02T21:05:55Z 2026-03-03T04:57:55.747880Z unknown unknown official verified-real real local-fixture gitea-gitea--CVE-2026-20912-20260318035506
lab-local
lab-public
authorized-third-party
yes, with ownership or explicit authorization asset ownership proof or explicit written authorization read-only probe, controlled payload, reversible test
BIT-gitea-2026-20912
CVE-2026-20912
GHSA-4xx9-vc8v-87hv
GHSA-vfmv-f93v-37mw
GO-2026-4364
introduced=0, fixed<1.25.4
1.25.4
authz-server-side-recheck
token-cookie-storage
proxy-trust-boundary
https://github.com/advisories/GHSA-4xx9-vc8v-87hv

Gitea does not properly validate repository ownership when linking attachments to releases in code.gitea.io/gitea

本地实证状态

  • 实证状态: verified-real
  • 实证方式: real
  • Artifact 模式: local-fixture
  • 最近运行: gitea-gitea--CVE-2026-20912-20260318035506
  • 浏览器证据: present
  • Run Bundle: /Users/x/websafe/06-case-studies/generated-runs/gitea-gitea--CVE-2026-20912-20260318035506

事件层

其他来源

实验层

  • 仅用于自有资产、测试环境或已明确授权目标。
  • 允许公网可达目标,但必须满足资产归属或明确授权前提。
  • 最小化验证方式: 最小化验证、只读探测、可审计回显、受控注入。
  • 若该案例涉及插件、模块或扩展,应同时检查供应链与升级策略。
  • 禁止场景: 无归属证明或无明确授权的公网目标;知名公共网站或与测试无关的第三方资产;会造成持久破坏、数据越权下载或不可回滚影响的动作

修复示例