Skip to main content

Gitea act_runner EUVDEUVD-2026-101107

| CVE-2026-73802 HIGH
Improper Privilege Management (CWE-269)
2026-10-02 https://github.com/go-gitea/gitea GHSA-x4q3-gcj3-m6cf
8.8
CVSS 3.1 · Vendor: https://github.com/go-gitea/gitea
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Submit workflow to shared repo
  2. Delivery
    Inject malicious container.options flags
  3. Exploit
    Runner builds job container with host namespaces/caps
  4. Execution
    nsenter into host PID namespace as root
  5. Impact
    Steal host secrets and pivot to adjacent jobs

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V8 - Authorization Least privilege enforcement
MITRE ATT&CK

1 technique across 1 tactic: Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires (1) a Docker-backed Gitea act_runner (the Docker job-container backend, not the host/LXC backend), and (2) the attacker having the ability to submit or trigger a workflow on a repository served by that runner - e.g., push access or an accepted pull-request workflow. Critically, the flaw is exploitable precisely when runner privileged mode is DISABLED, because that path forces only Privileged=false while preserving workflow-supplied HostConfig options (PidMode=host, IpcMode=host, CapAdd=ALL, SecurityOpt seccomp/apparmor=unconfined). No non-default runner setting is needed - honoring container.options is default behavior. Limiting factors that reduce real-world risk: the runner must be shared with untrusted workflow authors (single-tenant runners used only by trusted maintainers are far lower risk), the attacker must already be authenticated/authorized to submit workflows (PR:L, not anonymous), and runners using a non-Docker backend are not affected.

Impact

Signals diverge in an instructive way. The NVD CVSS of 8.8 (AV:N/AC:L/PR:L/UI:N/C:H/I:H/A:H) reflects a serious container-to-host escape, yet the EPSS score is only 0.20% (9th percentile), indicating low probability of broad opportunistic exploitation. This is not a contradiction: the flaw is not internet-wide-scannable because it requires the attacker to already hold workflow-submission rights on a repository served by a shared, Docker-backed act_runner, which PR:L in the vector confirms (authenticated access needed). The vulnerability is NOT in CISA KEV and there is no confirmed active exploitation. The practical priority is therefore highly context-dependent: it is a genuine HIGH/CRITICAL-priority issue for multi-tenant or public-contribution setups (public repos accepting pull-request workflows, hosted CI shared across teams) where untrusted authors can trigger jobs, and a materially lower priority for single-tenant runners with only trusted contributors. The most notable aspect is that exploitation succeeds even when privileged mode is explicitly DISABLED - the very control operators rely on - because sanitizeConfig() only strips Binds/Mounts and forces Privileged=false while leaving host-namespace, capability and security-profile options intact. No signal conflicts materially with the others; the low EPSS is consistent with a privilege-/configuration-gated flaw rather than a mass-exploitable one.

Exploit ScenarioDerived

An attacker holding push or pull-request-workflow rights on a repository served by a shared Docker-backed Gitea act_runner submits a workflow whose jobs.<job>.container.options includes --pid=host --ipc=host --cap-add=ALL --security-opt seccomp=unconfined. The runner builds the job container with those host-namespace and capability flags preserved even though privileged mode is disabled, and the job then runs nsenter to execute commands as root on the runner host. The GHSA advisory includes a complete demonstration workflow, though no separate standalone exploit tool is flagged in the provided data.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv2 – Oct 18, 2026

Workflow-supplied container options in Gitea act_runner (versions before 3.0.0) are merged straight into the Docker HostConfig of the job container, letting a workflow author request host PID/IPC namespaces, CapAdd=ALL and unconfined seccomp/apparmor and then escape to the runner host as root. The twist is that the flaw is exploitable precisely when runner privileged mode is disabled: that code path forces only Privileged=false while preserving namespace, capability, device and security-profile flags from workflow YAML, so the control administrators rely on does not contain the attack. Only the Docker job-container backend is affected, and exploitation requires the ability to submit or trigger a workflow on a repository served by that runner (authenticated, push or pull-request privileges per the PR:L vector), with impact changing scope to the underlying host; no public exploit identified at time of analysis, and EPSS is low at 0.20% (9th percentile), though real-world risk is severe for shared runners open to untrusted workflow authors.

