CVE-2026-58053 Details
Description
Gitea act_runner with the Docker backend (through act 0.262.0) passes a workflow's container.options string to the Docker job container's HostConfig and, when configured with privileged: false, forces only the Privileged flag off while merging options such as --pid=host, --cap-add, and --security-opt unchanged. A user who can run a workflow on a Docker-backed runner can create a job container with host namespaces and broad capabilities and escape to the host as root despite privileged mode being disabled.
A vulnerability in Gitea's act_runner with the Docker backend, specifically in version 0.262.0, allows users to bypass container hardening measures. When workflows are executed on a Docker-backed runner, the runner appends workflow-defined container options to the Docker job container's HostConfig. Although the runner disables the Privileged flag when not needed, it fails to properly sanitize other options that can grant access to host resources. This oversight enables a user to create a job container with host namespaces and extensive capabilities, effectively escaping to the host as root, even with privileged mode turned off.
To address this vulnerability, treat workflow-authored container options as untrusted input. Implement a defensive patch that rejects or allowlists job-level Docker options instead of passing them through unfiltered. Additionally, avoid sharing Docker-backed runners with untrusted repositories.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jun 28, 2026CISA-ADP
Assessed Jun 30, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/bikini/exploitarium/tree/main/gitea-act-runner-container-options-poc | [email protected] | ExploitTechnical Analysis |
| https://www.vulncheck.com/advisories/gitea-act-runner-container-hardening-bypass-via-workflow-container-options | [email protected] | AdvisoryExploitRemedy |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-269 | Improper Privilege Management | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Gitea act_runner | <= 0.262.0 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 30, 2026 | CVE Modified | CISA-ADP |
| Jun 28, 2026 | New CVE Received | [email protected] |
Volerion