EEF-CVE-2026-134591: API keys sent on the GraphQL websocket are written to the application log in Varsel
Summary
Insertion of Sensitive Information into Log File vulnerability in erlef-cna Varsel allows a reader of the application log to obtain API keys.
A client of /ws/gql sends its credential in the connect params, which VarselWeb.GraphqlSocket.connect/3 reads. Phoenix logs these params at info level and filters them by name. The :filterparameters list in config/config.exs did not match apikey, so each connect wrote the key in plain text. An API key carries the full authority of its user and has no scope. In earlier versions the list also did not match token, so an OAuth access token sent on the same endpoint was logged in the same way.
This issue affects cna.erlef.org: from 2026-07-30 before 2026-12-02; erlef-cna/varsel: from 55050dace0454eeef3d6c64bdee29f16a537c70b before ff49e7be0fb3e87b7cd6fe1f50da619c8e9406a8.
Impact
A reader of the application log obtains API keys in plain text and can act as the users who own them.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
erlef-cna/varselto a version that resolves this vulnerability.Patch ff49e7be0fb3e87b7cd6fe1f50da619c8e9406a8
Event History
Frequently Asked Questions
Who could exploit this issue?
An attacker needs read access to the application log. Any API key exposed there can be used with the full authority of the user who owns it, because API keys have no scope.
Which deployments are known to be affected?
The affected public service is cna.erlef.org from 2026-07-30 until before 2026-12-02. The affected erlef-cna/varsel code range is from commit 55050dace0454eeef3d6c64bdee29f16a537c70b until before commit ff49e7be0fb3e87b7cd6fe1f50da619c8e9406a8.
How can I determine whether credentials may have been exposed?
Review application logs from the affected period for connection records from the /ws/gql endpoint that include api_key values. Earlier versions may also have logged OAuth access tokens sent to that endpoint because token was not matched by the log parameter filter.