Nektos act
act: Unrestricted set-env and add-path command processing enables environment injection
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.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS9.8critical · scored by CISA ADP · CWE-74
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
nektos act
- < 0.2.86
Fixed in 0.2.86
Mitigation
Upgrade act to 0.2.86 or later.
References
- Vendor advisory github.com/nektos/act/security/advisories/GHSA…
- Patch github.com/nektos/act/commit/0c739c8e39c41aa5a…
- Release notes github.com/nektos/act/releases/tag/v0.2.86
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.