CVE-2023-26154
JavaScript vulnerability analysis and mitigation

Overview

CVE-2023-26154 is a vulnerability affecting multiple versions of PubNub packages across different platforms, discovered and disclosed on August 13, 2023. The vulnerability impacts various implementations including JavaScript (versions before 7.4.0), .NET (before 6.19.0), Go, Python (before 7.3.0), PHP (before 6.1.0), Ruby (before 5.3.0), Rust (before 0.4.0), Swift (before 6.2.0), and C/C++ (before 4.5.0) (Snyk Advisory).

Technical details

The vulnerability stems from insufficient entropy in the getKey function due to an inefficient implementation of the AES-256-CBC cryptographic algorithm. The security flaw occurs when hex encoding and trimming are applied to the encryption key, resulting in half of the bits in the key remaining constant across all encoded messages or files. The vulnerability has been assigned a CVSS v3.1 base score of 5.9 (Medium), with attack vector being Network and attack complexity being High (NVD).

Impact

The vulnerability compromises the confidentiality of encrypted data by weakening the encryption implementation. When exploited, it could lead to unauthorized access to sensitive information, as half of the encryption key bits remain constant, making it potentially easier for attackers to decrypt the protected data (Snyk Advisory).

Mitigation and workarounds

The recommended mitigation is to upgrade to the fixed versions of the affected packages: JavaScript (7.4.0+), .NET (6.19.0+), Go/v7 (7.2.0+), Python (7.3.0+), PHP (6.1.0+), Ruby (5.3.0+), Rust (0.4.0+), Swift (6.2.0+), and C/C++ (4.5.0+). A patch has been implemented and is available through the official package repositories (GitHub Patch).

Additional resources


SourceThis report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-22610HIGH8.5
  • JavaScriptJavaScript
  • angular.js
NoYesJan 10, 2026
CVE-2026-22595HIGH8.1
  • JavaScriptJavaScript
  • ghost
NoYesJan 10, 2026
CVE-2026-22594HIGH8.1
  • JavaScriptJavaScript
  • ghost
NoYesJan 10, 2026
CVE-2026-22596MEDIUM6.7
  • JavaScriptJavaScript
  • ghost
NoYesJan 10, 2026
CVE-2026-22597LOW2
  • JavaScriptJavaScript
  • ghost
NoYesJan 10, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management