On this page (7 sections)
A critical vulnerability, tracked as CVE-2026-82489, affects openIMIS releases before 2026-10. According to the GitHub Advisory Database entry, the report module exposes an endpoint that evaluates expressions on the server, and an unauthenticated attacker can use it to run operating-system commands as root and to read arbitrary files.
If you host or administer an openIMIS deployment, especially one reachable from the internet, treat this as an urgent upgrade. The advisory describes full host compromise, including exposure of database credentials and JWT signing keys.
What happened
The advisory was published on November 25, 2026 and describes an unauthenticated remote code execution flaw in the openIMIS report module. The vulnerable path is the /api/report/reportbro/preview endpoint, which evaluates printIf expressions on the server using the simpleeval library. The advisory says the protection around that evaluation, a blocklist based on name prefixes, is insufficient.
The same endpoint also has a second problem: its key parameter can be abused for arbitrary file read, again without authentication. Together, the two issues let a remote attacker both execute commands and pull secrets off the host.
Technical details in plain terms
Report designers often let a template decide whether a block should print by evaluating a small expression, such as a condition on a field. To do this safely, the evaluator must be limited to a tiny set of harmless operations. Libraries like simpleeval try to do that, but they depend on the application restricting what the expression can reach.
Here, the advisory says the restriction was a blocklist of name prefixes. Blocklists are fragile: if any path to a dangerous object remains reachable through an allowed name, the sandbox is effectively gone. The advisory states that an expression can reach the Python os module through the datetime module's reference to sys, which leads to operating-system command execution. That is the textbook shape of CWE-94, where untrusted input is treated as code.
Two details raise the risk. The process runs as root according to the advisory, so command execution means full control of the host. And no login is needed, so the attack surface is simply whoever can reach the API.
- CVSS score (CVSS v4, GitHub Advisory Database)
- 9.3
- Privileges and user interaction required
- None
- Attack vector, low complexity
- Network
Who is affected
Any openIMIS installation older than release 2026-10 that includes the report module (openimis-be-report_py) is in scope according to the advisory. The CVSS vector shows network attack, low complexity, no privileges and no user interaction, so exposure depends mainly on whether the backend API can be reached by an attacker.
- Deployments with the API published directly on the internet are the most exposed.
- Deployments behind a VPN or an internal network are still at risk from any compromised or malicious internal host.
- Instances where the backend runs as root, as the advisory describes, face the worst impact.
- Hosts that share database credentials or signing keys with other systems risk wider compromise if those secrets leak.
The advisory does not say which exact earlier releases are vulnerable beyond "before 2026-10", and the GitHub entry lists affected and patched versions as unknown. Confirm your version against the openIMIS release notes rather than assuming.
How to check your exposure
Start by identifying the release you run and whether the report module is installed. Your deployment records, container image tags or the version shown by your admin tooling are the right sources; the research does not give an openIMIS-specific version command, so use your own deployment method.
Next, look for requests to the vulnerable path in your reverse proxy or web server logs. This read-only search lists any request that mentions the endpoint, which you can then review for unfamiliar source addresses. Adjust the log path to your setup (the path below is a common nginx default on Debian/Ubuntu):
grep -i "/api/report/reportbro/preview" /var/log/nginx/access.log*Legitimate use of this endpoint should come from known report designers and logged-in staff. Requests from unknown addresses, unusually long query or body sizes, or a burst of requests are worth investigating. Note that the log may not show request bodies, so a clean result does not prove the host was not attacked.
What to do now
- Upgrade openIMIS to release 2026-10 or later, following the official Release 2026-10 notes.
- Until you can upgrade, restrict network access to the backend API so only trusted users and systems can reach it, and block the /api/report/reportbro/preview path at your reverse proxy or firewall if report previews are not needed.
- Check access logs for requests to the preview endpoint and review them for unknown sources.
- Look at the host for signs of compromise: unexpected processes, new users, new scheduled tasks, outbound connections you do not recognize.
- If you suspect exposure, rotate the database credentials and the JWT signing keys, since the advisory says both can be exposed. Rotating the signing keys invalidates existing sessions.
- Run the application as a non-root user in future and limit its file system access, so a similar flaw has less impact.
- Keep a record of the version and the date you patched, and re-check your logs after the upgrade.
Detection and monitoring afterwards
After patching, keep watching the places an attacker would leave traces. Alert on new or unusual requests to /api/report/ paths, on the application process spawning shells or other unexpected child processes, and on unexpected outbound traffic from the server. Review authentication logs for token use that does not match known users, since leaked signing keys allow forged tokens until they are rotated.
From the outside, you can also verify what your server presents to the internet. A security scan of a site you verify shows exposed services, and certificate, DNS and header-change monitoring can flag unexpected changes. These do not detect this flaw specifically and cannot replace patching or host-level checks. For general guidance on response, see website hacked: what to do.
What is still unknown
- Whether the flaw has been exploited in the wild: the research does not say, and it does not list CISA KEV status.
- The precise list of vulnerable earlier releases: the GitHub entry shows affected and patched versions as unknown, and the description only says "before 2026-10".
- Any additional detail in the VulnCheck advisory, which is referenced but was not available in the research text.
Treat the absence of reported exploitation as unconfirmed rather than reassuring. For unauthenticated, network-reachable code execution with no required privileges, the safe assumption is that scanning for it will follow publication of the advisory.
Sources
This article is based on the public sources below. Details can change as vendors and researchers publish more; check the original advisories before acting on version numbers.
