Skip to content
OpenAdvisories
High · 7.7 CVE-2026-34041 EUVD-2026-17287GHSA-xmgr-9pqc-h5vwGO-2026-4891

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

Published Mar 31, 2026 · Updated Apr 2, 2026 · Assigned by GitHub_M

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

VendorProductAffectedFixed
nektos act < 0.2.86 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
openSUSE Leap 16.0 govulncheck-vulndb 0.0.20260723T184607-160000.1.1 openSUSE-SU-2026:21483-1
openSUSE Leap 15.6 govulncheck-vulndb 0.0.20260402T184258-150000.1.158.1 SUSE-SU-2026:1205-1

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/nektos/act < 0.2.86 0.2.86 GHSA-xmgr-9pqc-h5vw

Advisories 2

References