# CVE-2026-127031: In Eclipse AAS4J before 3.0.1, XmlSchemaValidator.validateSchema() (and AASXValidator.validateSchema(), which calls it) validates untrusted…

- Severity: High 7.7 (CVSS:4.0, scored by eclipse) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.43%, higher than 39% of CVEs (2026-12-01)
- Published: 2026-11-13T14:28:08.365Z
- Modified: 2026-11-17T16:17:47.427Z
- Weaknesses: CWE-611
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: eclipse

## Description

In 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 without `ACCESS_EXTERNAL_DTD` / `ACCESS_EXTERNAL_SCHEMA` restrictions and without `disallow-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 `.aasx` package 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_DTD` and `ACCESS_EXTERNAL_SCHEMA` to `""` and rejecting `DOCTYPE` declarations. The bundled `AAS.xsd` does not need DTDs, so no functionality is lost.

(As written by CVE List.)

## Affected

- Eclipse Foundation Eclipse AAS Model for Java (Eclipse AAS4J): before 3.0.1

## 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>

## Sources

- CVE List: [CVE-2026-127031](https://www.cve.org/CVERecord?id=CVE-2026-127031), CVE Terms of Use, modified 2026-11-17
- NVD: [CVE-2026-127031](https://nvd.nist.gov/vuln/detail/CVE-2026-127031), Public domain, modified 2026-11-17

---

Page: https://cve.day/CVE-2026-127031 · Whole record: https://cve.day/CVE-2026-127031.json · Rebuilt by cve.day 2026-11-25T22:59:50.728Z
