{"id":"CVE-2026-45793","published":"2026-07-15T16:22:19Z","modified":"2026-07-15T18:11:10Z","title":"Composer: Github Actions issued GITHUB_TOKEN disclosure in GitHub Actions logs","vendor":"composer","product":"composer","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01021,"percentile":0.64251,"provenance":"source"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"references":[{"url":"https://github.com/composer/composer/security/advisories/GHSA-f9f8-rm49-7jv2","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/composer/composer/pull/12853","tags":["x_refsource_MISC"]},{"url":"https://github.com/composer/composer/pull/12855","tags":["x_refsource_MISC"]},{"url":"https://github.com/composer/composer/commit/3f5e7f9fbfa541137d6d1d5643ec3b718e9d5039","tags":["x_refsource_MISC"]},{"url":"https://github.com/composer/composer/commit/65e6390c49f1a11cd8b660d81822086db51fe2d1","tags":["x_refsource_MISC"]},{"url":"https://github.com/composer/composer/commit/e66c8fdb7ff5409bd2f358c5f194038e49e93714","tags":["x_refsource_MISC"]},{"url":"https://github.com/composer/composer/releases/tag/1.10.28","tags":["x_refsource_MISC"]},{"url":"https://github.com/composer/composer/releases/tag/2.2.28","tags":["x_refsource_MISC"]},{"url":"https://github.com/composer/composer/releases/tag/2.9.8","tags":["x_refsource_MISC"]}],"priority":{"score":18.1,"factors":[{"name":"EPSS percentile","points":12.85},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"composer","affectedVersions":[{"vendor":"composer","product":"composer","versions":[">= 1.0, < 1.10.28",">= 2.0.0, < 2.2.28",">= 2.3.0, < 2.9.8"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-07-15T18:11:02.102503Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"composer/composer","vulnerableRanges":[">=2.3.0, <2.9.8",">=2.0.0, <2.2.28",">=1.0, <1.10.28"],"patched":["2.9.8","2.2.28","1.10.28"],"from":["GHSA-f9f8-rm49-7jv2"],"provenance":"source"}],"summary":{"text":"Composer, the PHP dependency manager, has a flaw in its configuration loading code (Composer\\IO\\BaseIO::loadConfiguration()) where GitHub OAuth tokens that fail a character validation check are echoed into an exception message. An attacker who can read the output of a build or CI log can obtain GitHub Actions GITHUB_TOKEN values that contain characters such as \"-\", which triggers this disclosure, with no authentication or user interaction required and only network reach to the log output needed.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:35:44Z"},"euvd":{"id":"EUVD-2026-44723","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-composer-cve-2026-59947","children":[{"from":"CVE-2026-45793","to":"CVE-2026-59947","relation":"successor","confidence":"high","kind":"lineage","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:composer/composer","fromFixed":"2.9.8","toFixed":"2.10.2","daysApart":-7},{"kind":"same-code","provenance":"machine","files":["src/Composer/Util/ProcessExecutor.php","src/Composer/Util/Url.php"],"commits":["https://github.com/composer/composer/commit/3f5e7f9fbfa541137d6d1d5643ec3b718e9d5039","https://github.com/composer/composer/commit/65e6390c49f1a11cd8b660d81822086db51fe2d1","https://github.com/composer/composer/commit/6bd66874ae523ecb69aca5964487a0cdfda03ef8","https://github.com/composer/composer/commit/8887ad76fbd830cb1861a2b1fd8ead78ed1fa1ec"],"basis":"shared function","functions":["outputCommandRun","sanitize"]}]}],"packageHistory":[{"cve":"CVE-2025-67746","published":"2025-12-30","fixed":"2.9.3","kev":false},{"cve":"CVE-2026-40176","published":"2026-04-15","fixed":"2.9.6","kev":false,"link":{"from":"CVE-2026-40176","to":"CVE-2026-45793","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:composer/composer","fromFixed":"2.9.6","toFixed":"2.9.8","daysApart":91}]}},{"cve":"CVE-2026-40261","published":"2026-04-15","fixed":"2.9.6","kev":false},{"cve":"CVE-2026-45793","published":"2026-07-15","fixed":"2.9.8","kev":false},{"cve":"CVE-2026-59946","published":"2026-07-08","fixed":"2.10.2","kev":false,"link":{"from":"CVE-2026-45793","to":"CVE-2026-59946","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:composer/composer","fromFixed":"2.9.8","toFixed":"2.10.2","daysApart":-7}]}},{"cve":"CVE-2026-59947","published":"2026-07-08","fixed":"2.10.2","kev":false},{"cve":"CVE-2026-59948","published":"2026-07-08","fixed":"2.10.2","kev":false,"link":{"from":"CVE-2026-45793","to":"CVE-2026-59948","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:composer/composer","fromFixed":"2.9.8","toFixed":"2.10.2","daysApart":-7}]}}],"package":"Packagist:composer/composer"}}