Home / elixir-plug / plug / CVE-2026-105963
CVE-2026-105963: is it exploited, and which versions of elixir-plug plug are affected and fixed?
CVE-2026-105963 is a sensitive information written to log files vulnerability in elixir-plug plug. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 18:09 UTC). Affected: plug from 1.6.3 before 1.7.0 and plug_crypto from 1.0.0 before 2.2.1 (CVE record by EEF). Fixed in 1.7.0 and 2.2.1 (CVE record by EEF). Severity: Medium (5.1, CVSS 4.0, from EEF).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 18:09 UTC, CVE record November 20, 2026, 06:15 UTC and NVD November 20, 2026, 07:04 UTC.
What is CVE-2026-105963?
Secret key base exposed in stack trace arguments on wrong-typed Plug.Crypto arguments
Externally-Generated Error Message Containing Sensitive Information vulnerability in plug_crypto in elixir-plug plug_crypto allows an unauthenticated remote attacker to expose the secret key base through application logs via a wrong-typed argument. Every public function in Plug.Crypto validates argument types in a function-head guard. A failed guard makes the Erlang VM raise FunctionClauseError with the actual argument values in the top stack frame, so the secret key base, a derived key, or the value an API key is compared against lands in that frame. The library's rescue blocks and Plug.Crypto.prune_args_from_stacktrace/1 only reach exceptions raised inside a function body, so they never see a guard failure. Plug.Cowboy and Bandit write the frame to the error log and attach it as crash_reason Logger metadata, which error trackers forward. Two entry points take request data. Plug.Crypto.verify/4 exposes the secret key base when the token is neither a binary nor nil, which Phoenix.Token.verify/4 reaches because it forwards the token unguarded. Plug.Crypto.secure_compare/2 exposes the other operand when one side is not a binary, as happens when a missing request header yields nil. Reading the leaked value needs separate access to the logs or the error tracker, so the request alone does not disclose the secret to the attacker. This issue affects plug: from 1.6.3 before 1.7.0; plug_crypto: from 1.0.0 before 2.2.1.
From the CVE record by EEF, last updated November 20, 2026, 06:00 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| elixir-plug | plug | from 1.6.3 before 1.7.0 | 1.7.0 |
| elixir-plug | plug elixir-plug/plug | not stated | |
| elixir-plug | plug_crypto | from 1.0.0 before 2.2.1 | 2.2.1 |
| elixir-plug | plug_crypto elixir-plug/plug_crypto | not stated |
As the CVE record by EEF states it, last updated November 20, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
How severe is CVE-2026-105963?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.1 | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N | EEF |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-105963 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, October 23, 2026)
- EPSS
- 0.55% probability of exploitation activity in the next 30 days, percentile 47.6 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-532 Insertion of Sensitive Information into Log File
Is there a workaround? (from the CVE record)
Check argument types in the calling code before entering Plug.Crypto, so no head guard ever fails. Pass a token to Phoenix.Token.verify/4, Phoenix.Token.decrypt/4, Plug.Crypto.verify/4 or Plug.Crypto.decrypt/4 only when is_binary(token) holds, and treat anything else as an invalid token. Call Plug.Crypto.secure_compare/2 only when both operands are binaries, treating a missing header or parameter as a failed comparison rather than passing nil. Where the leaked value matters more than the crash, configuring the error tracker to drop stack-frame arguments also keeps the secret out of the forwarded report. For Sentry this means not sending vars with the crash report. This narrows exposure but leaves the value in the local error log.
Where are the vendor advisories and references?
- Secret key base exposed in stack trace arguments on wrong-typed Plug.Crypto arguments vendor-advisory, related
- EEF CNA record for CVE-2026-105963 related
- OSV record EEF-CVE-2026-105963 related
- Introducing commit 56000c3 in elixir-plug/plug related
- Fix commit aeaa90e in elixir-plug/plug patch
- Introducing commit 2d078b7 in elixir-plug/plug_crypto related
- Fix commit 9818874 in elixir-plug/plug_crypto patch
Who found and reported it?
- Neil Berkman (finder)
- Neil Berkman (reporter)
- Jonatan Männchen / EEF (coordinator)
- Neil Berkman (remediation developer)
- José Valim (remediation verifier)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- October 6, 2026
- Published
- October 23, 2026, 09:56 UTC
- CVE record updated
- November 20, 2026, 06:00 UTC by EEF
- NVD
- Deferred, last modified November 20, 2026, 06:17 UTC
- Last checked
- CVE list November 20, 2026, 06:15 UTC; NVD November 20, 2026, 07:04 UTC; KEV December 3, 2026, 18:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect plug?
- Nov 17, 2026CVE-2026-120287 elixir-plug plug: denial of service (resources allocated without limits)
- Jul 10, 2026CVE-2026-56813 elixir-plug plug: improper Neutralization of Parameter/Argument Delimiters
- Jul 10, 2026CVE-2026-56814 elixir-plug plug: denial of service (resources allocated without limits)
- Jun 23, 2026CVE-2026-54892 elixir-plug plug: denial of service through slow algorithm
- May 14, 2026CVE-2026-8468 elixir-plug plug: denial of service (resources allocated without limits)
Questions about CVE-2026-105963
Is CVE-2026-105963 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 18:09 UTC. FIRST's EPSS gives it a 0.55% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of elixir-plug plug are affected by CVE-2026-105963?
plug from 1.6.3 before 1.7.0 and plug_crypto from 1.0.0 before 2.2.1, per the CVE record by EEF. The tables above give every range the sources list.
Which version fixes CVE-2026-105963?
1.7.0 and 2.2.1, per the CVE record by EEF. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-105963?
Medium (5.1, CVSS 4.0, from EEF). The severity table above shows each score with its source.
Where is the official record of CVE-2026-105963?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.