Home / composer / composer / CVE-2026-45793
CVE-2026-45793: is it exploited, and which versions of composer are affected and fixed?
CVE-2026-45793 is an information disclosure vulnerability in composer. 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, 17:09 UTC). Affected: composer/composer from 2.3.0 before 2.9.8, composer/composer from 2.0.0 before 2.2.28 and composer/composer from 1.0 before 1.10.28 (GitHub advisory GHSA-f9f8-rm49-7jv2). Fixed in 2.9.8, 2.2.28 and 1.10.28 (GitHub advisory GHSA-f9f8-rm49-7jv2). Severity: High (7.5, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 17:09 UTC, CVE record November 19, 2026, 07:07 UTC and NVD November 19, 2026, 07:09 UTC.
What is CVE-2026-45793?
Composer: Github Actions issued GITHUB_TOKEN disclosure in GitHub Actions logs
Composer is a dependency Manager for the PHP language. Prior to 1.10.28, 2.2.28, and 2.9.8, Composer\IO\BaseIO::loadConfiguration() validates GitHub OAuth tokens with the regex ^[.A-Za-z0-9_]+$ and interpolates rejected tokens into an UnexpectedValueException; GitHub Actions GITHUB_TOKEN values using the ghs_<id>_<base64url-JWT> format can contain -, fail validation, and be disclosed to stderr or CI logs. This issue is fixed in versions 1.10.28, 2.2.28, and 2.9.8.
From the CVE record by GitHub_M, last updated July 15, 2026, 18:11 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| composer | composer | >= 1.0, < 1.10.28 >= 2.0.0, < 2.2.28 >= 2.3.0, < 2.9.8 |
As the CVE record by GitHub_M states it, last updated July 15, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Packagist | composer/composer | >= 2.3.0, < 2.9.8 | 2.9.8 | GHSA-f9f8-rm49-7jv2 |
| Packagist | composer/composer | >= 2.0.0, < 2.2.28 | 2.2.28 | GHSA-f9f8-rm49-7jv2 |
| Packagist | composer/composer | >= 1.0, < 1.10.28 | 1.10.28 | GHSA-f9f8-rm49-7jv2 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated July 20, 2026. Summary: Github Actions issued GITHUB_TOKEN disclosure in GitHub Actions logs.
How severe is CVE-2026-45793?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N | GitHub_M |
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-2026-45793 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: partial (CISA ADP, July 15, 2026)
- EPSS
- 0.80% probability of exploitation activity in the next 30 days, percentile 57.8 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
Where are the vendor advisories and references?
- https://github.com/composer/composer/security/advisories/GHSA-f9f8-rm49-7jv2 x_refsource_CONFIRM
- https://github.com/composer/composer/pull/12853 x_refsource_MISC
- https://github.com/composer/composer/pull/12855 x_refsource_MISC
- https://github.com/composer/composer/commit/3f5e7f9fbfa541137d6d1d5643ec3b718e9d5039 x_refsource_MISC
- https://github.com/composer/composer/commit/65e6390c49f1a11cd8b660d81822086db51fe2d1 x_refsource_MISC
- https://github.com/composer/composer/commit/e66c8fdb7ff5409bd2f358c5f194038e49e93714 x_refsource_MISC
- https://github.com/composer/composer/releases/tag/1.10.28 x_refsource_MISC
- https://github.com/composer/composer/releases/tag/2.2.28 x_refsource_MISC
- https://github.com/composer/composer/releases/tag/2.9.8 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- May 13, 2026
- Published
- July 15, 2026, 16:22 UTC
- CVE record updated
- July 15, 2026, 18:11 UTC by GitHub_M
- NVD
- Awaiting Analysis, last modified July 15, 2026, 20:54 UTC
- Last checked
- CVE list November 19, 2026, 07:07 UTC; NVD November 19, 2026, 07:09 UTC; KEV December 3, 2026, 17:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect composer?
- Sep 16, 2026CVE-2026-59944 composer: path traversal (reading or writing files outside the intended folder)
- Sep 1, 2026CVE-2026-84361 composer: OS command injection
- Jul 8, 2026CVE-2026-59947 composer: sensitive information written to log files
- Jul 8, 2026CVE-2026-59948 composer: path traversal (reading or writing files outside the intended folder)
- Jul 8, 2026CVE-2026-59946 composer: path traversal (reading or writing files outside the intended folder)
- Apr 15, 2026CVE-2026-40261 composer: OS command injection
- Apr 15, 2026CVE-2026-40176 composer: improper input validation
- Dec 30, 2025CVE-2025-67746 composer: injection
Questions about CVE-2026-45793
Is CVE-2026-45793 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 17:09 UTC. FIRST's EPSS gives it a 0.80% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of composer are affected by CVE-2026-45793?
composer/composer from 2.3.0 before 2.9.8, composer/composer from 2.0.0 before 2.2.28 and composer/composer from 1.0 before 1.10.28, per the GitHub advisory GHSA-f9f8-rm49-7jv2. The tables above give every range the sources list.
Which version fixes CVE-2026-45793?
2.9.8, 2.2.28 and 1.10.28, per the GitHub advisory GHSA-f9f8-rm49-7jv2. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-45793?
High (7.5, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2026-45793?
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.