# CVE-2026-32735: Unpacking Arbitrary Mustache Template Files via \`maven-dependency-plugin\`

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** LOW 2.3
- **CVSS:** 2.3 (v4.0, CNA) `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:N/SC:N/SI:L/SA:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: Present; Privileges required: None; User interaction: Passive; Confidentiality impact: None; Integrity impact: None; Availability impact: None; Confidentiality impact on other systems: None; Integrity impact on other systems: Low; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.61% (percentile 44, 2026-11-26)
- **CWE:** CWE-20
- **Published:** 2026-03-18T22:13:39.901Z
- **Modified:** 2026-06-17T10:36:17.717Z

## Who should check

- Anyone running io.github.chrimle:openapi-to-java-records-mustache-templates-parent \>= 3.1.1, \< 3.5.1

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

## Affected and fixed versions

- io.github.chrimle:openapi-to-java-records-mustache-templates-parent: \>= 3.1.1, \< 3.5.1 (cvelist)

## Mitigation

- Upgrade io.github.chrimle:openapi-to-java-records-mustache-templates-parent to 3.5.1 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-32735. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-32735.md
Affected: io.github.chrimle:openapi-to-java-records-mustache-templates-parent >= 3.1.1, < 3.5.1
Fixed in: io.github.chrimle:openapi-to-java-records-mustache-templates-parent 3.5.1

Steps:
1. Search this machine and project for io.github.chrimle:openapi-to-java-records-mustache-templates-parent: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-32735 being exploited?

There is no confirmed exploitation: CVE-2026-32735 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.61% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-32735?

Low: CVSS 2.3 (v4.0, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2026-32735?

io.github.chrimle:openapi-to-java-records-mustache-templates-parent \>= 3.1.1, \< 3.5.1.

### Is there a fix for CVE-2026-32735?

Yes. Fixed in io.github.chrimle:openapi-to-java-records-mustache-templates-parent 3.5.1. Upgrade io.github.chrimle:openapi-to-java-records-mustache-templates-parent to 3.5.1 or later.

### How do I check if I'm affected by CVE-2026-32735?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/Chrimle/openapi-to-java-records-mustache-templates/security/advisories/GHSA-3hrg-hjvj-9v66>
- patch: <https://github.com/Chrimle/openapi-to-java-records-mustache-templates/pull/534>
- patch: <https://github.com/Chrimle/openapi-to-java-records-mustache-templates/pull/620>
- other: <https://github.com/Chrimle/openapi-to-java-records-mustache-templates/releases/tag/v3.5.1>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-32735>

HTML: <https://flawdb.com/CVE-2026-32735> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-32735>
