CVE-2024-20926Public exploitNetwork attack vector

Arbitrary code execution via nested script engine

Published Jan 16, 2024 · Updated Nov 3, 2025

Sandbox escape in Oracle Java SE 8u391, 8u391-perf, and 11.0.21 allows attackers to execute Java code through untrusted Nashorn scripts. The --no-java option still permits a script to obtain another unrestricted Nashorn engine and evaluate Java.type to reach Java runtime APIs. Exploitation requires an application or sandboxed client to evaluate untrusted script; the public demonstration uses Runtime.exec to launch a host command.

CVSS severity5.9
Medium
EPSS probability1.03%
Next 30 days · Sep 16, 2026
Known exploitationUnconfirmed
Based on sourced intelligence
Hinoki checkNot available
Coverage for this vulnerability

See if you're affected

Explore vulnerability checks for your environment with Hinoki.

Book a demo

Summary

What happened

Sandbox escape in Oracle Java SE 8u391, 8u391-perf, and 11.0.21 allows attackers to execute Java code through untrusted Nashorn scripts. The --no-java option still permits a script to obtain another unrestricted Nashorn engine and evaluate Java.type to reach Java runtime APIs. Exploitation requires an application or sandboxed client to evaluate untrusted script; the public demonstration uses Runtime.exec to launch a host command.

The record

CVE
CVE-2024-20926
Published
Jan 16, 2024
Updated
Nov 3, 2025
Vendor
Oracle Corporation
Product
Java Platform, Standard Edition (Java SE)
Classifications
CWE-502, CWE-284, CWE-693, T1059.007
Attack vector
network
Privileges
unauthenticated

Timeline

How it unfolded

  1. Jan 16, 2024CVE publishedPublication date reported by the CVE source.
  2. Nov 3, 2025Record updatedLatest update available in the CVE record.

Exploitability

Present is not the same as exploitable

Compare your product and version with the public record. A matching version still requires validation against your environment.

Is a vulnerable build present?

Compare these published version ranges with your installed build and any vendor patches.

  1. Affected versionversion=Oracle GraalVM Enterprise Edition:20.3.12
  2. Affected versionversion=Oracle GraalVM Enterprise Edition:21.3.8
  3. Affected versionversion=Oracle GraalVM Enterprise Edition:22.3.4
  4. Affected versionversion=Oracle GraalVM for JDK:17.0.9
  5. Affected versionversion=Oracle Java SE:11.0.21
  6. Affected versionversion=Oracle Java SE:8u391
  7. Affected versionversion=Oracle Java SE:8u391-perf

What conditions does exploitation require?

Attack vectornetwork
Required privilegesunauthenticated

What is affected?

Oracle Corporation · Java Platform, Standard Edition (Java SE)version=Oracle GraalVM Enterprise Edition:20.3.12; version=Oracle GraalVM Enterprise Edition:21.3.8; version=Oracle GraalVM Enterprise Edition:22.3.4; version=Oracle GraalVM for JDK:17.0.9; version=Oracle Java SE:11.0.21; version=Oracle Java SE:8u391; version=Oracle Java SE:8u391-perf

Published CVSS scores

5.9Oracle CorporationCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

CVSS describes severity. EPSS estimates exploitation probability.

Attacks

What attackers are doing with it

Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.

Daily unique IPsNo honeypot observations are available for this CVE in the selected window.

No observations available

Sep 10, 2026Sep 16, 2026
Latest reporting daySep 16, 2026
Latest daily unique IPsUnavailable
Prior 30-day averageUnavailable
SourceShadowserver honeypots (KEV)
Vectornetwork
Privilegesunauthenticated
Known exploitationUnconfirmed
Public exploitPublished

Weakness, pattern, technique

CWE-502Deserialization of Untrusted Data
CWE-284Improper Access Control
CWE-693Protection Mechanism Failure
T1059.007Command and Scripting Interpreter JavaScript/JScript

Public exploit references

Labels summarize the accepted research assessment. They do not indicate a test against your environment.

Technologies

Your stack

See the directory against your own environment.

Your stack

Check the software in your environment

Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.

Book a demo