CVE-2026-54640

OpenRemote: XXE in KNXProtocol.startAssetImport() allows arbitrary file read via unprotected XMLInputFactory

Published Oct 13, 2026 CVSS 3.1 · 7.6 High EPSS < 1% KEV · Not listed
Description
OpenRemote is an open-source internet-of-things platform. Prior to 1.24.2, the KNXProtocol.startAssetImport method in agent/src/main/java/org/openremote/agent/protocol/knx/KNXProtocol.java processes 0.xml from an authenticated user's uploaded ETS project ZIP with Saxon TransformerFactoryImpl and XMLInputFactory parsers that permit external entity resolution. This incomplete remediation of CVE-2026-40882 leaves the KNX handler unprotected while the parallel Velbus handler is hardened, allowing a regular realm user to read files accessible to the JVM process or cause server-side requests. This issue is fixed in version 1.24.2.

Analysis

AI-generated

Technical impact

OpenRemote’s KNXProtocol.startAssetImport method processes uploaded ETS project ZIP files using XML parsers that permit external entity resolution. An authenticated user can supply a crafted XML payload that references any local file or URL. Because the XMLInputFactory does not disable external entities, the application retrieves the referenced content, enabling the attacker to read arbitrary files on the server or initiate outbound HTTP requests. This can expose sensitive configuration files, credentials, or other secrets, and may lead to further exploitation of the host environment. The vulnerability is an incomplete remediation of a prior issue but remains unprotected in the KNX handler while the Velbus handler was hardened.

Affected Systems

The vulnerability affects OpenRemote deployments using the openremote-manager and openremote packages, specifically any version prior to 1.24.2. Versions 1.24.2 and newer contain the fix. All instances that allow authenticated users to import ETS project ZIP files via KNXProtocol.startAssetImport are impacted.

Risk and Exploitability

The CVSS score of 7.6 indicates a high severity, and while no EPSS data is currently available, the exploit requires authenticated access, which is common in many IoT environments. The vulnerability is not listed in CISA’s KEV catalog, suggesting no known public exploit yet, but the attack path—an authenticated user uploading crafted content—can be executed from the client side. The resulting arbitrary file read may compromise confidentiality and provide a foothold for further attacks on the host system if the server is inadequately protected.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade OpenRemote to version 1.24.2 or later to apply the official fix.
  • After patching, explicitly configure XMLInputFactory (and any other XML parsers) to disallow external entities, for example by setting factory.setFeature("http://apache.org/xml/features/disallow-doctype-decl", true).
  • Review the asset import endpoint to enforce least privilege—ensure only trusted users can upload ETS projects, and consider temporarily disabling the feature until the patch is fully tested in production.

Generated by OpenCVE AI on October 13, 2026 at 18:33 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-7v6w-c3f4-9wpq OpenRemote has an incomplete fix for CVE-2026-40882: XXE in KNXProtocol.startAssetImport() allows arbitrary file read via unprotected XMLInputFactory
History
Type Values Removed Values Added
First Time appeared Openremote
Openremote openremote
Openremote openremote-manager
Vendors & Products Openremote
Openremote openremote
Openremote openremote-manager
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description OpenRemote is an open-source internet-of-things platform. Prior to 1.24.2, the KNXProtocol.startAssetImport method in agent/src/main/java/org/openremote/agent/protocol/knx/KNXProtocol.java processes 0.xml from an authenticated user's uploaded ETS project ZIP with Saxon TransformerFactoryImpl and XMLInputFactory parsers that permit external entity resolution. This incomplete remediation of CVE-2026-40882 leaves the KNX handler unprotected while the parallel Velbus handler is hardened, allowing a regular realm user to read files accessible to the JVM process or cause server-side requests. This issue is fixed in version 1.24.2.
Title OpenRemote: XXE in KNXProtocol.startAssetImport() allows arbitrary file read via unprotected XMLInputFactory
Weaknesses CWE-611
References
Metrics cvssV3_1

{'score': 7.6, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L'}

Weaknesses
  • CWE-611

    Improper Restriction of XML External Entity Reference

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Oct 13, 2026, 8:22 PM
Reserved
Jun 15, 2026, 8:16 PM
Status
Deferred
Published
Oct 13, 2026, 5:17 PM
Modified
Oct 16, 2026, 8:04 PM