CVE-2026-59356: Spring for GraphQL Federation Controller Exception Message Disclosure
Spring GraphQL's Apollo Federation support has default exception handling that includes the full message of any exception that the application does not handle through an @EntityMapping method or through a global GraphQlExceptionHandler method.
Affected Software
Event History
Frequently Asked Questions
Which applications are exposed to this disclosure?
Applications using Spring GraphQL Apollo Federation support are exposed when an exception is not handled by an @EntityMapping method or a global GraphQlExceptionHandler method. The default exception handling can then include the exception's full message.
What does an attacker need to exploit this issue?
The CVSS vector indicates network access, low privileges, no user interaction, and high attack complexity. Exploitation requires triggering an applicable unhandled exception through the application's GraphQL Federation functionality.
What can be done if patching is not immediately possible?
Handle exceptions through @EntityMapping methods or a global GraphQlExceptionHandler method so that full exception messages are not returned by the default Federation exception handling.