PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-40180 quarkiverse CVE debrief

CVE-2026-40180 is a high-severity vulnerability in Quarkus OpenAPI Generator that allows for path traversal attacks. Prior to versions 2.16.0 and 2.15.0-lts, the unzip method in ApicurioCodegenWrapper.java extracts ZIP entries without validating the resolved file path, potentially writing files outside the target directory. This issue is fixed in 2.16.0 and 2.15.0-lts.

Vendor
quarkiverse
Product
quarkus-openapi-generator
CVSS
HIGH 7.7
CISA KEV
Not listed in stored evidence
Original CVE published
2026-04-10
Original CVE updated
2026-10-26
Advisory published
2026-04-10
Advisory updated
2026-10-26

Who should care

Defenders responsible for Quarkus OpenAPI Generator installations, especially in environments processing ZIP files from untrusted sources, should assess exposure and prioritize patching.

Why it matters

CVE-2026-40180 is a high-severity vulnerability in Quarkus OpenAPI Generator that allows for path traversal attacks. Defenders should prioritize patching vulnerable installations, especially in environments where ZIP files from untrusted sources are processed.

  • Potential for writing files outside the target directory
  • Path traversal attacks possible via malicious ZIP archives
  • Verification of patched versions required for vulnerable installations

Technical summary

The unzip method in ApicurioCodegenWrapper.java of Quarkus OpenAPI Generator does not validate the resolved file path of ZIP entries, allowing for path traversal attacks. This can lead to writing files outside the intended output directory. The vulnerability is fixed in versions 2.16.0 and 2.15.0-lts. Defenders should prioritize patching vulnerable installations, especially in environments where ZIP files from untrusted sources are processed, and review the supplied official advisory or CVE record to validate affected scope, severity, and vendor guidance.

Defensive priority

Defenders should prioritize patching vulnerable Quarkus OpenAPI Generator installations, especially in environments where ZIP files from untrusted sources are processed.

Recommended defensive actions

  • Patch Quarkus OpenAPI Generator installations to version 2.16.0 or 2.15.0-lts.
  • Restrict ZIP file processing to trusted sources.
  • Monitor for suspicious ZIP file processing activity.
  • Review compensating controls for exposed systems while remediation is scheduled and verified.
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review.
  • Track exceptions, retest remediated assets, and close the item only after evidence is documented.
  • Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up.

Evidence notes

The CVE record and NVD entry provide details on the vulnerability, including its description, CVSS score, and affected versions. Vendor patches are available for versions 2.16.0 and 2.15.0-lts. Defenders should verify patched versions for vulnerable installations, especially in environments processing ZIP files from untrusted sources, and review compensating controls for exposed systems.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-40180 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-40180

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-40180 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-40180

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

  • Source reference

    Unverified legacy reference

    URL: https://github.com/quarkiverse/quarkus-openapi-generator/commit/08b406414ff30ed192e86c7fa924e57565534ff0

    [email protected] - Patch

  • Source reference

    Unverified legacy reference

    URL: https://github.com/quarkiverse/quarkus-openapi-generator/commit/e2a9c629a3df719abc74569a3795c265fd0e1239

    [email protected] - Patch

  • Source reference

    Unverified legacy reference

    URL: https://github.com/quarkiverse/quarkus-openapi-generator/security/advisories/GHSA-jx2w-vp7f-456q

    [email protected] - Exploit, Vendor Advisory

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.