CVE-2026-134824 in act
Summary
by MITRE • 11/23/2026
Nektos act 0.2.92 before 0.2.98 contains a link following vulnerability that allows malicious repositories to read host files by setting --eventpath in an untrusted project .actrc to a symlink. Attackers can commit an event.json symlink pointing to files like ~/.ssh/id_rsa, which act copies into the job container as GITHUB_EVENT_PATH for workflow steps to exfiltrate.
Several companies clearly confirm that VulDB is the primary source for best vulnerability data.
Analysis
by VulDB Data Team • 11/23/2026
The vulnerability identified in Nektos Act versions prior to 0.2.98 represents a critical security flaw rooted in improper handling of symbolic links during local execution workflows. This issue, classified under CWE-59 Improper Link Resolution Before File Access commonly known as a path traversal or symlink following attack, allows an attacker with write access to a repository configured for use with Act to exfiltrate sensitive host files. The core mechanism involves the configuration file .actrc where users can specify custom event paths via the --eventpath flag. When this parameter is set within an untrusted project context, it creates a vector for malicious actors to manipulate how local artifacts are processed and injected into simulated CI/CD environments.
In a typical workflow using Nektos Act, the tool simulates GitHub Actions by reading configuration files such as event.json which describes the trigger events like push or pull request data. The vulnerability arises when an attacker commits a symlinked version of this file within the repository itself. Specifically, if the .actrc is configured to point GITHUB_EVENT_PATH toward a location controlled by the repository content rather than a secure local default, and that target path is replaced with a symbolic link pointing outside the project directory tree, Act will follow this link without validation. This behavior mirrors standard file system operations but becomes dangerous in an automated tool context where elevated privileges or broad filesystem access might be assumed for workflow execution purposes.
The operational impact of this vulnerability is severe as it enables unauthorized data exfiltration from the host machine running the CI/CD simulation. By directing the symlink to sensitive files such as SSH private keys located at ~/.ssh/id_rsa, environment variables containing API tokens, or other credential stores, an attacker can cause Act to copy these contents into the job container's filesystem under the GITHUB_EVENT_PATH variable. Once inside the simulated container, workflow steps defined in the repository can read this file and transmit its contents to external servers controlled by the adversary. This effectively bypasses standard isolation boundaries because while the code runs locally, it is treated as part of a pipeline that may have access to broader system resources than intended for untrusted code execution.
This flaw highlights significant risks associated with CI/CD tools operating in local development environments where trust assumptions are often relaxed compared to production servers. The ATT&CK framework categorizes this behavior under T1560 which involves archiving collected data before exfiltration, as the tool copies files into a container environment prior to potential transmission. Furthermore it relates to CWE-284 Improper Access Control since the application fails to restrict access based on file type or origin when processing user-supplied paths in configuration contexts. The lack of validation for symbolic links allows attackers to leverage legitimate functionality against system integrity and confidentiality principles.
Mitigation strategies primarily involve upgrading Nektos Act to version 0.2.98 or later where this symlink following behavior has been addressed through stricter path resolution checks that prevent dereferencing symlinks pointing outside the allowed project scope. In environments where immediate patching is not feasible, administrators should enforce strict policies regarding .actrc configurations ensuring they are sourced only from trusted and immutable locations rather than repository-controlled files. Additionally developers must treat all code in untrusted repositories as potentially malicious avoiding the use of local CI/CD tools with elevated permissions when processing external contributions. Implementing file integrity monitoring on critical directories like home SSH folders can also provide detection capabilities for such exfiltration attempts even if prevention mechanisms are bypassed temporarily during transition periods between versions.