AI-assisted summary built from NVD and CISA data. Verify against the linked sources before acting.

Summary

The openIMIS report module’s /api/report/reportbro/preview endpoint evaluates printIf expressions server-side with an insufficient blocklist, allowing an unauthenticated attacker to execute OS commands as root. The same endpoint’s key parameter is also reported as exploitable (the description is truncated).

Impact: unauthenticated remote code execution as root

Affected technologies

  • openIMIS before 2026-10
  • openimis-be-report_py

Upgrade openIMIS to the 2026-10 release or later, and restrict or block access to the report preview endpoint until patched.

Details

   
CVSS 9.3 (Critical)
Vendor / product openIMIS
Published 2026-11-25
Weakness CWE-94
Vector CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Original 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

References

← Threat intelligence dashboard