Advisory record · GHSA-867q-77cc-98mv

Creation of Temporary File in Directory with Insecure Permissions in the OpenAPI Generator Maven plugin

CVSS 4.0 MediumEPSS 0.0030 · 22nd percentile

Published by the GitHub Advisory Database at 29 Apr 2021, 21:51 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
org.openapitools:openapi-generator-maven-pluginMaven<5.1.05.1.0
Identifiers
GHSA-867q-77cc-98mv · CVE-2021-21429
Weakness (CWE)
CWE-377 · CWE-378 · CWE-379 · CWE-552
Published
29 Apr 2021
Updated
8 Jul 2026

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.

Written 2 Nov 2026.

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

ScoreRatingCVSSVectorSource
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

  1. 31 Oct 2026, 14:19 UTC First seen by agentprime
  2. 31 Oct 2026, 14:19 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.