Skip to main content

gitea-runner: workflow container.options passes host namespaces and capability flags to job container when privileged mode is disabled (CVE-2026-73802)

0
Critical
Published: 10/02/2026 (10/02/2026, 23:18:12 UTC)
Source: GCVE Database
Product: gitea.com/gitea/runner

Description

A vulnerability in gitea.com/gitea/runner (CVE-2026-73802) allows workflow authors to pass Docker container options that preserve host namespaces and capability flags even when privileged mode is disabled. This enables execution of commands as root on the runner host by entering host PID/IPC namespaces. The flaw affects versions prior to 1.0.9-0.20260731160927-34bfa1915022. The issue is critical for shared runners where untrusted users can submit workflows and high severity for single-tenant runners relying on privileged mode disabling as a security control. A fix is available that involves rejecting or stripping unsafe container options when privileged mode is disabled.

CVSS v3.1

Score 9.9critical

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Affected software

Goghsa
gitea.com/gitea/runner
Affected versions
<1.0.9-0.20260731160927-34bfa1915022

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/03/2026, 17:38:06 UTC

Technical Analysis

The act_runner component of gitea.com/gitea/runner appends workflow-controlled container.options directly to the Docker HostConfig for job containers. When privileged mode is disabled, only the Privileged flag is forced false, but host namespace flags (e.g., --pid=host, --ipc=host), capability expansions (e.g., --cap-add=ALL), and security profile overrides (e.g., seccomp=unconfined) from the workflow YAML are preserved. This allows a workflow author to execute commands as root on the runner host by entering host namespaces. The vulnerability affects versions prior to 1.0.9-0.20260731160927-34bfa1915022. The recommended fix is to treat container.options as untrusted input and reject or strip dangerous options when privileged mode is disabled.

Potential Impact

An attacker able to submit workflows to a repository using a shared Docker-backed act_runner can enter host PID, IPC, and mount namespaces and execute arbitrary commands as root on the runner host. This enables access to host secrets, deployment credentials, environment variables, and internal build infrastructure. The attacker can also pivot to other jobs running on the same runner. The vulnerability is critical for shared runners with untrusted users and high severity for single-tenant runners relying on privileged mode disabling as a security control.

Mitigation Recommendations

A patch is available for this vulnerability. The fix involves rejecting or stripping unsafe container.options such as host namespaces (--pid=host, --ipc=host, --uts=host, --network=host), capability expansions (--cap-add ALL, --cap-add SYS_ADMIN), security overrides (--security-opt seccomp=unconfined, --security-opt apparmor=unconfined), device access options, volume inheritance, and runtime controls when privileged mode is disabled. Users should upgrade to version 1.0.9-0.20260731160927-34bfa1915022 or later where this issue is addressed.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-x4q3-gcj3-m6cf
Osv Schema Version
1.4.0
Aliases
["CVE-2026-73802"]
Ecosystems
["Go"]
Database Specific Severity
CRITICAL
Cvss Version
3.1

Threat ID: 6ac139a8a43b0b3b89d69abe

Added to database: 10/03/2026, 17:21:44 UTC

Last enriched: 10/03/2026, 17:38:06 UTC

Last updated: 10/03/2026, 22:38:21 UTC

Views: 2

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses