GHSA-hr7p-wg7r-hg9m: Flyto2 Core: ${env.VAR} interpolation reads any env secret despite env.get being denylisted
Summary
Flyto2 Core has a security bypass where the variable resolver can read any environment variable using `${env.VAR}` syntax, even though the `env.get` module (which does the same thing) is blocked by the capability policy (a security control that restricts which modules a workflow can use). This means attackers can steal secrets like API keys by embedding `${env.SECRET}` in workflow parameters and sending them to external URLs.
Solution / Mitigation
The source suggests two fixes: (1) Apply the same policy to `${env.*}` as to the `env.get` module by gating it behind an explicit allowlist of permitted variable names and denying by default when `env.get` is denied, so engine interpolation and module execution enforce one env-access policy, or (2) drop `${env.*}` entirely and require env values to be passed in explicitly at workflow start.
Vulnerability Details
EPSS: 0.3%
Yes
July 30, 2026
Classification
Affected Vendors
Affected Packages
Related Issues
GHSA-382c-vx95-w3p5: Gittensory: Missing contributor-scoped access control on profile endpoint and MCP tool leaks miner financial data
CVE-2026-2589: The Greenshift – animation and page builder blocks plugin for WordPress is vulnerable to Sensitive Information Exposure
Original source: https://github.com/advisories/GHSA-hr7p-wg7r-hg9m
First tracked: July 30, 2026 at 02:01 PM
Classified by LLM (prompt v3) · confidence: 92%