PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-105963 elixir-plug CVE debrief

CVE-2026-105963 is a vulnerability in the plug_crypto library for Elixir, which allows an unauthenticated remote attacker to expose the secret key base through application logs. The vulnerability occurs when a wrong-typed argument is passed to certain functions in Plug.Crypto, causing a FunctionClauseError with the actual argument values in the top stack frame. This can lead to the secret key base being written to the error log. The vulnerability affects multiple packages, including plug and plug_crypto.

Vendor
elixir-plug
Product
plug
CVSS
MEDIUM 5.1
CISA KEV
Not listed in stored evidence
Original CVE published
2026-10-23
Original CVE updated
2026-10-23
Advisory published
2026-10-23
Advisory updated
2026-10-23

Who should care

Defenders of Elixir applications using the plug_crypto library should be aware of this vulnerability and take steps to verify and update their dependencies. They should also review their application logs for any potential exposure of sensitive information.

Why it matters

CVE-2026-105963 is a vulnerability in the plug_crypto library for Elixir that allows an unauthenticated remote attacker to expose the secret key base through application logs. Defenders should prioritize verifying and updating their dependencies, reviewing application logs, and implementing additional logging security measures.

  • Defenders need to verify the versions of plug and plug_crypto in their Elixir applications.
  • Defenders need to review application logs for potential exposure of sensitive information.
  • Defenders need to implement additional logging security measures to prevent sensitive information from being written to logs.
  • Defenders need to update to the latest patched versions of plug and plug_crypto.

Technical summary

The vulnerability occurs when a wrong-typed argument is passed to certain functions in Plug.Crypto, causing a FunctionClauseError with the actual argument values in the top stack frame. This can lead to the secret key base being written to the error log. The vulnerability affects multiple packages, including plug and plug_crypto. Defenders should prioritize verifying the versions of plug and plug_crypto in their Elixir applications and updating to the latest patched versions. They should also review their application logs for any potential exposure of sensitive information and implement additional logging security measures.

Defensive priority

Defenders should prioritize verifying the versions of plug and plug_crypto in their Elixir applications and updating to the latest patched versions. They should also review their application logs for any potential exposure of sensitive information.

Recommended defensive actions

  • Verify the versions of plug and plug_crypto in your Elixir applications and update to the latest patched versions.
  • Review application logs for potential exposure of sensitive information.
  • Implement additional logging security measures to prevent sensitive information from being written to logs.
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review.
  • Track exceptions, retest remediated assets, and close the item only after evidence is documented.
  • Review compensating controls for exposed systems while remediation is scheduled and verified.
  • Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up.

Evidence notes

The vulnerability is caused by a lack of input validation in the Plug.Crypto library, which allows an attacker to trigger a FunctionClauseError with sensitive information in the stack trace. The error is then written to the application logs, potentially exposing the secret key base.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-105963 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-105963

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-105963 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-105963

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

  • Secret key base exposed in stack trace arguments on wrong-typed Plug.Crypto arguments

    Unverified legacy reference

    URL: https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/105xxx/CVE-2026-105963.json

    cve_program_cvelist_v5

  • Source reference

    Unverified legacy reference

    URL: https://github.com/elixir-plug/plug/security/advisories/GHSA-ffw9-w85g-f2vh

    Supplemental source - vendor-advisory, related

  • Source reference

    Unverified legacy reference

    URL: https://cna.erlef.org/cves/CVE-2026-105963.html

    Supplemental source - related

  • Source reference

    Unverified legacy reference

    URL: https://osv.dev/vulnerability/EEF-CVE-2026-105963

    Supplemental source - related

  • Source reference

    Unverified legacy reference

    URL: https://github.com/elixir-plug/plug/commit/56000c33d8a0a2fbac491f8be06b9c5112bc2276

    Supplemental source - related

  • Source reference

    Unverified legacy reference

    URL: https://github.com/elixir-plug/plug/commit/aeaa90e76b73ea90c3ecca9aae16fce71bd2a8d4

    Supplemental source - patch

  • Source reference

    Unverified legacy reference

    URL: https://github.com/elixir-plug/plug_crypto/commit/2d078b7b8264c565f0ff71235c515f4f46882dcf

    Supplemental source - related

  • Source reference

    Unverified legacy reference

    URL: https://github.com/elixir-plug/plug_crypto/commit/981887493dada0fce7003c61861c00dfbb0fc8c5

    Supplemental source - patch

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.