openIMIS releases before 2026-10 contain a critical flaw in the report module that lets an unauthenticated remote attacker run operating-system commands as root and read arbitrary files.
What Is It
CVE-2026-82489 is a code injection vulnerability (CWE-94) in the openIMIS report module (openimis-be-report_py). The /api/report/reportbro/preview endpoint evaluates printIf expressions on the server using simpleeval. The library is guarded only by a name-prefix blocklist that is not strict enough.
According to the NVD description, an attacker can write an expression that reaches sys.modules['os'] through datetime.sys and runs arbitrary operating-system commands as root. The same endpoint's key parameter can also be abused to read arbitrary files without authentication.
VulnCheck disclosed the issue. NVD published the record on 2026-11-25, and its current status is "Deferred."
Why It Matters
The flaw is rated CVSS 3.1 9.8 (Critical) with vector AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. The CVSS 4.0 score is 9.3 (Critical). The attacker needs network access only: no authentication, no user interaction and no special conditions.
Commands run as root, so a successful attack can compromise the whole host. The NVD description says this includes exposure of database credentials and JWT signing keys. Stolen signing keys could let an attacker forge authentication tokens for the application, and leaked database credentials expose the data openIMIS stores.
The supplied CISA KEV data contains no entry for this CVE. The sources provided do not confirm active exploitation.
What's Vulnerable
- Vendor/Product: openIMIS
- Component: report module (
openimis-be-report_py), endpoint/api/report/reportbro/preview - Affected versions: all versions before release 2026-10
- Repository:
pkg:github/openimis/openimis-be_py
NVD lists no CPE entries for this record.
Patch Status
The affected-version data marks versions before 2026-10 as vulnerable, so release 2026-10 is the first unaffected version. The openIMIS Release 2026-10 notes are cited as a reference. Administrators should upgrade to release 2026-10 or later.
Because the bug allows file reads and root-level command execution, anyone who ran an exposed vulnerable instance should consider rotating database credentials and JWT signing keys. There is no KEV entry, so no CISA-mandated required action or due date applies.