Incident response on call, 24/7: +385 98 1900 984NewIR Retainer: a team on contract before an attack
HR · EN
Critical 9.8CVE-2026-82489

openIMIS – unauthenticated remote code execution in report module (reportbro/preview)

Published 25/11/2026 · Updated 30/11/2026 · openIMIS

Summary

openIMIS before release 2026-10 contains a critical code injection vulnerability (CWE-94) in the report module (openimis-be-report_py). 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 and execute arbitrary operating-system commands as root.

The same endpoint's key parameter also allows unauthenticated arbitrary file read. The result is full host compromise, including exposure of database credentials and JWT signing keys.

CVSS 9.8 (AV:N/AC:L/PR:N/UI:N): exploitable over the network, low complexity, no authentication and no user interaction required, with high impact on confidentiality, integrity and availability. The vulnerability is not currently listed in CISA KEV. EPSS is about 1.1% (65th percentile).

Who is affected

Organizations running openIMIS (health insurance management systems) versions earlier than 2026-10, especially where the backend API is reachable from the network or internet.

What to do

  1. Upgrade openIMIS to release 2026-10 or later per the official release notes (Release 2026-10 on the openIMIS wiki).
  2. Until upgraded, restrict network access to /api/report/reportbro/preview and the backend API to trusted networks only (e.g. reverse proxy or firewall rules).
  3. Check exposure: identify the openIMIS and openimis-be-report_py versions, whether the API is internet-facing, and review access logs for requests to reportbro/preview.
  4. If the system was exposed, assume compromise: rotate database credentials and JWT signing keys and inspect the host for signs of unauthorized access.

Affected products and versions

openIMIS openIMIS< 2026-10Fixed in: 2026-10

CVSS vector, explained

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Attack vector
Network (from the internet)
Attack complexity
Low
Privileges required
None (no login)
User interaction
Not required
Scope
Vulnerable component only
Confidentiality
High impact
Integrity
High impact
Availability
High impact

Weakness type (CWE)

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

References

Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.