Lookup for vulnerable packages by Package URL.

Purlpkg:pypi/strawberry-graphql@0.219.0
Typepypi
Namespace
Namestrawberry-graphql
Version0.219.0
Qualifiers
Subpath
Is_vulnerabletrue
Next_non_vulnerable_version0.312.3
Latest_non_vulnerable_version0.315.7
Affected_by_vulnerabilities
0
url VCID-tevu-phwc-vbc4
vulnerability_id VCID-tevu-phwc-vbc4
summary Strawberry GraphQL is a library for creating GraphQL APIs. Strawberry up until version 0.312.3 is vulnerable to an authentication bypass on WebSocket subscription endpoints. The legacy graphql-ws subprotocol handler does not verify that a connection_init handshake has been completed before processing start (subscription) messages. This allows a remote attacker to skip the on_ws_connect authentication hook entirely by connecting with the graphql-ws subprotocol and sending a start message directly, without ever sending connection_init. This vulnerability is fixed in 0.312.3.
references
0
reference_url https://api.first.org/data/v1/epss?cve=CVE-2026-35523
reference_id
reference_type
scores
0
value 0.00106
scoring_system epss
scoring_elements 0.28265
published_at 2026-06-05T12:55:00Z
url https://api.first.org/data/v1/epss?cve=CVE-2026-35523
1
reference_url https://github.com/strawberry-graphql/strawberry
reference_id
reference_type
scores
0
value 7.5
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/strawberry-graphql/strawberry
2
reference_url https://github.com/strawberry-graphql/strawberry/commit/0977a4e6b41b7cfe3e9d8ba84a43458a2b0c54c2
reference_id
reference_type
scores
0
value 7.5
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/strawberry-graphql/strawberry/commit/0977a4e6b41b7cfe3e9d8ba84a43458a2b0c54c2
3
reference_url https://github.com/strawberry-graphql/strawberry/releases/tag/0.312.3
reference_id
reference_type
scores
0
value 7.5
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/strawberry-graphql/strawberry/releases/tag/0.312.3
4
reference_url https://github.com/strawberry-graphql/strawberry/security/advisories/GHSA-vpwc-v33q-mq89
reference_id
reference_type
scores
0
value 7.5
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
1
value HIGH
scoring_system generic_textual
scoring_elements
2
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:N/A:Y/T:P/P:M/B:A/M:M/D:T/2026-04-09T16:11:53Z/
url https://github.com/strawberry-graphql/strawberry/security/advisories/GHSA-vpwc-v33q-mq89
5
reference_url https://nvd.nist.gov/vuln/detail/CVE-2026-35523
reference_id
reference_type
scores
0
value 7.5
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://nvd.nist.gov/vuln/detail/CVE-2026-35523
6
reference_url https://github.com/advisories/GHSA-vpwc-v33q-mq89
reference_id GHSA-vpwc-v33q-mq89
reference_type
scores
url https://github.com/advisories/GHSA-vpwc-v33q-mq89
fixed_packages
0
url pkg:pypi/strawberry-graphql@0.312.3
purl pkg:pypi/strawberry-graphql@0.312.3
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:pypi/strawberry-graphql@0.312.3
aliases CVE-2026-35523, GHSA-vpwc-v33q-mq89, PYSEC-2026-133
risk_score 4.0
exploitability 0.5
weighted_severity 8.0
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-tevu-phwc-vbc4
1
url VCID-udbu-vdaf-9uem
vulnerability_id VCID-udbu-vdaf-9uem
summary
Strawberry GraphQL has type resolution vulnerability in node interface that allows potential data leakage through incorrect type resolution
**Vulnerability Summary**
A type confusion vulnerability exists in Strawberry GraphQL's relay integration that affects multiple ORM integrations (Django, SQLAlchemy, Pydantic). The vulnerability occurs when multiple GraphQL types are mapped to the same underlying model while using the relay `node` interface.

**Affected Components**
- Strawberry GraphQL relay integration
- Specifically impacts implementations using:
- Django integration
- SQLAlchemy integration
- Pydantic integration

