OSSN-0098: Mistral workflow execution context exposes Keystone auth token

Summary

Eduardo Gonzalez Gutierrez reported that Mistral stores the Keystone authentication token in the workflow execution context. Any user who can create or inspect workflow executions can retrieve active tokens via YAQL or Jinja2 expressions and use them to perform actions as the workflow initiator. Deployments where untrusted users can create or execute workflows are affected.

Affected Services / Software

mistral (<=22.0.0)

Discussion

When a workflow execution starts, Mistral copies the full Keystone authentication context into the execution’s stored context. This includes the auth_token and service_catalog. The fix masks these fields and is only applied to the master branch. Backporting to stable branches would break workflows that rely on the $.openstack.auth_token context variable.

Contacts / References

Author: Goutham Pacha Ravi, Red Hat