CVE-2018-8097

CRITICAL

Eve < 0.7.5 - Remote Code Execution via MongoDB Where Parameter

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 2 public exploits for CVE-2018-8097. PoCs published by SilentVoid13, StellarDriftLabs.

AI-analyzed exploit summary This is a Python-based Proof of Concept for CVE-2018-8097, which exploits a command injection vulnerability in PyEve versions < 0.7.5 via the 'where' filter parameter. The script constructs a malicious payload using Python's __import__ function to execute arbitrary system commands.

Description

io/mongo/parser.py in Eve (aka pyeve) before 0.7.5 allows remote attackers to execute arbitrary code via Code Injection in the where parameter.

Exploits (2)

nomisec WORKING POC 1 stars
by SilentVoid13 · poc
https://github.com/SilentVoid13/CVE-2018-8097

This is a Python-based Proof of Concept for CVE-2018-8097, which exploits a command injection vulnerability in PyEve versions < 0.7.5 via the 'where' filter parameter. The script constructs a malicious payload using Python's __import__ function to execute arbitrary system commands.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Trivial
Reliability
Reliable
Target: PyEve < 0.7.5
No auth needed
Prerequisites: Target application using PyEve < 0.7.5 with exposed endpoint supporting 'where' filter
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC
by StellarDriftLabs · poc
https://github.com/StellarDriftLabs/CVE-2018-8097-PoC

This is a functional Python-based PoC for CVE-2018-8097, exploiting a Python code injection vulnerability in Eve (a REST API framework) to perform blind file exfiltration via time-based side-channel attacks. It uses MongoDB ObjectId injection and a delay-based technique to extract file contents character by character.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Eve (REST API framework) with MongoDB backend
No auth needed
Prerequisites: Vulnerable Eve instance with exposed endpoint · Valid MongoDB ObjectId · Network access to the target
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (2)

Core 2
Core References
Third Party Advisory x_refsource_misc
https://github.com/pyeve/eve/issues/1101

Scores

CVSS v3 9.8
EPSS 0.1911
EPSS Percentile 95.5%
Attack Vector NETWORK
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-94
Status published
Products (2)
pypi/eve 0 - 0.7.5PyPI
python-eve/eve < 0.7.5
Published Mar 14, 2018
Tracked Since Feb 18, 2026