8.2high
act: actions/cache server allows malicious cache injection
- Severity
- 8.2high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.52% (higher than 45% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-x34h-54cw-9825GO-2026-4890
Description
act is a project which allows for local running of github actions. Prior to version 0.2.86, act's built in actions/cache server listens to connections on all interfaces and allows anyone who can connect to it including someone anywhere on the internet to create caches with arbitrary keys and retrieve all existing caches. If they can predict which cache keys will be used by local actions, they can create malicious caches containing whatever files they please most likely allowing arbitrary remote code execution within the docker container. This issue has been patched in version 0.2.86.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| nektos act | < 0.2.86 | CVE List |
| github.com/nektos/act (Go) | before 0.2.86 | GitHub Advisory Database, Go Vulnerability Database |
All scores
| GitHub_M | 8.2high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N |
| GitHub | 8.2high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
act is a project which allows for local running of github actions. Prior to version 0.2.86, act's built in actions/cache server listens to connections on all interfaces and allows anyone who can connect to it including someone anywhere on the internet to create caches with arbitrary keys and retrieve all existing caches. If they can predict which cache keys will be used by local actions, they can create malicious caches containing whatever files they please most likely allowing arbitrary remote code execution within the docker container. This issue has been patched in version 0.2.86.
GitHub Advisory Database
act's built-in actions/cache server listens to connections on all interfaces and allows anyone who can connect to it — including someone anywhere on the internet — to create caches with arbitrary keys and retrieve all existing caches. If one can predict which cache keys will be used by local actions, one can create malicious caches containing whatever files one pleases, most likely allowing arbitrary remote code execution within the Docker container.
Discovery
Discovered while discussing forgejo/runner#294.
Proposed Mitigation
It was discussed to append a secret to ACTIONS_CACHE_URL to retain compatibility with GitHub's cache action and still allow authorization. Forgejo is considering also encoding which repo is currently being run in CI into the secret in the URL to prevent unrelated repos using the same (probably global) runner from seeing each other's caches.
Go Vulnerability Database
act: actions/cache server allows malicious cache injection in github.com/nektos/act
NVD (es)
act es un proyecto que permite la ejecución local de acciones de GitHub. Antes de la versión 0.2.86, el servidor actions/cache integrado de act escucha las conexiones en todas las interfaces y permite que cualquiera que pueda conectarse a él, incluyendo a alguien desde cualquier lugar de internet, cree cachés con claves arbitrarias y recupere todos los cachés existentes. Si pueden predecir qué claves de caché serán utilizadas por las acciones locales, pueden crear cachés maliciosos que contengan los archivos que deseen, lo que muy probablemente permitiría la ejecución remota de código arbitrario dentro del contenedor de Docker. Este problema ha sido parcheado en la versión 0.2.86.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-34042 changed 2026-03-31 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-x34h-54cw-9825 changed 2026-04-02 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2026-4890 changed 2026-04-02 | CC-BY-4.0 |
| NVD | CVE-2026-34042 changed 2026-06-17 | Public domain |