Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
The openapi-generator-maven-plugin, versions before 5.1.0, creates temporary files insecurely during code generation, so the contents of OpenAPI specification files can be read by other local users on unix-like systems with a shared temporary directory. An attacker needs a local account on the affected system, and the impact is disclosure of the specification file contents. Upgrade to version 5.1.0 or later, which uses Files.createTempFile instead.
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 |
|---|---|---|---|---|
| 4.0 | Medium | 3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N | CNA (GitHub_M) |
- CISA KEV Not listed.
- EPSS 0.0030, the 22nd percentile, on 5 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 31 Oct 2026, 14:19 UTC First seen by agentprime
- 31 Oct 2026, 14:19 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-867q-77cc-98mv
- OSV: GHSA-867q-77cc-98mv
- github.com/OpenAPITools/openapi-generator/security/advisories/GHSA-867q-77cc-98mv
- nvd.nist.gov/vuln/detail/CVE-2021-21429
- github.com/OpenAPITools/openapi-generator/pull/8795
- github.com/OpenAPITools/openapi-generator/blob/06ad7a51eff04393203cfa715e54e1fb59d984fe/modules/openapi-generator-maven-plugin/src/main/java/org/openapitools/codegen/plugin/CodeGenMojo.java#L782-L799