**Technical Details**

The vulnerability manifests when:
1. Multiple GraphQL types inherit from `relay.Node`
2. These types are mapped to the same database model
3. The global `node` field is used for type resolution

Example of vulnerable code:

```python
from fruits.models import Fruit
import strawberry_django
import strawberry

@strawberry_django.type(Fruit)
class FruitType(relay.Node):
name: strawberry.auto

@strawberry_django.type(Fruit)
class SpecialFruitType(relay.Node):
secret_name: strawberry.auto

@strawberry.type
class Query:
node: relay.Node = strawberry_django.node()
```

**Security Impact**

When querying for a specific type using the global `node` field (e.g., `FruitType:some-id`), the resolver may incorrectly return an instance of a different type mapped to the same model (e.g., `SpecialFruitType`). This can lead to:

1. Information disclosure if the alternate type exposes sensitive fields
2. Potential privilege escalation if the alternate type contains data intended for restricted access

**Note**
Even with knowledge of the correct type name (e.g., `SpecialFruitType`), attackers may still be able to access unauthorized data through direct type queries.

We recommend to use permission on fields instead of creating a dedicate type.

**Recommendations**
1. Avoid mapping multiple relay Node types to the same model
2. Implement strict access controls at the field resolution level (using permissions)
3. Consider using separate models for different access levels of the same data
4. Update to `strawberry-graphql>=0.257.0`
5. If using `strawberry-graphql-django`, update to `strawberry-graphql-django>=0.54.0`
references
0
reference_url https://api.first.org/data/v1/epss?cve=CVE-2025-22151
reference_id
reference_type
scores
0
value 0.00244
scoring_system epss
scoring_elements 0.47895
published_at 2026-06-05T12:55:00Z
url https://api.first.org/data/v1/epss?cve=CVE-2025-22151
1
reference_url https://github.com/strawberry-graphql/strawberry
reference_id
reference_type
scores
0
value 3.7
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
1
value LOW
scoring_system generic_textual
scoring_elements
url https://github.com/strawberry-graphql/strawberry
2
reference_url https://github.com/strawberry-graphql/strawberry/commit/526eb82b70451c0e59d5a71ae9b7396f59974bd8
reference_id
reference_type
scores
0
value 3.7
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
1
value LOW
scoring_system generic_textual
scoring_elements
2
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2025-01-09T20:09:23Z/
url https://github.com/strawberry-graphql/strawberry/commit/526eb82b70451c0e59d5a71ae9b7396f59974bd8
3
reference_url https://nvd.nist.gov/vuln/detail/CVE-2025-22151
reference_id CVE-2025-22151
reference_type
scores
0
value 3.7
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
1
value LOW
scoring_system generic_textual
scoring_elements
url https://nvd.nist.gov/vuln/detail/CVE-2025-22151
4
reference_url https://github.com/advisories/GHSA-5xh2-23cc-5jc6
reference_id GHSA-5xh2-23cc-5jc6
reference_type
scores
url https://github.com/advisories/GHSA-5xh2-23cc-5jc6
5
reference_url https://github.com/strawberry-graphql/strawberry/security/advisories/GHSA-5xh2-23cc-5jc6
reference_id GHSA-5xh2-23cc-5jc6
reference_type
scores
0
value 3.7
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
1
value LOW
scoring_system generic_textual
scoring_elements
2
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2025-01-09T20:09:23Z/
url https://github.com/strawberry-graphql/strawberry/security/advisories/GHSA-5xh2-23cc-5jc6
fixed_packages
0
url pkg:pypi/strawberry-graphql@0.257.0
purl pkg:pypi/strawberry-graphql@0.257.0
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-tevu-phwc-vbc4
1
vulnerability VCID-vyty-brcb-m7b3
resource_url http://public2.vulnerablecode.io/packages/pkg:pypi/strawberry-graphql@0.257.0
aliases CVE-2025-22151, GHSA-5xh2-23cc-5jc6
risk_score 1.6
exploitability 0.5
weighted_severity 3.3
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-udbu-vdaf-9uem
2
url VCID-uek4-b39n-ruan
vulnerability_id VCID-uek4-b39n-ruan
summary Strawberry GraphQL is a library for creating GraphQL APIs. Prior to version 0.243.0, multipart file upload support as defined in the GraphQL multipart request specification was enabled by default in all Strawberry HTTP view integrations. This made all Strawberry HTTP view integrations vulnerable to cross-site request forgery (CSRF) attacks if users did not explicitly enable CSRF preventing security mechanism for their servers. Additionally, the Django HTTP view integration, in particular, had an exemption for Django's built-in CSRF protection (i.e., the `CsrfViewMiddleware` middleware) by default. In affect, all Strawberry integrations were vulnerable to CSRF attacks by default. Version `v0.243.0` is the first `strawberry-graphql` including a patch.
references
0
reference_url https://api.first.org/data/v1/epss?cve=CVE-2024-47082
reference_id
reference_type
scores
0
value 0.00145
scoring_system epss
scoring_elements 0.3457
published_at 2026-06-05T12:55:00Z
url https://api.first.org/data/v1/epss?cve=CVE-2024-47082
1
reference_url https://github.com/pypa/advisory-database/tree/main/vulns/strawberry-graphql/PYSEC-2024-171.yaml
reference_id
reference_type
scores
0
value 4.6
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L
1
value 4.8
scoring_system cvssv4
scoring_elements CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N
2
value MODERATE
scoring_system generic_textual
scoring_elements
url https://github.com/pypa/advisory-database/tree/main/vulns/strawberry-graphql/PYSEC-2024-171.yaml
2
reference_url https://github.com/strawberry-graphql/strawberry
reference_id
reference_type
scores
0
value 4.6
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L
1
value 4.8
scoring_system cvssv4
scoring_elements CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N
2
value MODERATE
scoring_system generic_textual
scoring_elements
url https://github.com/strawberry-graphql/strawberry
3
reference_url https://github.com/strawberry-graphql/strawberry/commit/37265b230e511480a9ceace492f9f6a484be1387
reference_id
reference_type
scores
0
value 4.6
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L
1
value 8.0
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
2
value 4.8
scoring_system cvssv4
scoring_elements CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N
3
value MODERATE
scoring_system generic_textual
scoring_elements
4
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2024-09-25T18:03:32Z/
url https://github.com/strawberry-graphql/strawberry/commit/37265b230e511480a9ceace492f9f6a484be1387
4
reference_url https://github.com/strawberry-graphql/strawberry/security/advisories/GHSA-79gp-q4wv-33fr
reference_id
reference_type
scores
0
value 4.6
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L
1
value 8.0
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
2
value MODERATE
scoring_system cvssv3.1_qr
scoring_elements
3
value 4.8
scoring_system cvssv4
scoring_elements CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N
4
value MODERATE
scoring_system generic_textual
scoring_elements
5
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2024-09-25T18:03:32Z/
url https://github.com/strawberry-graphql/strawberry/security/advisories/GHSA-79gp-q4wv-33fr
5
reference_url https://strawberry.rocks/docs/breaking-changes/0.243.0
reference_id
reference_type
scores
0
value 4.6
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L
1
value 8.0
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
2
value 4.8
scoring_system cvssv4
scoring_elements CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N
3
value MODERATE
scoring_system generic_textual
scoring_elements
4
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2024-09-25T18:03:32Z/
url https://strawberry.rocks/docs/breaking-changes/0.243.0
6
reference_url https://nvd.nist.gov/vuln/detail/CVE-2024-47082
reference_id CVE-2024-47082
reference_type
scores
0
value 4.6
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L
1
value 4.8
scoring_system cvssv4
scoring_elements CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N
2
value MODERATE
scoring_system generic_textual
scoring_elements
url https://nvd.nist.gov/vuln/detail/CVE-2024-47082
7
reference_url https://github.com/advisories/GHSA-79gp-q4wv-33fr
reference_id GHSA-79gp-q4wv-33fr
reference_type
scores
0
value MODERATE
scoring_system cvssv3.1_qr
scoring_elements
url https://github.com/advisories/GHSA-79gp-q4wv-33fr
fixed_packages
0
url pkg:pypi/strawberry-graphql@0.243.0
purl pkg:pypi/strawberry-graphql@0.243.0
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-tevu-phwc-vbc4
1
vulnerability VCID-udbu-vdaf-9uem
2
vulnerability VCID-vyty-brcb-m7b3
resource_url http://public2.vulnerablecode.io/packages/pkg:pypi/strawberry-graphql@0.243.0
aliases CVE-2024-47082, GHSA-79gp-q4wv-33fr, PYSEC-2024-171
risk_score 3.6
exploitability 0.5
weighted_severity 7.2
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-uek4-b39n-ruan
3
url VCID-vyty-brcb-m7b3
vulnerability_id VCID-vyty-brcb-m7b3
summary Strawberry GraphQL is a library for creating GraphQL APIs. Prior to 0.312.3, Strawberry GraphQL's WebSocket subscription handlers for both the graphql-transport-ws and legacy graphql-ws protocols allocate an asyncio.Task and associated Operation object for every incoming subscribe message without enforcing any limit on the number of active subscriptions per connection. An unauthenticated attacker can open a single WebSocket connection, send connection_init, and then flood subscribe messages with unique IDs. Each message unconditionally spawns a new asyncio.Task and async generator, causing linear memory growth and event loop saturation. This leads to server degradation or an OOM crash. This vulnerability is fixed in 0.312.3.
references
0
reference_url https://api.first.org/data/v1/epss?cve=CVE-2026-35526
reference_id
reference_type
scores
0
value 0.00069
scoring_system epss
scoring_elements 0.21459
published_at 2026-06-05T12:55:00Z
url https://api.first.org/data/v1/epss?cve=CVE-2026-35526
1
reference_url https://github.com/strawberry-graphql/strawberry
reference_id
reference_type
scores
0
value 7.5
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/strawberry-graphql/strawberry
2
reference_url https://github.com/strawberry-graphql/strawberry/commit/0977a4e6b41b7cfe3e9d8ba84a43458a2b0c54c2
reference_id
reference_type
scores
0
value 7.5
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/strawberry-graphql/strawberry/commit/0977a4e6b41b7cfe3e9d8ba84a43458a2b0c54c2
3
reference_url https://github.com/strawberry-graphql/strawberry/releases/tag/0.312.3
reference_id
reference_type
scores
0
value 7.5
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/strawberry-graphql/strawberry/releases/tag/0.312.3
4
reference_url https://github.com/strawberry-graphql/strawberry/security/advisories/GHSA-hv3w-m4g2-5x77
reference_id
reference_type
scores
0
value 7.5
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
2
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:N/A:Y/T:P/P:M/B:A/M:M/D:T/2026-04-08T14:55:45Z/
url https://github.com/strawberry-graphql/strawberry/security/advisories/GHSA-hv3w-m4g2-5x77
5
reference_url https://nvd.nist.gov/vuln/detail/CVE-2026-35526
reference_id
reference_type
scores
0
value 7.5
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://nvd.nist.gov/vuln/detail/CVE-2026-35526
6
reference_url https://github.com/advisories/GHSA-hv3w-m4g2-5x77
reference_id GHSA-hv3w-m4g2-5x77
reference_type
scores
url https://github.com/advisories/GHSA-hv3w-m4g2-5x77
fixed_packages
0
url pkg:pypi/strawberry-graphql@0.312.3
purl pkg:pypi/strawberry-graphql@0.312.3
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:pypi/strawberry-graphql@0.312.3
aliases CVE-2026-35526, GHSA-hv3w-m4g2-5x77, PYSEC-2026-134
risk_score 4.0
exploitability 0.5
weighted_severity 8.0
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-vyty-brcb-m7b3
Fixing_vulnerabilities
Risk_score4.0
Resource_urlhttp://public2.vulnerablecode.io/packages/pkg:pypi/strawberry-graphql@0.219.0