Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
Composer versions >=1.0 before 1.10.28, >=2.0.0 before 2.2.28, and >=2.3.0 before 2.9.8 leak the full contents of configured GitHub OAuth tokens to stderr when a token contains a hyphen, because validation rejects it and the error message includes the raw token. An attacker needs access to the logs or stderr output of the affected run, such as CI logs, which is common when Composer runs in GitHub Actions with GITHUB_TOKEN registered in auth.json. Upgrade to 1.10.28, 2.2.28, 2.9.8, or a later release. The source gives few details on any workaround.
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
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 7.5 | High | 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N | CNA (GitHub_M) |
- CISA KEV Not listed.
- EPSS 0.010, the 63rd percentile, on 16 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 13 May 2026, 09:34 UTC Published by the maintainers as a GitHub repository advisory
- 31 Oct 2026, 14:25 UTC First seen by agentprime
- 31 Oct 2026, 14:25 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-f9f8-rm49-7jv2
- OSV: GHSA-f9f8-rm49-7jv2
- github.com/composer/composer/security/advisories/GHSA-f9f8-rm49-7jv2
- nvd.nist.gov/vuln/detail/CVE-2026-45793
- github.com/composer/composer/pull/12853
- github.com/composer/composer/pull/12855
- github.com/composer/composer/commit/3f5e7f9fbfa541137d6d1d5643ec3b718e9d5039
- github.com/composer/composer/commit/65e6390c49f1a11cd8b660d81822086db51fe2d1
- github.com/composer/composer/commit/e66c8fdb7ff5409bd2f358c5f194038e49e93714
- github.com/FriendsOfPHP/security-advisories/blob/master/composer/composer/CVE-2026-45793.yaml
- github.com/composer/composer
- github.com/composer/composer/releases/tag/1.10.28
- github.com/composer/composer/releases/tag/2.2.28
- github.com/composer/composer/releases/tag/2.9.8