CVE-2026-34041

act: Unrestricted set-env and add-path command processing enables environment injection

Published Mar 31, 2026 CVSS 4.0 · 7.7 High EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-xmgr-9pqc-h5vw act: Unrestricted set-env and add-path command processing enables environment injection
History
Type Values Removed Values Added
CPEs cpe:2.3:a:nektos:act:*:*:*:*:*:*:*:*
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Nektos
Nektos act
Vendors & Products Nektos
Nektos act
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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Apr 2, 2026, 2:49 PM
Reserved
Mar 25, 2026, 3:29 PM
Status
Analyzed
Published
Mar 31, 2026, 3:15 AM
Modified
Jun 17, 2026, 10:38 AM