CVE-2026-137972 in Heym
Summary
by MITRE • 11/27/2026
Heym before 0.0.154 contains a cross-site request forgery vulnerability in the workflow execute endpoint: anonymous workflows run as any signed-in caller, without an access check, using that caller's credentials and global variables. Authenticated attackers can lure signed-in users to a GET execute link for an attacker-owned anonymous workflow, which the SameSite=Lax session cookie authenticates. The attacker then reads the victim's decrypted credentials from the workflow's run history.
Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.
Analysis
by VulDB Data Team • 11/27/2026
Heym versions prior to 0.0.154 are susceptible to a critical cross-site request forgery vulnerability within its workflow execution endpoint, specifically affecting anonymous workflows. This flaw stems from an insufficient access control mechanism that fails to verify whether the user initiating the action is authorized to execute the specific workflow in question. Instead of enforcing strict ownership or permission checks, the system allows any authenticated user to trigger the execution of a workflow identified as anonymous by leveraging their own session credentials and global variables. This design oversight effectively bypasses intended security boundaries, allowing an attacker to perform actions on behalf of legitimate users without their explicit consent for that specific operation.
The operational impact of this vulnerability is severe due to the nature of how Heym handles authentication cookies. The application relies on SameSite=Lax session cookies, which are automatically included in GET requests initiated from external domains if the user has an active login session with Heym. An attacker can exploit this by crafting a malicious link that points to the workflow execute endpoint for an anonymous workflow they control. When a victim who is currently logged into Heym clicks or navigates to this crafted URL, their browser automatically attaches their valid authentication cookie to the request due to the SameSite policy allowing top-level navigation GET requests. Consequently, the server processes the execution command as if it were authorized by the victim, running the attacker's workflow with the victim's permissions and data context.
The most damaging aspect of this exploit is the subsequent exfiltration of sensitive information. Once the malicious workflow executes under the victim's identity, it can access global variables and decrypted credentials stored within the application environment. The vulnerability allows the attacker to read these secrets from the run history generated by the execution. This means that not only does the attacker achieve unauthorized code execution in the context of another user, but they also gain direct access to high-value assets such as API keys, database passwords, or other confidential configuration data associated with that victim's account. This transforms a simple CSRF issue into a significant credential theft vector.
From a classification perspective, this vulnerability aligns with CWE-352 Cross-Site Request Forgery (CSRF), specifically highlighting the failure to implement anti-CSRF tokens for state-changing operations or critical actions like workflow execution. Furthermore, it relates closely to CWE-862 Missing Authorization, as the application fails to enforce proper access control policies before allowing a user to perform an action on behalf of another entity. In terms of adversary tactics, this behavior mirrors techniques found in MITRE ATT&CK such as T1078 Valid Accounts and potentially T1539 Steal Web Session Cookie if the session hijacking aspect is emphasized, though here it is more accurately described as using valid credentials to perform unauthorized actions (T1499 Endpoint Denial of Service or data exfiltration via legitimate channels).
To mitigate this vulnerability, immediate action must be taken by upgrading Heym to version 0.0.154 or later where these access controls have been rectified. For organizations unable to upgrade immediately, implementing strict SameSite cookie attributes set to Strict rather than Lax can prevent the automatic inclusion of cookies in cross-site GET requests, thereby neutralizing the CSRF vector. Additionally, developers should enforce anti-CSRF tokens on all workflow execution endpoints and ensure that anonymous workflows are strictly isolated from user-specific credentials unless explicitly authorized by an access control check. Regular security audits focusing on authorization logic for shared or public resources are essential to prevent similar flaws in future iterations of the software.