Advisory

GHSA-x34h-54cw-9825

Also known as: CVE-2026-34042, GO-2026-4890

Summary

act: actions/cache server allows malicious cache injection

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2026-03-27 19:35 UTC
Modified
2026-04-02 21:26 UTC

Affected packages and fixes

github.com/nektos/act

Go · All systems

Affected

  • introduced 0, fixed 0.2.86 (semver)

Fixed versions

0.2.86

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences