Skip to content

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

HighCVSS 7.7 EPSS 0.66%
Published
Updated
Exploit status
No public exploit known

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.

Affected products

ProductAffected versionsFixed in
nektos github.com/nektos/act = < 0.2.86 No fix listed
nektos github.com/nektos/act(Go) < 0.2.86 0.2.86
nektos github.com/nektos/act(Go) <= 0.2.85 No fix listed
nektos github.com/nektos/act < 0.2.86 0.2.86

References