CVE-2025-8341
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedGrafana 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.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · moderate confidenceThe Grafana Infinity datasource plugin versions before 3.4.1 contain a URL allowlist bypass vulnerability. When configured to restrict requests to specific URLs, an attacker can use a specially crafted URL to bypass this restriction and cause the plugin to query unauthorized endpoints.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- Low
- User interaction
- None
- Scope
- Changed
- Confidentiality
- Low
- Integrity
- None
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Identify if Grafana Infinity datasource plugin is installedAccess Grafana via UI: Navigate to Configuration > Plugins, or use the Grafana CLI: grafana-cli plugins ls. Look for 'Infinity datasource' in the plugin list.Affected if The Infinity datasource plugin appears in the installed plugins list.
-
Determine the installed version of the Infinity datasource pluginIn Grafana UI: Go to Configuration > Plugins, find Infinity datasource, and note the version displayed. If using CLI: grafana-cli plugins version-override <plugin-id> or check the plugin's manifest file in the Grafana plugins directory.Affected if The version shown is any version prior to 3.4.1 (for example: 3.4.0, 3.3.0, 3.2.1, etc.).
-
Verify whether URL allowlist restrictions are configuredIn Grafana UI: Navigate to Configuration > Data Sources, select the Infinity datasource, and inspect the settings for any URL restriction, allowlist, or approved URLs configuration. Look for fields such as 'Allowed URLs', 'URL Restrictions', or 'Approved Endpoints'.Affected if URL allowlist or URL restriction settings are defined, indicating the plugin is configured to limit outbound requests.
-
Confirm the bypass condition appliesThis vulnerability is present when BOTH conditions are true: (1) the Infinity plugin version is before 3.4.1, AND (2) URL allowlist restrictions are enabled. There is no specific command to test the bypass without potential security risk; the mere presence of both conditions indicates potential exposure.Affected if The plugin version is below 3.4.1 AND URL allowlist restrictions are actively configured in the datasource settings.
A user is affected if the Grafana Infinity datasource plugin version is 3.4.0 or earlier AND the URL allowlist restriction feature is enabled in the datasource configuration.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedUpgrade the Infinity datasource plugin to version 3.4.1 or later. After upgrading, verify that URL restrictions function correctly and test with crafted URLs to confirm the bypass is no longer possible.
Infinity datasource plugin version 3.4.1
- 1. Identify all Grafana instances running the Infinity datasource plugin.
- 2. Check the current version of the Infinity datasource plugin installed on each Grafana instance.
- 3. If the installed version is earlier than 3.4.1, upgrade the plugin to version 3.4.1 or later.
- 4. In Grafana, this can typically be done through the UI: Configuration > Plugins > Infinity > Update, or via the Grafana CLI: grafana-cli plugins update infinity.
- 5. After upgrading, verify the plugin version is 3.4.1 or higher.
- 6. Test that URL allowlist restrictions work correctly with the updated plugin version.
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation2.0 h
- Implementation1.0 h
- Testing2.0 h
- Review / QA1.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $1,696.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2025-8341 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2025-8341 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data