openIMIS < 2026-10 Report Module Unauthenticated RCE via reportbro/preview

State
Published
Severity
9.3 Critical
Published
Nov 25, 2026
Updated
Nov 30, 2026
Reserved
Aug 29, 2026

Read the record on cve.org

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.

ProductVersions
openIMIS openIMISbefore 2026-10 Affected

Weaknesses

  • CWE-94 Improper Control of Generation of Code ('Code Injection')

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.