CVE-2026-32735
Received Received - Intake
Arbitrary File Unpacking Risk in openapi-to-java-records Parent POM

Publication date: 2026-03-18

Last updated on: 2026-03-18

Assigner: GitHub, Inc.

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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-03-18
Last Modified
2026-03-18
Generated
2026-05-07
AI Q&A
2026-03-19
EPSS Evaluated
2026-05-05
NVD
Affected Vendors & Products
Showing 2 associated CPEs
Vendor Product Version / Range
openapi-to-java-records-mustache-templates 5.1.1 to 5.5.1 (exc)
openapi-to-java-records-mustache-templates-parent 3.5.1 *
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-20 The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

The vulnerability involves the openapi-to-java-records-mustache-templates project, specifically its parent POM file used to centralize plugin configurations for multiple unit-test modules. This parent POM uses the maven-dependency-plugin to unpack arbitrary .mustache files from the openapi-to-java-records-mustache-templates artifact. Although the parent POM is not intended for external use, it is published and could be used by anyone.

If the openapi-to-java-records-mustache-templates artifact were compromised and malicious .mustache files were included, these files would be automatically unpacked during a dependency update, potentially leading to security risks. The vulnerability is addressed in version 3.5.1 of the parent POM, and it is strongly recommended not to use the parent POM for external use.


How can this vulnerability impact me? :

If an attacker compromises the openapi-to-java-records-mustache-templates artifact and injects malicious .mustache files, these files would be automatically unpacked on users' systems during dependency updates. This could lead to the execution of malicious code or other unintended behaviors, potentially compromising the security and integrity of the user's development environment.

Since the parent POM is not intended for production use and is meant only for testing and maintainability, using it externally increases the risk of exposure to this vulnerability.


How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:

I don't know


How can this vulnerability be detected on my network or system? Can you suggest some commands?

I don't know


What immediate steps should I take to mitigate this vulnerability?

To mitigate this vulnerability, it is strongly recommended not to use the parent POM file of the openapi-to-java-records-mustache-templates project for external use.

Additionally, ensure that you are using a version of openapi-to-java-records-mustache-templates-parent that is version 3.5.1 or later, as this release addresses the issue.

Avoid relying on the parent POM for production environments since it is intended only for testing and maintainability purposes.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart