CVE-2023-26154 — Vulnerability in pubnub — CVE Details
pubnub Insufficient Entropy vulnerability
Summary
Advisory Timeline
- First published December 6, 2023 (1041 days ago).
- Last revised July 7, 2026 — 944 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
cargo update -p pubnub --precise 0.4.0
composer require "pubnub/pubnub:^6.1.0"
gem install pubnub -v 5.3.0
pip install "pubnub>=7.3.0"
go get github.com/pubnub/go/v5@v5.0.4-0.20231016150651-428517fef5b9
go get github.com/pubnub/go@v0.0.0-20231016150651-428517fef5b9
go get github.com/pubnub/go/v6@v6.1.1-0.20231016150651-428517fef5b9
go get github.com/pubnub/go/v7@v7.2.0
<!-- Update pom.xml dependency version to 7.7.0 for com.pubnub:pubnub-kotlin -->
dotnet add package Pubnub --version 6.19.0
npm install pubnub@7.4.0
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (12)
Affects 8 ecosystems: go (4), maven (2), crates.io (1), npm (1), nuget (1), packagist (1), pypi (1), rubygems (1).
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| pubnub | crates.io | All versions | 0.4.0 |
| pubnub/pubnub | packagist | 3.5, 3.8.0, 3.8.1, 3.8.3 (+39 more) | 6.1.0 |
| pubnub | rubygems | 0.1.10, 0.1.11, 0.1.12, 0.1.2 (+90 more) | 5.3.0 |
| pubnub | pypi | 3.3, 3.3.1, 3.3.2, 3.3.4 (+84 more) | 7.3.0 |
| github.com/pubnub/go/v5 | go | All versions | 5.0.4-0.20231016150651-428517fef5b9 |
| github.com/pubnub/go | go | All versions | 0.0.0-20231016150651-428517fef5b9 |
| github.com/pubnub/go/v6 | go | All versions | 6.1.1-0.20231016150651-428517fef5b9 |
| github.com/pubnub/go/v7 | go | All versions | 7.2.0 |
| com.pubnub:pubnub-kotlin | maven | 4.0.0, 4.0.1, 5.0.0, 5.0.1 (+25 more) | 7.7.0 |
| Pubnub | nuget | 3.0.0, 3.3.0.1, 3.3.0.1-beta0, 3.3.0.1-release-01-02-13-1 (+171 more) | 6.19.0 |
| pubnub | npm | All versions | 7.4.0 |
| com.pubnub:pubnub | maven | 3.4, 3.5.2, 3.5.3, 3.5.4 (+42 more) | Range-based data available |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-331
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 5.9 score means for each attack dimension.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
References
- https://nvd.nist.gov/vuln/detail/CVE-2023-26154ADVISORY
- https://github.com/pubnub/go/commit/428517fef5b901db7275d9f5a75eda89a4c28e08WEB
- https://github.com/pubnub/javascript/commit/fb6cd0417cbb4ba87ea2d5d86a9c94774447e119WEB
- https://security.snyk.io/vuln/SNYK-UNMANAGED-PUBNUBCCORE-6098379WEB
- https://security.snyk.io/vuln/SNYK-SWIFT-PUBNUBSWIFT-6098381WEB
- https://security.snyk.io/vuln/SNYK-RUST-PUBNUB-6098378WEB
- https://security.snyk.io/vuln/SNYK-RUBY-PUBNUB-6098377WEB
- https://security.snyk.io/vuln/SNYK-PYTHON-PUBNUB-6098375WEB
- https://security.snyk.io/vuln/SNYK-PUB-PUBNUB-6098385WEB
- https://security.snyk.io/vuln/SNYK-PHP-PUBNUBPUBNUB-6098376WEB
- https://security.snyk.io/vuln/SNYK-JS-PUBNUB-5840690WEB
- https://security.snyk.io/vuln/SNYK-JAVA-COMPUBNUB-6098380WEB
- https://security.snyk.io/vuln/SNYK-JAVA-COMPUBNUB-6098371WEB
- https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMPUBNUBGOV7-6098374WEB
- https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMPUBNUBGO-6098373WEB
- https://security.snyk.io/vuln/SNYK-DOTNET-PUBNUB-6098372WEB
- https://security.snyk.io/vuln/SNYK-COCOAPODS-PUBNUB-6098384WEB
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/pubnub/CVE-2023-26154.ymlWEB
- https://github.com/pubnub/javascript/blob/master/src/crypto/modules/web.js#L70WEB
- https://github.com/pubnub/javascriptPACKAGE
- https://github.com/advisories/GHSA-5844-q3fc-56rhADVISORY
- https://gist.github.com/vargad/20237094fce7a0a28f0723d7ce395bb0WEB
Frequently Asked Questions
- What is CVE-2023-26154?
- pubnub Insufficient Entropy vulnerability This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 5.9/10).
- How do I check if my project is affected by CVE-2023-26154?
- CVE-2023-26154 affects pubnub, pubnub/pubnub and github.com/pubnub/go/v5 (and 6 more). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2023-26154 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation requires specific conditions or has limited impact. Remediate within weeks.
Also Known As
Related CVEs
- CVE-2026-107715MEDIUM
Mechanize sends credential headers to another host after an HTTP redirect
- CVE-2026-107399MEDIUM
Mechanize sends credential headers to another origin after a meta refresh
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies