# CVE-2025-2298: Authenticated API Endpoint Allows Arbitrary File Deletion in Dremio Software

> Authenticated users can delete arbitrary files via an API endpoint, causing data loss and denial of service in Dremio Software.

- **Severity:** High 8.4 (`CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:L/SA:H`)
- **Exploited in the wild:** Not known
- **Login needed:** Any signed-in user
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** No
- **Published:** 21 Apr 2025
- **Updated:** 21 Apr 2025
- **Also known as:** GHSA-7rh8-vj62-qfcg

## What is CVE-2025-2298?

CVE-2025-2298 is a high-severity missing authorization vulnerability in Dremio Software, published on 21 Apr 2025. Any signed-in user can exploit it over the network, with no action from the victim.

### Official description

An improper authorization vulnerability in Dremio Software allows authenticated users to delete arbitrary files that the system has access to, including system files and files stored in remote locations such as S3, Azure Blob Storage, and local filesystems. This vulnerability exists due to insufficient access controls on an API endpoint, enabling any authenticated user to specify and delete files outside their intended scope. Exploiting this flaw could lead to data loss, denial of service (DoS), and potential escalation of impact depending on the deleted files.

Affected versions:
  *  Any version of Dremio below 24.0.0

  *  Dremio 24.3.0 - 24.3.16

  *  Dremio 25.0.0 - 25.0.14

  *  Dremio 25.1.0 - 25.1.7

  *  Dremio 25.2.0 - 25.2.4

Fixed in version: 
  *  Dremio 24.3.17 and above

  *  Dremio 25.0.15 and above

  *  Dremio 25.1.8 and above

  *  Dremio 25.2.5 and above

  *  Dremio 26.0.0 and above

Weakness: CWE-862 (Missing Authorization)

## Which versions are affected by CVE-2025-2298?


## How do I fix CVE-2025-2298?

No fix has been published for CVE-2025-2298 yet. Limit exposure of the affected software until one is available.

## Is CVE-2025-2298 being exploited?

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

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2025-2298 and fix it if it is affected.

What it is: CVE-2025-2298 is a high-severity missing authorization vulnerability in Dremio Software, published on 21 Apr 2025. Any signed-in user can exploit it over the network, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2025-2298 in the wild and no public exploit code.

Affected product: Dremio Software. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2025-2298/ (Markdown: https://insights.sbomify.com/CVE-2025-2298/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2025-2298
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2025-2298
- OSV: https://osv.dev/vulnerability/CVE-2025-2298

---
From sbomify Insights: https://insights.sbomify.com/CVE-2025-2298/
Summaries are generated and may contain mistakes; the official description above is the record.
