CVE-2018-18893

MEDIUM

Jinjava < 2.4.6 - Remote Code Execution via getClass Method

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2018-18893. PoCs published by LycsHub.

AI-analyzed exploit summary This PoC exploits CVE-2018-18893, a remote code execution vulnerability in Jinjava, by leveraging expression language injection to execute arbitrary commands. The provided Java code demonstrates the execution of '/usr/bin/gnome-calculator' via reflection.

Description

Jinjava before 2.4.6 does not block the getClass method, related to com/hubspot/jinjava/el/ext/JinjavaBeanELResolver.java.

Exploits (1)

nomisec WORKING POC
by LycsHub · poc
https://github.com/LycsHub/CVE-2018-18893

This PoC exploits CVE-2018-18893, a remote code execution vulnerability in Jinjava, by leveraging expression language injection to execute arbitrary commands. The provided Java code demonstrates the execution of '/usr/bin/gnome-calculator' via reflection.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Trivial
Reliability
Reliable
Target: Jinjava (versions prior to 2.4.6)
No auth needed
Prerequisites: Access to a vulnerable Jinjava instance · Ability to inject malicious EL expressions
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (2)

Core 2
Core References
Patch, Third Party Advisory x_refsource_misc
https://github.com/HubSpot/jinjava/pull/230

Scores

CVSS v3 5.3
EPSS 0.0045
EPSS Percentile 64.3%
Attack Vector NETWORK
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Details

Status published
Products (2)
com.hubspot.jinjava/jinjava 0 - 2.4.6Maven
hubspot/jinjava < 2.4.6
Published Jan 03, 2019
Tracked Since Feb 18, 2026