Spring Cloud Gateway SSRF and native file access with gRPC

HIGH | AUGUST 20, 2026 | CVE-2026-47879

Description

Spring Cloud Gateway JsonToGrpcGatewayFilterFactory allows arbitrary Spring Resource locations for defining the proto descriptor.

Affected Spring Products and Versions

Spring Cloud Gateway:

  • 5.0.0 - 5.0.2
  • 4.3.0 - 4.3.5
  • 4.0.0 - 4.2.9
  • 3.1.13 and earlier

Mitigation

Users of affected versions should upgrade to the corresponding fixed version.
Fix versionAvailability
5.0.3OSS
4.3.6Enterprise Support Only
4.2.10Enterprise Support Only
3.1.14Enterprise Support Only

If using file based resources, set spring.cloud.gateway.server.webflux.json-to-grpc.valid-proto-descriptor-prefixes for 5.0.x/4.3.x or spring.cloud.gateway.json-to-grpc.valid-proto-descriptor-prefixes for 4.2.x/3.1.x. This property is a list of valid resources for reading proto descriptors.

Credit

The issue was reported responsibly by @thesecguy45.

History

  • 2026-08-20: Initial vulnerability report published.

Get ahead

VMware offers training and certification to turbo-charge your progress.

Learn more

Get support

Tanzu Spring offers support and binaries for OpenJDK™, Spring, and Apache Tomcat® in one simple subscription.

Learn more

Upcoming events

Check out all the upcoming events in the Spring community.

View all