Skip to main content

Quarkus Openapi Generator CVE-2026-40180

| EUVDEUVD-2026-21583 HIGH
Path Traversal (CWE-22)
2026-04-10 GitHub_M
7.7
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Upload malicious ZIP archive
  2. Exploit
    Extract with path traversal sequences
  3. Execution
    Write files outside output directory
  4. Impact
    Execute injected code or overwrite critical files

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Attacker must supply a malicious ZIP archive containing path traversal sequences (e.g., ../../malicious.java) to Quarkus OpenAPI Generator versions before 2.16.0 and 2.15.0-lts during REST client or server stub generation. The generator must process the ZIP without validation.

Impact

CVSS 7.7 reflects high integrity impact from unauthenticated path traversal during ZIP extraction. Network-accessible OpenAPI generation with no complexity barriers creates direct code injection risk: malicious archives write arbitrary files to the application filesystem, potentially overwriting Java source or configuration files before compilation. Patch availability reduces operational risk, but unpatched instances remain vulnerable to supply-chain compromise.

Exploit ScenarioDerived

Attacker provides malicious OpenAPI spec as ZIP containing entries with traversal sequences (e.g., ../../src/main/java/Backdoor.java). Generator extracts without validation, writing files outside intended directory. Compiled application executes injected code on next build/deploy cycle.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 10, 2026

Path traversal vulnerability in Quarkus OpenAPI Generator (Quarkiverse) versions prior to 2.16.0 and 2.15.0-lts allows unauthenticated remote attackers to write arbitrary files outside intended directories via malicious ZIP archives. The ApicurioCodegenWrapper.java unzip() method fails to validate file paths during extraction, enabling path traversal sequences (../../) to bypass output directory restrictions and achieve arbitrary file write with high integrity impact. No public exploit identified at time of analysis. Affects Java-based Quarkus extensions for REST client and server stub generation.

RemediationAI

Vendor-released patch: upgrade to version 2.16.0 (mainline) or 2.15.0-lts (long-term support branch). Upstream fixes available via commits 08b406414ff30ed192e86c7fa924e57565534ff0 and e2a9c629a3df719abc74569a3795c265fd0e1239 implement path validation in ZIP extraction logic. Organizations unable to upgrade immediately should disable or restrict access to OpenAPI code generation endpoints and validate all input ZIP archives through external security scanning. Consult vendor security advisory: https://github.com/quarkiverse/quarkus-openapi-generator/security/advisories/GHSA-jx2w-vp7f-456q. No workarounds that maintain full functionality exist; patch deployment is strongly recommended.

Affected VersionsENISA

quarkus-openapi-generator < 2.15.0-lts
quarkus-openapi-generator < 2.16.0

Affected Packages

maven io.quarkiverse.openapi.generator:quarkus-openapi-generator fix: 2.16.0
euvd quarkus_openapi_generator fix: 2.15.0-lts, 2.16.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in maven, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

CWE-22 path traversal in ApicurioCodegenWrapper.java line 101: destination File constructed via new File(toOutputDir, entry.getName()) without canonicalization or path normalization checks before write operation. CVSS:4.0 vector PR:N confirms unauthenticated network exploitation, VI:H reflects arbitrary file write capability outside sandboxed extraction directory.

Know when Quarkus Openapi Generator gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 7.7 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:P

Primary rating from Vendor (GitHub_M) · only source for this CVE.

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
High
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch released
Apr 10, 2026 - 20:30 nvd
Patch available
CVE Published
Apr 10, 2026 - 19:35 nvd
HIGH 7.7

DescriptionCVE.org

Quarkus OpenAPI Generator is Quarkus' extensions for generation of Rest Clients and server stubs generation. Prior to 2.16.0 and 2.15.0-lts, the unzip() method in ApicurioCodegenWrapper.java extracts ZIP entries without validating that the resolved file path stays within the intended output directory. At line 101, the destination is constructed as new File(toOutputDir, entry.getName()) and the content is written immediately. A malicious ZIP archive containing entries with path traversal sequences (e.g., ../../malicious.java) would write files outside the target directory. This vulnerability is fixed in 2.16.0 and 2.15.0-lts.

Executive ViewAI

Why It Matters

Quarkus OpenAPI Generator versions before 2.16.0 and 2.15.0-lts contain a path traversal vulnerability allowing unauthenticated attackers to write arbitrary files to any location on the server during ZIP extraction operations. Organizations using this component risk unauthorized code injection, configuration tampering, and potential remote code execution through compromised OpenAPI specifications. Immediate patching is critical as the vulnerability requires no authentication and can be exploited through malicious API documentation files.

Business Impact: High
Compensating Controls

Apply vendor patch. If immediate patching is not feasible: (1) Restrict OpenAPI Generator invocation to isolated environments with minimal file system privileges; (2) Implement strict file-based access controls and monitoring on application directories; (3) Disable OpenAPI code generation features if not actively used; (4) Validate all OpenAPI specification sources and prohibit user-supplied ZIP uploads until patched.

Threat Intelligence Overview

EPSS Score
0.0%
Top 87% exploitable
Exploit
POC
Public exploit code exists
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

58
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy