CVE-2026-82489: openIMIS < 2026-10 Report Module Unauthenticated RCE via reportbro/preview
openIMIS before 2026-10 contains an unauthenticated remote code execution vulnerability in the report module (openimis-be-reportpy) 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.
Affected Software
Event History
Frequently Asked Questions
Which deployments are exposed?
Deployments running the openIMIS Report Module before release 2026-10 are exposed if the report module's /api/report/reportbro/preview endpoint is reachable by an attacker. The endpoint does not require authentication.
What access or interaction does exploitation require?
An attacker needs only network access to the vulnerable preview endpoint. No credentials, privileges, or user interaction are required.
What could an attacker obtain or control?
An attacker can execute operating-system commands as root and read arbitrary files through the same endpoint. This can expose database credentials and JWT signing keys and enable full host compromise.
What is the available remediation?
Upgrade the openIMIS Report Module to release 2026-10 or later. The affected versions are those before 2026-10.