# CVE-2025-30749: Code injection in Oracle GraalVM Enterprise Edition

> Unauthenticated attackers can execute arbitrary code and take over systems running sandboxed Java applications via a vulnerability in the 2D component.

- **Severity:** High 8.1 (`CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 15 Jul 2025
- **Updated:** 26 Feb 2026
- **Also known as:** BELL-CVE-2025-30749, BIT-java-2025-30749, BIT-java-min-2025-30749, BIT-jre-2025-30749, CLEANSTART-2026-KV92980, DEBIAN-CVE-2025-30749, GHSA-3v8g-f9px-h942, MINI-2x5v-w6m4-x2xx, MINI-35c4-cqhm-m3vm, MINI-3f9r-2pm6-qcxq, MINI-3q58-c7cc-5xcx, MINI-3r54-gg54-hhjr, MINI-7fvx-fqpm-c5w2, MINI-7j5g-8m3r-mh4h, MINI-93cf-9xhp-2ppp, MINI-9x2v-xff8-rh8r, MINI-jqm8-chxf-gjpr, MINI-m59j-pq3v-p8xx, MINI-mq2p-22f9-xpvg, MINI-ph8j-5wpg-f7g7, MINI-pqjf-698m-5vcw, MINI-q8gg-7x33-4684, MINI-wfpf-fxcw-r4g9, MINI-x8m4-q7j4-prjq, UBUNTU-CVE-2025-30749

## What is CVE-2025-30749?

CVE-2025-30749 is a high-severity code injection vulnerability in Oracle Graalvm, published on 15 Jul 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

### Official description

Vulnerability in the Oracle Java SE, Oracle GraalVM for JDK, Oracle GraalVM Enterprise Edition product of Oracle Java SE (component: 2D).  Supported versions that are affected are Oracle Java SE: 8u451, 8u451-perf, 11.0.27, 17.0.15, 21.0.7, 24.0.1; Oracle GraalVM for JDK: 17.0.15, 21.0.7 and  24.0.1; Oracle GraalVM Enterprise Edition: 21.3.14. Difficult to exploit vulnerability allows unauthenticated attacker with network access via multiple protocols to compromise Oracle Java SE, Oracle GraalVM for JDK, Oracle GraalVM Enterprise Edition.  Successful attacks of this vulnerability can result in takeover of Oracle Java SE, Oracle GraalVM for JDK, Oracle GraalVM Enterprise Edition. Note: This vulnerability applies to Java deployments, typically in clients running sandboxed Java Web Start applications or sandboxed Java applets, that load and run untrusted code (e.g., code that comes from the internet) and rely on the Java sandbox for security. This vulnerability does not apply to Java deployments, typically in servers, that load and run only trusted code (e.g., code installed by an administrator). CVSS 3.1 Base Score 8.1 (Confidentiality, Integrity and Availability impacts).  CVSS Vector: (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H).

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

3 open source packages ship an affected version, including java, java-min and jre. It affects 4 products.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `java` | Bitnami | All versions | 1.8.0, 8.0.461, 11.0.28, 17.0.16, 21.0.8, 24.0.2 |
| `java-min` | Bitnami | All versions | 1.8.0, 8.0.461, 11.0.28, 17.0.16, 21.0.8, 24.0.2 |
| `jre` | Bitnami | All versions | 1.8.0, 8.0.461, 11.0.28, 17.0.16, 21.0.8, 24.0.2 |

Products: Oracle Graalvm, Oracle Graalvm for Jdk, Oracle Jdk, Oracle Jre.

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

Upgrade java to a fixed version for your release line: 1.8.0, 8.0.461, 11.0.28 or 17.0.16.

## Is CVE-2025-30749 being exploited?

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

Public exploit code:

- I have created AegisJava, a tool to fix (detect and mitigate) CVE-2025-30749. (github_poc): https://github.com/rashedhasan090/AegisJava

## Other vulnerabilities in Oracle Graalvm

- [CVE-2025-50059](https://insights.sbomify.com/CVE-2025-50059/): Security feature bypass in Oracle GraalVM Enterprise Edition (high 8.6)
- [CVE-2021-32803](https://insights.sbomify.com/CVE-2021-32803/): Arbitrary File Creation/Overwrite via insufficient symlink protection due to directory cache poisoning (high 8.2)
- [CVE-2021-32804](https://insights.sbomify.com/CVE-2021-32804/): Arbitrary File Creation/Overwrite due to insufficient absolute path sanitization (high 8.2)
- [CVE-2025-50106](https://insights.sbomify.com/CVE-2025-50106/): Code injection in Oracle GraalVM Enterprise Edition (high 8.1)
- [CVE-2026-62574](https://insights.sbomify.com/CVE-2026-62574/): Privilege escalation in Oracle GraalVM Enterprise Edition (high 7.8)

## Fix prompt for AI coding agents

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

What it is: CVE-2025-30749 is a high-severity code injection vulnerability in Oracle Graalvm, published on 15 Jul 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2025-30749 in the wild and no public exploit code.

Affected packages and fixed versions:
- java (Bitnami): affected all versions; fixed in 1.8.0, 8.0.461, 11.0.28, 17.0.16, 21.0.8, 24.0.2
- java-min (Bitnami): affected all versions; fixed in 1.8.0, 8.0.461, 11.0.28, 17.0.16, 21.0.8, 24.0.2
- jre (Bitnami): affected all versions; fixed in 1.8.0, 8.0.461, 11.0.28, 17.0.16, 21.0.8, 24.0.2

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-30749/ (Markdown: https://insights.sbomify.com/CVE-2025-30749/index.md)
```

## Sources

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

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