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
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.
| Product | Versions |
|---|---|
| openIMIS openIMIS | before 2026-10 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 9.3 Critical | VulnCheck | |
| 3.1 | 9.8 Critical | VulnCheck |
Weaknesses
- CWE-94 Improper Control of Generation of Code ('Code Injection')
References
- Release NotesRelease NotesPatch
- VulnCheck Advisory: openIMIS < 2026-10 Report Module Unauthenticated RCE via reportbro/previewThird-Party Advisory
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.