CVE-2026-73802 — Vulnerability in gitea.com/gitea/runner — CVE Details
gitea-runner: workflow container.options passes host namespaces and capability flags to job container when privileged mode is disabled
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.66%). Schedule for your next planned update.
Does your project use an affected gitea.com/gitea/runner version?
Paste your go.sum to check it for CVE-2026-73802 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
Summary
act_runner appends workflow-controlled jobs.<job>.container.options directly
to the Docker HostConfig for the job container. When runner privileged mode is
disabled, only Privileged is forced false. Host namespace flags, capability
expansion, and security profile overrides from workflow YAML are preserved in
the final HostConfig. A workflow author can enter host PID/IPC namespaces and
execute commands on the runner host as root.
Details
Source-to-sink path in act_runner:
ContainerSpec.Optionsaccepts workflow YAMLcontainer.optionsRunContext.options()appends workflow options to runner-level container options- Job container is created with
Privileged: rc.Config.Privilegedbut also withOptions: rc.options(ctx) mergeContainerConfigs()parses Docker CLI-style options into HostConfig- When privileged mode is disabled, only
copts.privilegedis forced false sanitizeConfig()only filtersBindsandMounts- Preserved dangerous HostConfig fields:
Privileged=false
PidMode=host
IpcMode=host
CapAdd=["ALL"]
SecurityOpt=["seccomp=unconfined","apparmor=unconfined"]
Attacker workflow YAML:
jobs:
breakout:
runs-on: ubuntu-latest
container:
image: ubuntu:22.04
options: >-
--pid=host --ipc=host --cap-add=ALL
--security-opt seccomp=unconfined
--security-opt apparmor=unconfined
steps:
- name: host namespace marker
run: |
nsenter -t 1 -m -u -i -n -p -- sh -c "id > /tmp/marker"
Impact
An attacker who can submit a workflow to a repository using a shared Docker-backed act_runner can:
- Enter host PID, IPC, and mount namespaces
- Execute arbitrary commands as root on the runner host
- Access runner host secrets, deployment credentials, and environment variables
- Pivot to adjacent jobs running on the same runner
- Access internal build infrastructure reachable from the runner host
Critical severity for shared runners where untrusted users can trigger workflows. High severity for single-tenant runners with privileged mode explicitly disabled as a security control.
Fix Direction
Treat container.options as untrusted input. Reject or strip when
privileged mode is disabled:
- Host namespaces:
--pid=host,--ipc=host,--uts=host,--network=host - Capability expansion:
--cap-add ALL,--cap-add SYS_ADMIN - Security overrides:
--security-opt seccomp=unconfined,--security-opt apparmor=unconfined - Device access:
--device,--device-cgroup-rule - Volume inheritance:
--volumes-from - Runtime controls:
--runtime,--cgroup-parent
Advisory Timeline
- First published October 2, 2026 (54 days ago).
- Last revised October 7, 2026 — 5 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
go get gitea.com/gitea/runner@v1.0.9-0.20260731160927-34bfa1915022
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (1)
Affects 1 ecosystem: Go (1).
| Package | Fixed In |
|---|---|
| gitea.com/gitea/runner Go · Affected: All versions | 1.0.9-0.20260731160927-34bfa1915022 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-269Improper Privilege ManagementMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.9 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
References
Frequently Asked Questions
- What is CVE-2026-73802?
- gitea-runner: workflow container.options passes host namespaces and capability flags to job container when privileged mode is disabled. This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.9/10).
- How do I check if my project is affected by CVE-2026-73802?
- CVE-2026-73802 affects gitea.com/gitea/runner. It has a 0.7% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-73802 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Maximum impact if exploited, often with little effort or access required.
This is a below-median EPSS score — only 46.1% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.
Also Known As
Related CVEs
- CVE-2026-104099CRITICAL
Fabio: Access-control bypass through unnormalized request paths
- CVE-2026-77369CRITICAL
Daptin: Broken Access Control (IDOR) in the generic YJS collaboration endpoint