# pubnub Insufficient Entropy vulnerability

Advisory record · `GHSA-5844-q3fc-56rh`

- **Identifiers:** `GHSA-5844-q3fc-56rh` · `CVE-2023-26154` · `GO-2023-2385` · `PKSA-fyvg-jy6y-h7w5` · `PYSEC-2026-1807`
- **State:** Confirmed
- **Severity:** CVSS 5.9 Medium
- **Critical:** No
- **Weakness (CWE):** [CWE-331](https://cwe.mitre.org/data/definitions/331.html)
- **Tags:** [CWE-331](https://agentprime.io/advisories/tag/cwe-331.md)
- **Published:** 6 Dec 2023
- **Updated:** 7 Jul 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 6 Dec 2023, 06:30 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `pubnub` (npm): affected `<7.4.0`; fixed in `7.4.0`
- `com.pubnub:pubnub-kotlin` (Maven): affected `<7.7.0`; fixed in `7.7.0`
- `com.pubnub:pubnub` (Maven): affected `<=4.6.5`; no fixed version yet
- `github.com/pubnub/go/v7` (Go): affected `<7.2.0`; fixed in `7.2.0`
- `github.com/pubnub/go` (Go): affected `<0.0.0-20231016150651-428517fef5b9`; fixed in `0.0.0-20231016150651-428517fef5b9`
- `github.com/pubnub/go/v6` (Go): affected `<6.1.1-0.20231016150651-428517fef5b9`; fixed in `6.1.1-0.20231016150651-428517fef5b9`
- `github.com/pubnub/go/v5` (Go): affected `<5.0.4-0.20231016150651-428517fef5b9`; fixed in `5.0.4-0.20231016150651-428517fef5b9`
- `Pubnub` (NuGet): affected `<6.19.0`; fixed in `6.19.0`
- `pubnub` (RubyGems): affected `<5.3.0`; fixed in `5.3.0`
- `pubnub` (crates.io): affected `<0.4.0`; fixed in `0.4.0`
- `pubnub/pubnub` (Packagist): affected `<6.1.0`; fixed in `6.1.0`
- `pubnub` (PyPI): affected `<7.3.0`; fixed in `7.3.0`

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 5.9 Medium, CVSS 3.1: `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N`, from CNA (snyk)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0096, the 61st percentile, on 6 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

This record came from the full history of the GitHub Advisory Database, published 6 Dec 2023. New records show when each source confirmed them.

## Sources

- [GitHub Advisory Database: GHSA-5844-q3fc-56rh](https://github.com/advisories/GHSA-5844-q3fc-56rh)
- [OSV: GHSA-5844-q3fc-56rh](https://osv.dev/vulnerability/GHSA-5844-q3fc-56rh)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-26154>
- <https://github.com/pubnub/go/commit/428517fef5b901db7275d9f5a75eda89a4c28e08>
- <https://github.com/pubnub/javascript/commit/fb6cd0417cbb4ba87ea2d5d86a9c94774447e119>
- <https://security.snyk.io/vuln/SNYK-UNMANAGED-PUBNUBCCORE-6098379>
- <https://security.snyk.io/vuln/SNYK-SWIFT-PUBNUBSWIFT-6098381>
- <https://security.snyk.io/vuln/SNYK-RUST-PUBNUB-6098378>
- <https://security.snyk.io/vuln/SNYK-RUBY-PUBNUB-6098377>
- <https://security.snyk.io/vuln/SNYK-PYTHON-PUBNUB-6098375>
- <https://security.snyk.io/vuln/SNYK-PUB-PUBNUB-6098385>
- <https://security.snyk.io/vuln/SNYK-PHP-PUBNUBPUBNUB-6098376>
- <https://security.snyk.io/vuln/SNYK-JS-PUBNUB-5840690>
- <https://security.snyk.io/vuln/SNYK-JAVA-COMPUBNUB-6098380>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-5844-q3fc-56rh>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-5844-q3fc-56rh/>. Everything for agents: <https://agentprime.io/llms.txt>.
