Information Exposure in type-graphqlGHSA-xf64-2f9p-6pqq
GHSA-xf64-2f9p-6pqq is a security vulnerability in type-graphql. A fix is available for type-graphql — 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.
type-graphqlnpmDescription
Versions of type-graphql prior to 0.17.6 are vulnerable to Information Exposure. The package leaks the resolver source code in an error message. It is possible to force this error when no subscription topics are provided in the request.
Recommendation
Upgrade to version 0.17.6 or later.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 📦npm | type-graphql | all versions | 0.17.6npm install type-graphql@0.17.6 |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for type-graphql, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update type-graphql to 0.17.6 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-xf64-2f9p-6pqq is resolved across your whole dependency graph.
Workarounds
Assume what was exposed is already known: rotate any credential, token or key that the affected component could return, restrict the endpoint to callers that genuinely need it, and strip sensitive fields from responses and error output at the boundary rather than relying on the client not to read them.
Frequently Asked Questions
Is GHSA-xf64-2f9p-6pqq in your dependencies?
Find it across npm, including transitive dependencies.