CVEBrief

Home / github / codeql-action / CVE-2021-32638

CVE-2021-32638: is it exploited, and which versions of github codeql-action are affected and fixed?

CVE-2021-32638 is an information disclosure vulnerability in github codeql-action. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 16:39 UTC). Affected: codeql-action < codeql-bundle-20210304 (CVE record by GitHub_M). Fixed in 20210304 (NVD). Severity: Medium (4.4, CVSS 3.1, from GitHub_M).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 16:39 UTC, CVE record November 19, 2026, 07:15 UTC and NVD November 19, 2026, 07:57 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 16:39 UTC
Affected
codeql-action < codeql-bundle-20210304
CVE record by GitHub_M
Fixed in
20210304
NVD
Severity
Medium 4.4
CVSS 3.1 from GitHub_M
Exploit odds (EPSS)
0.40% in 30 days
higher than 36% of CVEs; FIRST, December 3, 2026
Free for up to 3 items: a weekly email, and an alert the day CISA lists one as exploited. We email you once to confirm. More about the watch

What is CVE-2021-32638?

CodeQL runner: Command-line options that make GitHub access tokens visible to other processes are now deprecated

Github's CodeQL action is provided to run CodeQL-based code scanning on non-GitHub CI/CD systems and requires a GitHub access token to connect to a GitHub repository. The runner and its documentation previously suggested passing the GitHub token as a command-line parameter to the process instead of reading it from a file, standard input, or an environment variable. This approach made the token visible to other processes on the same machine, for example in the output of the `ps` command. If the CI system publicly exposes the output of `ps`, for example by logging the output, then the GitHub access token can be exposed beyond the scope intended. Users of the CodeQL runner on 3rd-party systems, who are passing a GitHub token via the `--github-auth` flag, are affected. This applies to both GitHub.com and GitHub Enterprise users. Users of the CodeQL Action on GitHub Actions are not affected. The `--github-auth` flag is now considered insecure and deprecated. The undocumented `--external-repository-token` flag has been removed. To securely provide a GitHub access token to the CodeQL runner, users should **do one of the following instead**: Use the `--github-auth-stdin` flag and pass the token on the command line via standard input OR set the `GITHUB_TOKEN` environment variable to contain the token, then call the command without passing in the token. The old flag remains present for backwards compatibility with existing workflows. If the user tries to specify an access token using the `--github-auth` flag, there is a deprecation warning printed to the terminal that directs the user to one of the above options. All CodeQL runner releases codeql-bundle-20210304 onwards contain the patches. We recommend updating to a recent version of the CodeQL runner, storing a token in your CI system's secret storage mechanism, and passing the token to the CodeQL runner using `--github-auth-stdin` or the `GITHUB_TOKEN` environment variable. If still using the old flag, ensure that process output, such as from `ps`, is not persisted in CI logs.

From the CVE record by GitHub_M, last updated August 3, 2024, 23:25 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
githubcodeql-action< codeql-bundle-20210304

As the CVE record by GitHub_M states it, last updated August 3, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

Which products and versions does the NVD list as affected?

VendorProductVersionsType
githubcodeql actionbefore 20210304application

NVD analysis (status Modified), last modified June 17, 2026, 03:53 UTC.

How severe is CVE-2021-32638?

ScoreVersionVectorSource
Medium 4.4CVSS 3.1CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:NGitHub_M
Medium 4.4CVSS 3.1CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:NNVD
Low 2.1CVSS 2.0AV:L/AC:L/Au:N/C:P/I:N/A:NNVD

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2021-32638 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
EPSS
0.40% probability of exploitation activity in the next 30 days, percentile 36.4 (FIRST EPSS, scores of December 3, 2026)

What kind of flaw is it?

Where are the vendor advisories and references?

When was it published, and where is the official record?

Reserved
May 12, 2021
Published
May 25, 2021, 17:10 UTC
CVE record updated
August 3, 2024, 23:25 UTC by GitHub_M
NVD
Modified, last modified June 17, 2026, 03:53 UTC
Last checked
CVE list November 19, 2026, 07:15 UTC; NVD November 19, 2026, 07:57 UTC; KEV December 3, 2026, 16:39 UTC; EPSS December 3, 2026
Official record
cve.org · NVD

What other CVEs affect codeql-action?

Every CVE in codeql-action

Questions about CVE-2021-32638

Is CVE-2021-32638 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 16:39 UTC. FIRST's EPSS gives it a 0.40% chance of exploitation activity in the next 30 days (scores of December 3, 2026).

Which versions of github codeql-action are affected by CVE-2021-32638?

codeql-action < codeql-bundle-20210304, per the CVE record by GitHub_M. The tables above give every range the sources list.

Which version fixes CVE-2021-32638?

20210304, per the NVD. Check the vendor's advisory before you rely on it.

How severe is CVE-2021-32638?

Medium (4.4, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.

Where is the official record of CVE-2021-32638?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.