Advisory record · GHSA-cqxr-xf2w-943w

Creation of Temporary File in Directory with Insecure Permissions in auto-generated Java, Scala code

CVSS 6.2 MediumEPSS 0.0040 · 34th percentile

Published by the GitHub Advisory Database at 11 May 2021, 00:05 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
org.openapitools:openapi-generatorMaven<5.1.05.1.0
Identifiers
GHSA-cqxr-xf2w-943w · CVE-2021-21430
Weakness (CWE)
CWE-269 · CWE-377 · CWE-378 · CWE-379 · CWE-668
Published
11 May 2021
Updated
8 Jul 2026

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.

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
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

  1. 31 Oct 2026, 14:20 UTC First seen by agentprime
  2. 31 Oct 2026, 14:20 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.