
Local Gitea CVE-2026-110311 reproduction: vulnerable vs patched comparison, Python verifier, recorded evidence, and Turkish report.
A local reproduction of draft-release attachment metadata exposure, with a vulnerable-versus-patched comparison.
Türkçe · Technical report / Teknik rapor · Windows setup · Recorded evidence
Maintained by @akiraraikou36-hub. The recorded experiment was performed on 29 October 2026 in a local Windows lab.
The verifier creates two lab users, a private victim repository with a synthetic issue attachment, and an attacker-owned repository. It creates a draft release as the attacker and looks for the freshly uploaded attachment's exact name in the response. The same procedure runs against two Gitea versions.
| Recorded observation | Gitea 28.1.0 · port 3001 | Gitea 28.2.0 · port 3002 |
|---|---|---|
| Attacker cannot read the private repository | HTTP 404 | HTTP 404 |
| Anonymous user cannot read it | HTTP 404 | HTTP 404 |
| Draft-release creation | HTTP 201 | HTTP 201 |
| Victim attachment metadata in draft response | Present · 5 accumulated lab assets | Absent · 0 assets |
| Attacker can retrieve the leaked attachment contents | No · both tested URLs returned 404 | No leaked asset to test |
| Published-release control | 0 assets | 0 assets |
The count of five assets reflects earlier runs on the same lab database. Detection matches the new attachment from the current run, rather than treating any nonempty array as proof.
scripts/verify_cve_2026_110311.py — comparison verifier, restricted to the two configured loopback origins.scripts/prepare_lab.ps1 — creates fresh, loopback-only Windows lab configuration files without running the servers.LAB_REPORT.md — Turkish account of the procedure, observations, and limitations.results/recorded/ — the final pre-publication evidence file and its SHA-256 digest.docs/SETUP_WINDOWS.md — requirements, setup, side effects, and rerun instructions.tests/ — offline checks for request boundaries, verdict logic, and archived evidence.Requires Python 3.10+, requests, Git, and the two official Gitea Windows binaries. Follow the Windows setup guide first; binaries and initialized server data are not bundled.
python -m venv .venv
.\.venv\Scripts\python.exe -m pip install -r requirements.txt
# After configuring and starting both local Gitea instances:
.\.venv\Scripts\python.exe scripts\verify_cve_2026_110311.py --server both
Each run creates or resets the dedicated victim and attacker lab accounts. It adds synthetic repositories, issues, attachments, and probe tags; it attempts to remove its probe releases. Use dedicated lab instances. Generated passwords and runtime data are ignored by Git.
Offline validation requires no running Gitea server:
python -m unittest discover -s tests -v
The checked-in JSON is the original final recording from the source lab, preserved byte-for-byte. It contains synthetic filenames, local UUIDs, and loopback URLs. See evidence provenance for its checksum and interpretation.
For publication, the verifier's root path was made portable, HTTP requests were restricted to the two lab origins, and the published-release control was included in its final consistency decision. Offline checks cover these changes. The edited verifier has not been rerun end to end against Gitea as part of publication. The recording documents the earlier run, not a new execution of the edited code.
This repository presents a reproduction of a publicly disclosed issue. Gitea's advisory credits Daniel Roe as reporter and wxiaoguang for remediation. This project does not claim the original discovery. The source lab report records AI-assisted execution using ARGUS / OPERATOR; publication editing was assisted by Codex.