What to do2 steps
Update every Gitea Runner to 3.0.0 or later.
Without privileged mode, the runner now strips the container options that can break out of the job container.
Check workflows that set
container.optionsbefore upgrading.Find the ones that set host-namespace, capability, device or security options there: 3.0.0 no longer applies them on a non-privileged runner, so those jobs change behaviour. Move any that truly need them to a runner where privileged mode is enabled on purpose.
Are you affected?only if all are true
- A Docker-backed Gitea Runner before 3.0.0 with privileged mode disabled; the advisory lists every runner below 3.0.0 as affected.
- The attacker can run a workflow job on that runner, for example by pushing a workflow to a repository the runner serves.
Ask your agent
- Prompt for your own agent, read-onlyAm I affected by Gitea2shell?
Read the prompt
Check whether the systems I am authorized to inspect are affected by Gitea2shell (CVE-2026-73802). Gitea Runner passes a workflow's container.options through to the job container even with privileged mode off, so anyone who can run a job can switch on host namespaces and extra capabilities and run commands as root on the runner host. It is exploitable under these conditions: - A Docker-backed Gitea Runner before 3.0.0 with privileged mode disabled; the advisory lists every runner below 3.0.0 as affected. - The attacker can run a workflow job on that runner, for example by pushing a workflow to a repository the runner serves. Fixed releases: - Gitea Runner: 3.0.0 (branch 3.0) The CVE record lists every runner below 3.0.0 as affected; the fix shipped only in 3.0.0, a major release with breaking changes. What the catalog says to do on an affected system (report these, do not carry them out): 1. Update every Gitea Runner to 3.0.0 or later. 2. Check workflows that set container.options before upgrading. For each host, container image or application, report affected, not affected, fixed or unknown, with the evidence, and list anything you could not access. Work read-only: do not change configuration, restart services or send exploit input. More: https://gitea.2shell.wtf/gitea2shell
Affected versions1 branch
| Gitea Runner branch | Fixed in |
|---|---|
| 3.0 | 3.0.0 |
The CVE record lists every runner below 3.0.0 as affected; the fix shipped only in 3.0.0, a major release with breaking changes.
Proof of concept1 public PoC
For testing systems you own or are authorized to test. A PoC repository can be fake or carry malware: read it before you run it.
- Open the PoC
The finder publishes a proof of concept
Timeline4 events
Patched
Gitea Runner 3.0.0 released, stripping escape-capable container options without privileged mode
Disclosed
Gitea publishes GHSA-x4q3-gcj3-m6cf, rated high
Disclosed
CVE-2026-73802 published
Public PoC
The finder publishes a proof of concept
Sources4 links
Sources checked on . This page tells you how to check and what to install. It cannot tell you that you are safe.
2 changes since it was published
- Corrected the advisory rating from critical to high (GHSA and CVE score it CVSS 8.8, High).
- Remediation steps got short titles; no fact changed.