Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSubmit workflow to shared repo
-
DeliveryInject malicious container.options flags
-
ExploitRunner builds job container with host namespaces/caps
-
Executionnsenter into host PID namespace as root
-
ImpactSteal 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – 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)
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
Affected Packages
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
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
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.
Primary rating from Vendor (https://github.com/go-gitea/gitea).
CVSS VectorVendor: https://github.com/go-gitea/gitea
Lifecycle Timeline
4DescriptionCVE.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.Optionsaccepts workflow YAMLcontainer.optionsRunContext.options()appends workflow options to runner-level container options- Job container is created with
Privileged: rc.Config.Privilegedbut also
with Options: 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
Articles & Coverage 1
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
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.
Apply vendor patch.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Privilege escalation occurs when an attacker leverages flaws in access control mechanisms to gain permissions beyond what they were originally granted.
An issue was discovered in Appsmith before 1.52. Rated critical severity (CVSS 9.8), this vulnerability is remotely expl
runc through version 1.0-rc6 (used in Docker before 18.09.2) contains a container escape vulnerability that allows attac
Netmaker makes networks with WireGuard. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no a
Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/
The News & Blog Designer Pack - WordPress Blog Plugin - (Blog Post Grid, Blog Post Slider, Blog Post Carousel, Blog Post
Path traversal in JFrog Artifactory (CWE-22) enables an authenticated low-privilege user to write data outside the inten
Docker 1.3.2 allows remote attackers to execute arbitrary code with root privileges via a crafted (1) image or (2) build
Remote code execution in Gogs through 0.14.2 allows authenticated users (and unauthenticated attackers on default-config
Unauthenticated remote command injection in SGWBOX N3 firmware 2.0.25 lets attackers execute arbitrary operating-system
Remote code execution in Flowise before 3.1.2 allows any authenticated user (or API caller with chatflow view/update per
Remote code execution in NocoBase Workflow Script Node (npm @nocobase/plugin-workflow-javascript) allows authenticated l
Docker Desktop Community Edition before 2.1.0.1 allows local users to gain privileges by placing a Trojan horse docker-c
EUVD-2026-101107
GHSA-x4q3-gcj3-m6cf
NVD
CVE.org
EPSS
Exploit-DB