CVE-2023-34047 Exposure of data and identity to wrong session in Spring for GraphQL
Attackers can access sensitive session data and identity information from other sessions via batch loader functions in Spring for GraphQL.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2023-34047?
CVE-2023-34047 is a low-severity vulnerability in Spring for GraphQL, published on 20 Sep 2023. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
A batch loader function in Spring for GraphQL versions 1.1.0 - 1.1.5 and 1.2.0 - 1.2.2 may be exposed to GraphQL context with values, including security context values, from a different session. An application is vulnerable if it provides a DataLoaderOptions instance when registering batch loader functions through DefaultBatchLoaderRegistry.
Which versions are affected by CVE-2023-34047?
4 open source packages ship an affected version, including org.springframework.graphql:spring-graphql. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.springframework.graphql:spring-graphql Maven | From 1.1.0 | 1.1.6 |
org.springframework.graphql:spring-graphql Maven | From 1.1.0 | 1.1.6 |
org.springframework.graphql:spring-graphql Maven | From 1.2.0 | 1.2.3 |
org.springframework.graphql:spring-graphql Maven | From 1.2.0 | 1.2.3 |
Products include Vmware Spring for Graphql.
How do I fix CVE-2023-34047?
Upgrade org.springframework.graphql:spring-graphql to a fixed version for your release line: 1.1.6 or 1.2.3.
Is CVE-2023-34047 being exploited?
There is no known exploitation of CVE-2023-34047 in the wild and no public exploit code.
Other vulnerabilities in Spring for GraphQL
- CVE-2026-59285 Spring for GraphQL Unsafe Deserialization in pagination support
- CVE-2026-59286 Spring for GraphQL loads Untrusted Resources in GraphiQL support
- CVE-2026-41699 Unsafe Deserialization in Spring GraphQL
- CVE-2026-41700 Cross-Site WebSocket Hijacking in Spring for GraphQL
- CVE-2026-59288 Spring for GraphQL Information Exposure in GraphiQL support
Sources
Also known as GHSA-frqc-f2h8-fjvf.