CVE-2026-127031
HIGH 7.7CVSS 4.0In Eclipse AAS4J before 3.0.1, XmlSchemaValidator.validateSchema() (and AASXValidator.validateSchema(), which calls it) validates untrusted XML with a default JAXP Validator that resolves external DTDs and external entities. An attacker who supplies a crafted AAS XML document or AASX package can read local files from the host, send their contents out-of-band to an attacker-controlled server, and make the validating process send arbitrary outbound requests (SSRF). Validation still returns no errors.
Details:
Vulnerable code:
dataformat-xml/src/main/java/org/eclipse/digitaltwin/aas4j/v3/dataformat/xml/XmlSchemaValidator.java.schema.newValidator().validate(new StreamSource(...))runs withoutACCESS_EXTERNAL_DTD/ACCESS_EXTERNAL_SCHEMArestrictions and withoutdisallow-doctype-decl.Second entry point:
dataformat-aasx/src/main/java/org/eclipse/digitaltwin/aas4j/v3/dataformat/aasx/AASXValidator.java. The AAS XML part of an.aasxpackage is passed unchanged to the vulnerable validator.XmlDeserializer(Jackson/Woodstox) is not affected, because DTD support is disabled by default there.Present since the initial import of the code base (commit
cc9da52).Fix: harden the validator by setting
ACCESS_EXTERNAL_DTDandACCESS_EXTERNAL_SCHEMAto""and rejectingDOCTYPEdeclarations. The bundledAAS.xsddoes not need DTDs, so no functionality is lost.
- Published
- 13 Nov 2026
- Last modified
- 17 Nov 2026
- Assigned by
- emo@eclipse.org
- NVD status
- Awaiting Analysis
- Weakness
- CWE-611
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | emo@eclipse.org (Secondary) | CVSS 4.0 | HIGH 7.7 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/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 |
References
- https://github.com/eclipse-aas4j/aas4j
- https://github.com/eclipse-aas4j/aas4j/blob/main/dataformat-xml/src/main/java/org/eclipse/digitaltwin/aas4j/v3/dataformat/xml/XmlSchemaValidator.java
- https://gitlab.eclipse.org/security/cve-assignment/-/work_items/571
History
- 25 Nov 2026 21:23 UTC ยท NVD: first stored (published 13 Nov 2026)