CVEBrief

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.

Exploited in the wild
Not in CISA KEV
KEV 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
Exploit odds (EPSS)
0.55% in 30 days
higher than 48% of CVEs; FIRST, December 3, 2026
Free for up to 3 items: a weekly email, and an alert the day CISA lists one as exploited. We email you once to confirm. More about the watch

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?

VendorProductAffectedFixed or not affected from
elixir-plugplugfrom 1.6.3 before 1.7.01.7.0
elixir-plugplug elixir-plug/plugnot stated
elixir-plugplug_cryptofrom 1.0.0 before 2.2.12.2.1
elixir-plugplug_crypto elixir-plug/plug_cryptonot 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?

ScoreVersionVectorSource
Medium 5.1CVSS 4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:NEEF

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?

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?

Who found and reported it?

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?

Every CVE in plug

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.