chat is vulnerable to Missing Authorization
53
CVE Score
Medium
Missing Authorization
Before the fix, requestApproval from chat/workflow accepted the approval decision and the deciding user from the JSON body POSTed to its workflow webhook, so anyone holding the webhook URL could forge an approve or deny decision and impersonate an allowed approvers entry. Apps that never call requestApproval were unaffected because the function must be used explicitly inside a "use workflow" function. The fix stores a single-use receipt in the thread's state adapter when Chat SDK verifies a real button click and resolves the decision and user only from that receipt, ignoring POSTs without one. The fix also requires the click-handling Chat instance and the workflow runner to share a state adapter.
Upgrade the chat package to 4.44.0 or later and Pass a thread created by Chat SDK whose state adapter is shared with the workflow runner.
You are affected if you are using a version that falls within the vulnerable range and call requestApproval from chat/workflow where anyone holding its workflow webhook URL can POST to it.
4.35.0 - 4.43.0
Fixed in 4.44.0chat is vulnerable to Missing Authorization in versions 4.35.0 - 4.43.0.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.