CVE-2026-32735 Details
Description
openapi-to-java-records-mustache-templates allows users to generate Java Records from OpenAPI specifications. Starting in version 5.1.1 and prior to version 5.5.1, the parent POM file of this project (`openapi-to-java-records-mustache-templates-parent`), which is used to centralize plugin configurations for multiple unit-test modules, uses `maven-dependency-plugin` to unpack arbitrary `.mustache` files from the `openapi-to-java-records-mustache-templates` artifact (of the same version). While this parent POM file is not intended for external use, it is published, and could be used by anyone, and does not follow the best security practices. The risk, is that if `openapi-to-java-records-mustache-templates` would be compromised, and malicious `.mustache` files were to be included in the resulting JAR/artifact, users would unpack these files automatically during a dependency update. This is addressed in the v3.5.1 release of `openapi-to-java-records-mustache-templates-parent`. It is strongly recommended NOT to use the parent POM for external use. The `openapi-to-java-records-mustache-templates` module is the center of this project, and surrounding modules and configurations are not intended for production-use. These only exist for testing purposes and maintainability.
A vulnerability exists in the parent POM file of the OpenAPI to Java Records Mustache Templates project, specifically in versions 3.1.1 through 3.5.0. The POM file, which is not intended for external use but is publicly available, uses the Maven Dependency Plugin to unpack arbitrary Mustache files from the same version of the OpenAPI to Java Records Mustache Templates artifact. This practice does not adhere to recommended security protocols. If the OpenAPI to Java Records Mustache Templates artifact were compromised and malicious Mustache files were added, these files could be automatically unpacked during a dependency update, potentially leading to security issues.
Users are advised to avoid using the parent POM for external purposes. If the Maven Dependency Plugin must be used, it is crucial to explicitly list the Mustache files to be unpacked, ensuring that only safe, intended templates are included.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Mar 18, 2026CISA-ADP
Assessed Mar 19, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-20 | Improper Input Validation | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| io.github.chrimle:openapi-to-java-records-mustache-templates | All versions |
CPE
Remediation
| |
| io.github.chrimle:openapi-to-java-records-mustache-templates-parent | All versions |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Mar 18, 2026 | New CVE Received | [email protected] |
Volerion