Earlier versions of this analysis (1)
v1 Oct 02, 2026 - 23:51 CVSS 9.9

Workflow-controlled container options in Gitea act_runner let an authenticated user who can trigger a job escape the job container into the runner host, because HostConfig fields such as PidMode=host, IpcMode=host, CapAdd=[ALL] and unconfined seccomp/AppArmor profiles survive the runner's sanitization pass and a job step can then use nsenter to execute commands as root on the host. The flaw specifically defeats the 'runner privileged mode disabled' hardening control, which only forces Privileged=false while sanitizeConfig() filters nothing but Binds and Mounts, so default Docker-backed configurations are affected below v3.0.0 (Go module gitea.com/gitea/runner < 1.0.9-0.20260731160927-34bfa1915022). Publicly available exploit code exists in the form of the advisory's minimal proof-of-concept workflow YAML, but no CISA KEV listing or confirmed active exploitation has been reported; impact scales with tenancy, being critical for shared runners accepting untrusted workflow submissions and lower for single-tenant runners restricted to trusted maintainers.

RemediationAI

Vendor-released patch: act_runner v3.0.0 (release https://gitea.com/gitea/runner/releases/tag/v3.0.0, announced at https://blog.gitea.com/release-of-runner-3.0.0/, fix commit 1.0.9-0.20260731160927-34bfa1915022 via https://gitea.com/gitea/runner/pulls/1058) treats container.options as untrusted input and rejects or strips host namespace flags (--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), --volumes-from and runtime controls (--runtime, --cgroup-parent); upgrade before allowing any further workflow runs. Until patched, the effective compensating controls are organizational and network-level rather than a toggle: restrict who can push branches or open pull requests on repositories wired to the runner (this removes the PR:L prerequisite but requires trusting every committer, and does not help public repositories accepting fork PRs - disable Actions for those); retire shared Docker-backed runners that serve mixed-trust projects, since re-enabling privileged mode does not help and disabling it demonstrably does not contain the escape; move untrusted workloads to a host/LXC-backed runner, accepting that backend's own weaker per-job isolation; network-segment the runner host from internal build infrastructure and rotate any deploy credentials, tokens or secrets reachable from it, since a successful escape exposes them; and alert on containers created with host PID/IPC modes, CapAdd=ALL, unconfined security profiles, or nsenter execution on runner hosts to detect attempts. See https://github.com/go-gitea/gitea/security/advisories/GHSA-x4q3-gcj3-m6cf for the authoritative fix guidance.

Affected VersionsENISA

Gitea Runner 0 <3.0.0

Affected Packages

go gitea.com/gitea/runner fix: 1.0.9-0.20260731160927-34bfa1915022
euvd gitea_runner fix: 3.0.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in go, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The root cause is improper privilege management (CWE-269) in act_runner's container configuration pipeline. ContainerSpec.Options accepts the workflow's jobs.<job>.container.options string, RunContext.options() appends those workflow options onto runner-level container options, and mergeContainerConfigs() parses the Docker CLI-style flags into a Docker HostConfig before the job container is created with Privileged: rc.Config.Privileged plus Options: rc.options(ctx). When privileged mode is disabled, only copts.privileged is forced to false; sanitizeConfig() filters only Binds and Mounts, leaving PidMode=host, IpcMode=host, CapAdd=["ALL"] and SecurityOpt=["seccomp=unconfined","apparmor=unconfined"] intact in the final HostConfig. Because Docker applies these HostConfig fields at container creation, the workload can join the host PID/IPC namespaces, gain full capabilities and disable kernel-level confinement, then use nsenter -t 1 -m -u -i -n -p to run commands as root outside the container. The assessed vector (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H) captures the scope change from container to runner host, and the package data shows Go module gitea.com/gitea/runner vulnerable below 1.0.9-0.20260731160927-34bfa1915022, fixed in that commit; runners on a non-Docker (host/LXC) backend are not affected by this HostConfig injection path.

Know when Docker gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (https://github.com/go-gitea/gitea) PRIMARY 8.8 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 9.9 CRITICAL

Attacker needs workflow-submission rights (PR:L) over the network (AV:N); the container-to-host escape crosses the isolation boundary into the host and adjacent jobs, justifying S:C with full C/I/A impact.

3.1 AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
SUSE CRITICAL

Primary rating from Vendor (https://github.com/go-gitea/gitea).

CVSS VectorVendor: https://github.com/go-gitea/gitea

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

4
Analysis Updated
Oct 18, 2026 - 14:33 vuln.today
v2 - CVSS changed
Severity Changed
Oct 18, 2026 - 14:22 NVD
CRITICAL HIGH
CVSS changed
Oct 18, 2026 - 14:22 NVD
9.9 (CRITICAL) 8.8 (HIGH)
CVE Published
Oct 02, 2026 - 23:18 github-advisory
CRITICAL 9.9

DescriptionCVE.org

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.Options accepts workflow YAML container.options
  • RunContext.options() appends workflow options to runner-level container options
  • Job container is created with Privileged: rc.Config.Privileged but also

with Options: rc.options(ctx)

  • mergeContainerConfigs() parses Docker CLI-style options into HostConfig
  • When privileged mode is disabled, only copts.privileged is forced false
  • sanitizeConfig() only filters Binds and Mounts
  • Preserved dangerous HostConfig fields:
text
Privileged=false
PidMode=host
IpcMode=host
CapAdd=["ALL"]
SecurityOpt=["seccomp=unconfined","apparmor=unconfined"]

Attacker workflow YAML:

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

Technical POC Analysis

CWE-269: Improper Privilege Management.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

Gitea act_runner releases prior to 3.0.0 allow a user with workflow-submission rights on a connected repository to break out of the job container and gain root on the runner host itself, because workflow-supplied container settings are passed through to Docker even when administrators have turned privileged mode off. The affected population is internal developers and CI service accounts with push or pull-request access, plus any host or credentials reachable from the runner, so the practical exposure is the integrity and confidentiality of the build infrastructure and everything it touches. Leadership should care because the safeguard most teams assume protects self-hosted runners is precisely the configuration in which this flaw bites, meaning existing hardening may provide no containment.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 91% exploitable
Prevalence
Medium
popular self-hosted CI runner, common in self-hosted Gitea deployments
Threat Intel
1
1 source
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Privilege escalation occurs when an attacker leverages flaws in access control mechanisms to gain permissions beyond what they were originally granted.

More in Docker

View all
CVE-2024-55964 CRITICAL POC
9.8 Mar 26

An issue was discovered in Appsmith before 1.52. Rated critical severity (CVSS 9.8), this vulnerability is remotely expl

CVE-2019-5736 HIGH POC
8.6 Feb 11

runc through version 1.0-rc6 (used in Docker before 18.09.2) contains a container escape vulnerability that allows attac

CVE-2023-32077 HIGH POC
7.5 Aug 24

Netmaker makes networks with WireGuard. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no a

CVE-2026-39987 CRITICAL POC
9.3 Apr 08

Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/

CVE-2023-5815 HIGH POC
8.1 Nov 22

The News & Blog Designer Pack - WordPress Blog Plugin - (Blog Post Grid, Blog Post Slider, Blog Post Carousel, Blog Post

CVE-2026-66384 MEDIUM POC
5.3 Aug 12

Path traversal in JFrog Artifactory (CWE-22) enables an authenticated low-privilege user to write data outside the inten

CVE-2014-9357 CRITICAL
10.0 Dec 16

Docker 1.3.2 allows remote attackers to execute arbitrary code with root privileges via a crafted (1) image or (2) build

CVE-2026-52806 CRITICAL POC
9.9 Jun 23

Remote code execution in Gogs through 0.14.2 allows authenticated users (and unauthenticated attackers on default-config

CVE-2025-14707 HIGH POC
8.9 Dec 15

Unauthenticated remote command injection in SGWBOX N3 firmware 2.0.25 lets attackers execute arbitrary operating-system

CVE-2026-56274 HIGH POC
8.7 Jun 23

Remote code execution in Flowise before 3.1.2 allows any authenticated user (or API caller with chatflow view/update per

CVE-2026-34156 CRITICAL POC
9.9 Mar 30

Remote code execution in NocoBase Workflow Script Node (npm @nocobase/plugin-workflow-javascript) allows authenticated l

CVE-2019-15752 HIGH POC
7.8 Aug 28

Docker Desktop Community Edition before 2.1.0.1 allows local users to gain privileges by placing a Trojan horse docker-c

Vendor StatusVendor

SUSE

Severity: Critical

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy