Advisory record · GHSA-pc22-3g76-gm6j

Generator Web Application: Local Privilege Escalation Vulnerability via System Temp Directory

CVSS 5.3 MediumEPSS 0.0041 · 35th percentile

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

PackageEcosystemAffectedFixed in
io.swagger:swagger-codegenMaven<2.4.192.4.19
Identifiers
GHSA-pc22-3g76-gm6j · CVE-2021-21363
Weakness (CWE)
CWE-378 · CWE-379
Published
11 Mar 2021
Updated
8 Jul 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

The io.swagger:swagger-codegen package before 2.4.19 creates a temporary subdirectory in the system's shared temporary directory in a way that can be raced. A local user on a Unix-like system could exploit this to write into the output folder, and code generated there and later executed could be attacker-controlled. Upgrade to version 2.4.19.

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
5.3 Medium 3.1 CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:N/I:H/A:N CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0041, the 35th percentile, on 6 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.