Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
The org.openapitools:openapi-generator Maven package before 5.1.0 produces Java and Scala client code that creates temporary files with the JDK method File.createTempFile, which leaves them readable by other local users on Unix-like systems. A local user on the same system could read data, such as downloaded binary content, that the generated code stores there. Upgrade to version 5.1.0 or later, and regenerate affected code, since code generated earlier remains vulnerable until fixed manually.
Not analysed yet
We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.
Severity and exploitation
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 6.2 | Medium | 3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N | CNA (GitHub_M) |
- CISA KEV Not listed.
- EPSS 0.0040, the 34th percentile, on 5 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 31 Oct 2026, 14:20 UTC First seen by agentprime
- 31 Oct 2026, 14:20 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-cqxr-xf2w-943w
- OSV: GHSA-cqxr-xf2w-943w
- github.com/OpenAPITools/openapi-generator/security/advisories/GHSA-cqxr-xf2w-943w
- nvd.nist.gov/vuln/detail/CVE-2021-21430
- github.com/OpenAPITools/openapi-generator/pull/8787
- github.com/OpenAPITools/openapi-generator/pull/8791
- github.com/OpenAPITools/openapi-generator/pull/9348
- github.com/OpenAPITools/openapi-generator