CVE-2023-27162
Java vulnerability analysis and mitigation

Overview

CVE-2023-27162 affects openapi-generator versions up to v6.4.0. The vulnerability is a Server-Side Request Forgery (SSRF) discovered in the component /api/gen/clients/{language}. The issue was disclosed on March 31, 2023 and received a CVSS v3.1 base score of 9.1 (Critical) (NVD, CISA).

Technical details

The vulnerability exists in the API endpoints /api/gen/clients/{language} and /api/gen/servers/{framework}, which are vulnerable to unauthenticated SSRF attacks via the openAPIUrl parameter. When exploited, an attacker can send crafted API requests to access internal network resources and sensitive information (SJTU Notes, GitHub Advisory).

Impact

The vulnerability can lead to information disclosure and data exfiltration, allowing attackers to access any resource obtainable via HTTP requests on the local network. This includes unauthorized access to internal network HTTP servers, internal RESTful APIs, databases, and the ability to perform port scanning and IP enumeration of the internal network (SJTU Notes).

Exploitability

The vulnerability is exploitable remotely without requiring authentication. A proof-of-concept exists demonstrating successful exploitation using DNS logging to confirm SSRF capabilities. The attack can be executed by sending a crafted POST request to the affected API endpoints (SJTU Notes, GitHub Advisory).

Mitigation and workarounds

Users should upgrade to openapi-generator versions above 6.4.0 to address this vulnerability. If immediate upgrade is not possible, it is recommended to review and validate all inputs, especially those from untrusted sources, before using OpenAPI Generator to generate API clients, server stubs, or documentation (OpenAPI Generator).

Additional resources


SourceThis report was generated using AI

Related Java vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-10050HIGH8.7
  • Java logoJava
  • spark-kubernetes-operator-fips
NoYesAug 04, 2026
CVE-2026-56818MEDIUM6.5
  • Java logoJava
  • netty-javadoc
NoYesAug 07, 2026
CVE-2026-48047MEDIUM5.9
  • Java logoJava
  • org.xwiki.platform:xwiki-platform-webjars-api
NoYesAug 07, 2026
CVE-2026-53573MEDIUM4.8
  • Java logoJava
  • org.geonetwork-opensource:geonetwork
NoYesJul 31, 2026
CVE-2026-71497MEDIUM4.7
  • Java logoJava
  • jsoup
NoYesAug 06, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management