CVE-2026-34042: act Actions/cache Server Allows Malicious Cache Vulnerability
HIGHCVE-2026-34042 is a HIGH (CVSS 8.2) actions/cache server allows malicious cache vulnerability (CWE-862: Missing Authorization) affecting act libraries in the Go ecosystem. The issue involves actions/cache server allows malicious cache injection. Remediation is available by upgrading affected packages to version 0.2.86.
CVE-2026-34042 at a Glance
Security Impact
CVSS: 8.2
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N).
How to Fix CVE-2026-34042
To remediate this vulnerability, upgrade all affected act dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/nektos/act to 0.2.86
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/nektos/act
How to Check if You Are Affected
To determine whether your application is affected by CVE-2026-34042, inspect your project dependencies for act:
inspect dependencies for github.com/nektos/act
Analyze the terminal output to locate any version of act in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.2.86), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-862: Missing Authorization, where the product does not perform an authorization check when an actor attempts to access a resource or perform an action. In act, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-34042 Affected act Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/nektos/act
|
Go |
< 0.2.86
|
0.2.86
|
References
Frequently Asked Questions
What is CVE-2026-34042?
Which act versions are affected?
What version fixes CVE-2026-34042?
Is github.com/nektos/act affected?
What is the CVSS score of CVE-2026-34042?
What CWE is associated with CVE-2026-34042?
How can I check Go dependencies for CVE-2026-34042?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-x34h-54cw-9825",
"modified" : "2026-03-31T18:41:01Z",
"published" : "2026-03-27T19:35:16Z",
"aliases" : [ "CVE-2026-34042" ],
"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.\n\n## Discovery\n\nDiscovered while discussing [forgejo/runner#294](https://code.forgejo.org/forgejo/runner/issues/294).\n\n## Proposed Mitigation\n\nIt 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" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/nektos/act"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.2.86"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 0.2.85"
}
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/nektos/act/security/advisories/GHSA-x34h-54cw-9825"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-34042"
}, {
"type" : "WEB",
"url" : "https://github.com/nektos/act/commit/c28c27e141e8b54f9853de82f421ee09846751f7"
}, {
"type" : "WEB",
"url" : "https://code.forgejo.org/forgejo/runner/issues/294"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/nektos/act"
}, {
"type" : "WEB",
"url" : "https://github.com/nektos/act/releases/tag/v0.2.86"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-862" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-03-27T19:35:16Z",
"nvd_published_at" : "2026-03-31T03:15:58Z"
}
}