CVE-2026-45793
HIGH 7.5CVSS 3.1Github 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.
- Published
- 15 Jul 2026
- Last modified
- 20 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Awaiting Analysis
- Weakness
- CWE-200
- Also known as
- BIT-composer-2026-45793GHSA-f9f8-rm49-7jv2
- Sources
- NVDJSONOSV GHSA-f9f8-rm49-7jv2JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Packagist | composer/composer | >= 2.3.0, < 2.9.8 | 2.9.8 |
| OSV | Packagist | composer/composer | >= 2.0.0, < 2.2.28 | 2.2.28 |
| OSV | Packagist | composer/composer | >= 1.0, < 1.10.28 | 1.10.28 |
References
- https://github.com/composer/composer/commit/3f5e7f9fbfa541137d6d1d5643ec3b718e9d5039 · WEB
- https://github.com/composer/composer/commit/65e6390c49f1a11cd8b660d81822086db51fe2d1 · WEB
- https://github.com/composer/composer/commit/e66c8fdb7ff5409bd2f358c5f194038e49e93714 · WEB
- https://github.com/composer/composer/pull/12853 · WEB
- https://github.com/composer/composer/pull/12855 · WEB
- https://github.com/composer/composer/releases/tag/1.10.28 · WEB
- https://github.com/composer/composer/releases/tag/2.2.28 · WEB
- https://github.com/composer/composer/releases/tag/2.9.8 · WEB
- https://github.com/composer/composer/security/advisories/GHSA-f9f8-rm49-7jv2 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-45793 · ADVISORY
- https://github.com/FriendsOfPHP/security-advisories/blob/master/composer/composer/CVE-2026-45793.yaml · WEB
- https://github.com/composer/composer · PACKAGE
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 15 Jul 2026)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 19 May 2026)