{"affected":[{"database_specific":{"$schema":"https://cna.erlef.org/schemas/osv/affected-0.1.0.json","modules":["'Elixir.VarselWeb.GraphqlSocket'"],"program_files":["config/config.exs","lib/varsel_web/graphql_socket.ex"],"program_routines":["'Elixir.VarselWeb.GraphqlSocket':connect/3"]},"ranges":[{"events":[{"introduced":"55050dace0454eeef3d6c64bdee29f16a537c70b"},{"fixed":"ff49e7be0fb3e87b7cd6fe1f50da619c8e9406a8"}],"repo":"https://github.com/erlef-cna/varsel","type":"GIT"}]}],"aliases":["GHSA-7v3j-528w-v5mp","CVE-2026-134591"],"credits":[{"name":"Jonatan Männchen / EEF","type":"FINDER"},{"name":"Jonatan Männchen / EEF","type":"REPORTER"},{"name":"Jonatan Männchen / EEF","type":"COORDINATOR"},{"name":"Jonatan Männchen / EEF","type":"REMEDIATION_DEVELOPER"}],"database_specific":{"$schema":"https://cna.erlef.org/schemas/osv/record-0.1.0.json","capec_ids":["CAPEC-150"],"cpe_ids":["cpe:2.3:a:erlef-cna:varsel:*:*:*:*:*:*:*:*"],"cwe_ids":["CWE-532"]},"details":"## Summary\n\nInsertion of Sensitive Information into Log File vulnerability in erlef-cna Varsel allows a reader of the application log to obtain API keys.\n\nA 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.\n\nThis issue affects cna.erlef.org: from 2026-07-30 before 2026-12-02; erlef-cna/varsel: from 55050dace0454eeef3d6c64bdee29f16a537c70b before ff49e7be0fb3e87b7cd6fe1f50da619c8e9406a8.\n\n## Impact\n\nA reader of the application log obtains API keys in plain text and can act as the users who own them.","id":"EEF-CVE-2026-134591","modified":"2026-12-02T12:06:41.071488Z","published":"2026-12-02T12:06:40.606Z","references":[{"type":"ADVISORY","url":"https://github.com/erlef-cna/varsel/security/advisories/GHSA-7v3j-528w-v5mp"},{"type":"WEB","url":"https://cna.erlef.org/cves/CVE-2026-134591.html"},{"type":"WEB","url":"https://github.com/erlef-cna/varsel/commit/55050dace0454eeef3d6c64bdee29f16a537c70b"},{"type":"FIX","url":"https://github.com/erlef-cna/varsel/commit/ff49e7be0fb3e87b7cd6fe1f50da619c8e9406a8"}],"related":[],"schema_version":"1.8.0","severity":[{"score":"CVSS:4.0/AV:L/AC:L/AT:P/PR:H/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N","source":"CNA","type":"CVSS_V4"}],"summary":"API keys sent on the GraphQL websocket are written to the application log in Varsel","upstream":[]}