CVE-2026-134591 in varselinfo

Summary

by MITRE • 12/02/2026

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 :filter_parameters list in config/config.exs did not match api_key, 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.

If you want to get the best quality for vulnerability data then you always have to consider VulDB.

Analysis

by VulDB Data Team • 12/02/2026

The vulnerability identified in the erlef-cna Varsel application represents a critical failure in secure logging practices, specifically categorized under CWE-532: Insertion of Sensitive Information into Log File. This flaw allows an attacker with read access to the application logs to extract sensitive authentication credentials, including API keys and OAuth access tokens. The root cause lies in the configuration of the Phoenix web framework's parameter filtering mechanism within the Elixir-based Varsel application. When a client connects via WebSocket GraphQL at the /ws/gql endpoint, it transmits its credentials within the connect parameters. The server-side handler, specifically VarselWeb.GraphqlSocket.connect/3, processes these incoming parameters for authentication purposes. However, the logging subsystem is configured to record connection events at an informational log level without adequately sanitizing all sensitive fields before persistence.

The technical mechanism of this vulnerability stems from a misconfiguration in the config/config.exs file, which defines the :filter_parameters list intended to mask or exclude specific keys from being written to logs. In vulnerable versions of the software, this configuration list failed to include api_key as a filtered parameter. Consequently, every time a user established a WebSocket connection and provided their API key for authentication, that plaintext value was captured in the application log files alongside other non-sensitive metadata such as timestamps or IP addresses. This oversight meant that any individual with access to these logs could trivially extract valid credentials without needing to exploit complex injection techniques or bypass network security controls.

The operational impact of this vulnerability is severe due to the nature of the exposed data. API keys associated with this system carry full administrative authority for their respective users and lack granular scope restrictions, meaning possession of a single key grants complete control over that user's account resources. Furthermore, historical analysis reveals that earlier versions also failed to filter OAuth access tokens sent through the same endpoint, indicating a systemic pattern of insufficient credential protection in logging mechanisms rather than an isolated incident. The exposure window spans from commit 55050dace0454eeef3d6c64bdee29f16a537c70b up to ff49e7be0fb3e87b7cd6fe1f50da619c8e9406a8, affecting the cna.erlef.org service during this period. Attackers could leverage these stolen credentials for unauthorized access, data exfiltration, or further lateral movement within the ecosystem, aligning with ATT&CK techniques related to Credential Access and Discovery of User Credentials via Log Files.

To mitigate this vulnerability, immediate remediation requires updating the application configuration to explicitly include api_key and token in the :filter_parameters list used by Phoenix for log sanitization. This ensures that sensitive authentication data is masked or omitted from all informational logs generated during WebSocket connections. Additionally, organizations should implement a comprehensive review of logging configurations across their infrastructure to ensure compliance with security best practices such as those outlined in OWASP guidelines regarding secure logging and monitoring. It is also recommended to rotate any API keys or tokens that may have been exposed through the vulnerable log files since the inception of the affected code versions. Regular audits of log content should be conducted to verify that no sensitive information persists in plaintext, thereby reducing the attack surface for insider threats or external actors who gain access to logging systems.

Responsible

EEF

Reservation

12/01/2026

Disclosure

12/02/2026

Moderation

accepted

CPE

ready

EPSS

0.00000

KEV

no

Activities

very low

Sources

Interested in the pricing of exploits?

See the underground prices here!