Improper Authorization in googleapisGHSA-7543-mr7h-6v86
GHSA-7543-mr7h-6v86 is a security vulnerability in googleapis. A fix is available for googleapis — see the affected versions and patch details below.
Real-World Exposure
How broadly this vulnerability is actually deployed: weekly install volume shows current usage, and reverse-dependency count shows how many other packages break if it stays unpatched.
googleapisnpmDescription
Versions of googleapis prior to 39.1.0 are vulnerable to Improper Authorization. Setting credentials to one client may apply to all clients which may cause requests to be sent with the incorrect credentials.
Recommendation
Upgrade to version 39.1.0.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 📦npm | googleapis | all versions | 39.1.0npm install googleapis@39.1.0 |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for googleapis, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update googleapis to 39.1.0 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-7543-mr7h-6v86 is resolved across your whole dependency graph.
Workarounds
Put an independent control in front of the weakness: restrict the affected endpoint or interface to trusted networks, require an additional authentication factor or proxy-level check, and invalidate existing sessions and credentials in case the flaw has already been used.
Frequently Asked Questions
Is GHSA-7543-mr7h-6v86 in your dependencies?
Find it across npm, including transitive dependencies.