act is a project which allows for local running of github actions. Prior to version 0.2.86, act unconditionally processes the deprecated ::set-env:: and ::add-path:: workflow commands, which was disabled due to environment injection risks. When a workflow step echoes untrusted data to stdout, an attacker can inject these commands to set arbitrary environment variables or modify the PATH for all subsequent steps in the job. This issue has been patched in version 0.2.86.

Project Subscriptions

No data.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-xmgr-9pqc-h5vw act: Unrestricted set-env and add-path command processing enables environment injection
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Tue, 31 Mar 2026 03:00:00 +0000

Type Values Removed Values Added
Description act is a project which allows for local running of github actions. Prior to version 0.2.86, act unconditionally processes the deprecated ::set-env:: and ::add-path:: workflow commands, which was disabled due to environment injection risks. When a workflow step echoes untrusted data to stdout, an attacker can inject these commands to set arbitrary environment variables or modify the PATH for all subsequent steps in the job. This issue has been patched in version 0.2.86.
Title act: Unrestricted set-env and add-path command processing enables environment injection
Weaknesses CWE-74
References
Metrics cvssV4_0

{'score': 7.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-03-31T01:43:25.074Z

Reserved: 2026-03-25T15:29:04.744Z

Link: CVE-2026-34041

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-03-31T03:15:58.053

Modified: 2026-03-31T03:15:58.053

Link: CVE-2026-34041

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses