CVE-2023-54342 Eclipse Equinox OSGi 3.8-3.18 Console Remote Code Execution

Critical 9.3 Published Updated

Unauthenticated attackers can execute arbitrary code via the OSGi console fork command, requiring the console to be enabled.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2023-54342?

CVE-2023-54342 is a critical code injection vulnerability in Eclipse Equinox OSGi, published on 5 May 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Eclipse Equinox OSGi versions 3.8 through 3.18 contain a remote code execution vulnerability in the console interface that allows unauthenticated attackers to execute arbitrary code by exploiting the fork command functionality. Attackers can establish a telnet connection to the OSGi console, perform a telnet handshake, and send fork commands to download and execute malicious Java code, establishing a reverse shell connection.

Weakness: CWE-306

Which versions are affected by CVE-2023-54342?

How do I fix CVE-2023-54342?

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

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2023-54342 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-54342 exists.

Sources

Also known as GHSA-mcvc-q94v-x785, UBUNTU-CVE-2023-54342.

Is CVE-2023-54342 in your software?

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

Check your SBOMs for free