Threat Feed

CVE-2026-82489: openIMIS · Remote code execution

Exploitation: None known · CVSS 9.8 Critical · Unauthenticated · Published 2026-11-25

Description

openIMIS before 2026-10 contains an unauthenticated remote code execution vulnerability in the report module (openimis-be-report_py) where the /api/report/reportbro/preview endpoint evaluates printIf expressions server-side using simpleeval with an insufficient name-prefix blocklist. An attacker can craft an expression that reaches sys.modules['os'] via datetime.sys to execute arbitrary operating-system commands as root, and can also exploit the same endpoint's key parameter for unauthenticated arbitrary file read, enabling full host compromise including exposure of database credentials and JWT signing keys.

Enclave's analysis

openIMIS's report module lets anyone hit /api/report/reportbro/preview with no login and feed it a printIf expression. A crafted expression walks from the allowed datetime module into sys.modules to run OS commands as root, and the same endpoint's key parameter lets you read arbitrary files, including DB credentials and JWT signing keys. The finder's advisory describes a working exploit chain but no public PoC or in-the-wild activity has surfaced yet. Patch to the 2026-10 release or take the endpoint off the internet now.

Fix

Upgrade openIMIS (openimis-be-report_py backend module) to 2026-10. No fixed version is listed for openIMIS; follow the vendor advisory.

Vendor advisory

Affected versions

ProductVulnerableFixed in
openIMIS0 before 2026-10Not listed
openIMIS (openimis-be-report_py backend module)< 2026-10 release2026-10

Seen in 2 sources