The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-32735

CVE-2026-32735: OpenAPI Java Records Mustache Vulnerability

CVE-2026-32735 affects openapi-to-java-records-mustache-templates, a tool for generating Java Records from OpenAPI specs. A malicious artifact could unpack harmful files during dependency updates. Learn the technical details.

Published: March 20, 2026

CVE-2026-32735 Overview

CVE-2026-32735 is an Improper Input Validation vulnerability affecting the openapi-to-java-records-mustache-templates project, which 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 (openapi-to-java-records-mustache-templates-parent) uses maven-dependency-plugin to unpack arbitrary .mustache files from the openapi-to-java-records-mustache-templates artifact without following security best practices. While this parent POM file is not intended for external use, it is publicly published and could be used by anyone, creating a potential supply chain risk.

Critical Impact

If the openapi-to-java-records-mustache-templates artifact were compromised, malicious .mustache files could be automatically unpacked during a dependency update, potentially leading to supply chain attacks against downstream projects.

Affected Products

  • openapi-to-java-records-mustache-templates versions 5.1.1 to 5.5.0
  • openapi-to-java-records-mustache-templates-parent (all versions prior to v3.5.1)

Discovery Timeline

  • 2026-03-18 - CVE-2026-32735 published to NVD
  • 2026-03-19 - Last updated in NVD database

Technical Details for CVE-2026-32735

Vulnerability Analysis

This vulnerability stems from an improper input validation issue (CWE-20) in the build configuration of the openapi-to-java-records-mustache-templates project. The parent POM file centralizes plugin configurations for multiple unit-test modules and utilizes the maven-dependency-plugin to automatically unpack .mustache template files from the main artifact during the build process.

The core issue is that the unpacking operation does not validate or sanitize the contents of the .mustache files being extracted. In a supply chain attack scenario, if an attacker could compromise the openapi-to-java-records-mustache-templates artifact (for example, through a compromised maintainer account or build pipeline), they could inject malicious template files that would be automatically distributed to all projects using the parent POM.

The vulnerability requires network access and some user interaction, as users must actively include the parent POM in their build configuration and trigger a dependency update. The direct impact is limited to downstream integrity effects rather than direct confidentiality or availability impacts on the vulnerable component itself.

Root Cause

The root cause is the use of maven-dependency-plugin to unpack arbitrary files from a dependency without proper validation or content verification. The parent POM file, although not intended for production use, is publicly published to Maven repositories, making it accessible to anyone who might unknowingly incorporate it into their build process. This violates the principle of least privilege and secure-by-default configuration in build pipelines.

Attack Vector

The attack vector is network-based but requires specific conditions to be exploited:

  1. An attacker would first need to compromise the openapi-to-java-records-mustache-templates artifact through supply chain compromise
  2. The attacker would inject malicious .mustache template files into the compromised artifact
  3. Users who have configured their projects to use the parent POM would automatically download and unpack these malicious files during their next dependency update
  4. The malicious templates could potentially affect code generation, introducing vulnerabilities or backdoors into generated Java code

The attack requires user participation in the form of including the parent POM and triggering builds, which limits the exploitability but still presents a significant supply chain risk for affected users.

Detection Methods for CVE-2026-32735

Indicators of Compromise

  • Unexpected or modified .mustache files appearing in build directories after dependency updates
  • Changes to generated Java Records that don't correspond to OpenAPI specification changes
  • Unusual network activity during Maven builds pointing to unexpected artifact sources
  • Hash mismatches for downloaded openapi-to-java-records-mustache-templates artifacts

Detection Strategies

  • Review your pom.xml files for any references to openapi-to-java-records-mustache-templates-parent
  • Implement artifact signature verification in your Maven configuration
  • Monitor dependency updates using software composition analysis (SCA) tools
  • Audit generated code for unexpected changes after dependency updates

Monitoring Recommendations

  • Enable Maven artifact verification and signature checking in your CI/CD pipeline
  • Implement dependency lock files to detect unexpected version changes
  • Use SentinelOne Singularity Platform to monitor build systems for suspicious file operations
  • Regularly audit build configurations for references to development-only or test-only parent POMs

How to Mitigate CVE-2026-32735

Immediate Actions Required

  • Remove any references to openapi-to-java-records-mustache-templates-parent from production build configurations
  • Upgrade to version v3.5.1 or later of the parent POM if it must be used for testing purposes
  • Audit existing generated code for any unexpected modifications
  • Review your dependency management practices for similar patterns

Patch Information

This vulnerability is addressed in the v3.5.1 release of openapi-to-java-records-mustache-templates-parent. The fix is tracked in GitHub Pull Request #534 and GitHub Pull Request #620. Users should upgrade to the patched version immediately. For complete details, refer to the GitHub Security Advisory GHSA-3hrg-hjvj-9v66 and the GitHub Release v3.5.1.

Workarounds

  • Do not use the parent POM (openapi-to-java-records-mustache-templates-parent) for external or production use; it is intended only for internal testing and maintainability
  • If you must use the templates, consume only the openapi-to-java-records-mustache-templates module directly without the parent POM
  • Implement additional artifact verification in your build pipeline to detect tampering
  • Consider vendoring the specific template files you need rather than relying on dynamic unpacking during builds
bash
# Verify you are not using the vulnerable parent POM
grep -r "openapi-to-java-records-mustache-templates-parent" --include="pom.xml" .

# If found, remove the parent reference and upgrade to use the module directly
# Update your pom.xml to use only the main artifact at version 5.5.1 or later

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeOther

  • Vendor/TechOpenapi To Java Records

  • SeverityLOW

  • CVSS Score2.3

  • EPSS Probability0.08%

  • Known ExploitedNo
  • CVSS Vector
  • 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/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
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-20
  • Technical References
  • GitHub Pull Request #534

  • GitHub Pull Request #620

  • GitHub Release v3.5.1

  • GitHub Security Advisory GHSA-3hrg-hjvj-9v66
  • Latest CVEs
  • CVE-2025-9185: Mozilla Firefox RCE Vulnerability

  • CVE-2025-9184: Mozilla Firefox RCE Vulnerability

  • CVE-2025-9180: Mozilla Firefox Auth Bypass Vulnerability

  • CVE-2025-8030: Mozilla Firefox RCE Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English