CVE-2025-8341 SSRF in Infinity Datasource Plugin

Medium 5.0 Published Updated

An attacker can bypass URL restrictions in the Grafana Infinity plugin to perform Server-Side Request Forgery attacks.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2025-8341?

CVE-2025-8341 is a medium-severity server-side request forgery vulnerability in grafana-infinity-datasource, published on 4 Aug 2025. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Grafana is an open-source platform for monitoring and observability. The Infinity datasource plugin, maintained by Grafana Labs, allows visualizing data from JSON, CSV, XML, GraphQL, and HTML endpoints.

If the plugin was configured to allow only certain URLs, an attacker could bypass this restriction using a specially crafted URL. This vulnerability is fixed in version 3.4.1.

Weakness: CWE-918

Which versions are affected by CVE-2025-8341?

3 open source packages ship an affected version, including github.com/grafana/grafana-infinity-datasource.

PackageAffectedFixed in
github.com/grafana/grafana-infinity-datasource GoAll versions1.4.2-0.20250731100004-9c736aa21b3a
github.com/grafana/grafana-infinity-datasource GoAll versions1.4.2-0.20250731100004-9c736aa21b3a
github.com/grafana/grafana-infinity-datasource GoAll versions1.4.2-0.20250731100004-9c736aa21b3a

How do I fix CVE-2025-8341?

Upgrade github.com/grafana/grafana-infinity-datasource to 1.4.2-0.20250731100004-9c736aa21b3a or later.

Upgrade, and send outbound requests through an allow-list that blocks internal addresses. More about Server-side request forgery.

Is CVE-2025-8341 being exploited?

There is no known exploitation of CVE-2025-8341 in the wild and no public exploit code.

Sources

Also known as GHSA-3c93-92r7-j934, GO-2025-3843.

Is CVE-2025-8341 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free