# GHSA-hx78-272p-mqqh: Authorization Bypass in graphql-shield

- Severity: Low (rating, scored by GitHub)
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2020-09-03T19:21:11.000Z
- Modified: 2020-08-31T18:47:59.000Z
- Weaknesses: CWE-285

## Description

Versions of `graphql-shield` prior to 6.0.6 are vulnerable to an Authorization Bypass. The rule caching option `no_cache` relies on keys generated by cryptographically insecure functions, which may cause rules to be incorrectly cached. This allows attackers to access information they should not have access to in case of a key collision.


## Recommendation

Upgrade to version 6.0.6 or later.

(As written by GitHub Advisory Database.)

## Affected

- graphql-shield (npm): before 6.0.6

## References

- <https://www.npmjs.com/advisories/1121> (web)

## Sources

- GitHub Advisory Database: [GHSA-hx78-272p-mqqh](https://github.com/advisories/GHSA-hx78-272p-mqqh), CC-BY-4.0, modified 2020-08-31

---

Page: https://cve.day/GHSA-hx78-272p-mqqh · Whole record: https://cve.day/GHSA-hx78-272p-mqqh.json · Rebuilt by cve.day 2026-11-25T22:56:45.680Z
