Composer: Github Actions issued GITHUB_TOKEN disclosure in GitHub Actions logs
Summary
| CVE | CVE-2026-45793 |
|---|---|
| State | PUBLISHED |
| Assigner | GitHub_M |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-07-15 17:16:48 UTC |
| Updated | 2026-07-15 20:54:43 UTC |
| Description | 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. |
Risk And Classification
Primary CVSS: v3.1 7.5 HIGH from [email protected]
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Problem Types: CWE-200 | CWE-200 CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 7.5 | HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| 3.1 | CNA | DECLARED | 7.5 | HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
NoneAvailability
NoneCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Vendor Declared Affected Products
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/composer/composer/pull/12853 | [email protected] | github.com | |
| github.com/composer/composer/releases/tag/1.10.28 | [email protected] | github.com | |
| github.com/composer/composer/releases/tag/2.9.8 | [email protected] | github.com | |
| github.com/composer/composer/pull/12855 | [email protected] | github.com | |
| github.com/composer/composer/commit/65e6390c49f1a11cd8b660d81822086db51f... | [email protected] | github.com | |
| github.com/composer/composer/releases/tag/2.2.28 | [email protected] | github.com | |
| github.com/composer/composer/commit/3f5e7f9fbfa541137d6d1d5643ec3b718e9d... | [email protected] | github.com | |
| github.com/composer/composer/security/advisories/GHSA-f9f8-rm49-7jv2 | [email protected] | github.com | |
| github.com/composer/composer/commit/e66c8fdb7ff5409bd2f358c5f194038e49e9... | [email protected] | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.