CVE-2026-134591: API keys sent on the GraphQL websocket are written to the application log in Varsel

Published Dec 2, 2026
·
Updated

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.

Other sources

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.

— MITRE

Affected Software

1 affected component
erlef-cna Varsel>=55050dace0454eeef3d6c64bdee29f16a537c70b<ff49e7be0fb3e87b7cd6fe1f50da619c8e9406a8

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Configuration

    Add api_key to the :filter_parameters list in config/config.exs so GraphQL websocket credentials are filtered from logs.

    Varsel :filter_parameters = include api_key

Event History

Dec 2, 2026
CVE Published
via MITRE·12:06 PM
Data Sourced
via MITRE·12:06 PM
DescriptionWeakness
Data Sourced
via OSV·12:06 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who can exploit the exposed credentials?

Any party able to read the application log can obtain API keys written by GraphQL WebSocket connections and use them with the full authority of the owning user. The affected API keys have no scope.

2

What traffic causes a credential to be logged?

A client connecting to /ws/gql sends its credential in the connection parameters. Phoenix logs those parameters at info level, and api_key was not covered by the configured parameter filter.

3

Are OAuth access tokens also at risk?

Earlier affected versions also failed to filter the token parameter. OAuth access tokens sent to the same endpoint could therefore be written to logs in plain text.

4

How can I determine whether an instance was affected?

Affected deployments include cna.erlef.org from 2026-07-30 until before 2026-12-02, and erlef-cna/varsel revisions from 55050dace0454eeef3d6c64bdee29f16a537c70b until before ff49e7be0fb3e87b7cd6fe1f50da619c8e9406a8. Review application logs from the affected period for /ws/gql connection parameters containing api_key or, in earlier versions, token.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203