← Back
CVE-2023-26154
Vulnerability in pubnub (CVE-2023-26154)
Summary
vulnerability in pubnub (CVE-2023-26154). Confidential information can be exposed externally. Mitigation: upgrade to `7.4.0` or later.
AI summary snake-internal / snake-material-v2
A vulnerability tracked as **CVE-2023-26154** has been found in pubnub.
Confidential information can be exposed externally. CVSS score: ?/10.
What to do: upgrade pubnub to **7.4.0** or later.
If unsure, ask your IT team or search "pubnub CVE-2023-26154" on the vendor's site.
CVE-2023-26154 (pubnub) — CWE-331 /
Attack vector: remote (network-reachable) / unauthenticated / no user interaction
Patched: `7.4.0` — apply immediately
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.
❓ What is the problem
**A vulnerability** (CWE-331) exists in pubnub.
📍 Affected scope
pubnub — .
🔥 Severity
Severity: ?. Confidential information can be exposed externally
🔧 How to fix
Update to **7.4.0**.
🛡️ Workaround
Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.
🔍 Detection
Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Run `grep -r 'pubnub' .` against your dependency files (package-lock.json, requirements.txt, go.sum) to find affected services.
Response Actions (7 steps)
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1Identify exposure identify
grep -r 'pubnub' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で `pubnub` を grep し、稼働しているサービス・バージョンを把握する。
-
6Apply patch patch
Upgrade pubnub to 7.4.0ステージング環境で 7.4.0 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスと、Step 3 で見つけた異常検知の続報チェックを含めること。
-
7Post-deployment verification verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番では Step 3 と同じログクエリでアラート再発が無いか継続監視。
Affected packages
npm
pubnub
[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"7.4.0"}]}]
Maven
com.pubnub:pubnub-kotlin
[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.7.0"}]}]
Maven
com.pubnub:pubnub
[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"4.6.5"}]}]
Go
github.com/pubnub/go/v7
[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"7.2.0"}]}]
Go
github.com/pubnub/go
[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.0.0-20231016150651-428517fef5b9"}]}]
Go
github.com/pubnub/go/v6
[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"6.1.1-0.20231016150651-428517fef5b9"}]}]
Go
github.com/pubnub/go/v5
[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"5.0.4-0.20231016150651-428517fef5b9"}]}]
NuGet
Pubnub
[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.19.0"}]}]
SwiftURL
github.com/pubnub/swift
[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"6.2.0"}]}]
RubyGems
pubnub
[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.3.0"}]}]
crates.io
pubnub
[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.4.0"}]}]
Packagist
pubnub/pubnub
[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.1.0"}]}]
Pub
pubnub
[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.3.0"}]}]
PyPI
pubnub
[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.3.0"}]}]
References
- advisory https://nvd.nist.gov/vuln/detail/CVE-2023-26154
- advisory https://github.com/advisories/GHSA-5844-q3fc-56rh
- package https://github.com/pubnub/javascript
- package https://pypi.org/project/pubnub
- web https://github.com/pubnub/go/commit/428517fef5b901db7275d9f5a75eda89a4c28e08
- web https://github.com/pubnub/javascript/commit/fb6cd0417cbb4ba87ea2d5d86a9c94774447e119
- web https://security.snyk.io/vuln/SNYK-UNMANAGED-PUBNUBCCORE-6098379
- web https://security.snyk.io/vuln/SNYK-SWIFT-PUBNUBSWIFT-6098381
- web https://security.snyk.io/vuln/SNYK-RUST-PUBNUB-6098378
- web https://security.snyk.io/vuln/SNYK-RUBY-PUBNUB-6098377
- web https://security.snyk.io/vuln/SNYK-PYTHON-PUBNUB-6098375
- web https://security.snyk.io/vuln/SNYK-PUB-PUBNUB-6098385
- web https://security.snyk.io/vuln/SNYK-PHP-PUBNUBPUBNUB-6098376
- web https://security.snyk.io/vuln/SNYK-JS-PUBNUB-5840690
- web https://security.snyk.io/vuln/SNYK-JAVA-COMPUBNUB-6098380
- web https://security.snyk.io/vuln/SNYK-JAVA-COMPUBNUB-6098371
- web https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMPUBNUBGOV7-6098374
- web https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMPUBNUBGO-6098373
- web https://security.snyk.io/vuln/SNYK-DOTNET-PUBNUB-6098372
- web https://security.snyk.io/vuln/SNYK-COCOAPODS-PUBNUB-6098384
- web https://github.com/rubysec/ruby-advisory-db/blob/master/gems/pubnub/CVE-2023-26154.yml
- web https://github.com/pubnub/javascript/blob/master/src/crypto/modules/web.js#L70
- web https://gist.github.com/vargad/20237094fce7a0a28f0723d7ce395bb0