{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-45793","id":"CVE-2026-45793","title":"Composer: Github Actions issued GITHUB_TOKEN disclosure in GitHub Actions logs","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 ","descriptionLong":"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":"2026-07-15T16:22:19.418Z","updated":"2026-10-28T02:30:38.861567410Z","reserved":"2026-05-13T08:19:32.603Z","status":"Awaiting Analysis","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"GitHub_M"},"metrics":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"GitHub_M"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"github.com"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"OSV"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"GitHub"}],"rating":"high","products":["composer"],"affectedProducts":[{"vendor":"composer","product":"composer","defaultStatus":null,"versions":[{"version":">= 1.0, < 1.10.28","status":"affected"},{"version":">= 2.0.0, < 2.2.28","status":"affected"},{"version":">= 2.3.0, < 2.9.8","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"Packagist","name":"composer/composer","purl":"pkg:composer/composer/composer","ranges":[">=2.3.0 <2.9.8",">=2.0.0 <2.2.28",">=1.0 <1.10.28"],"fixed":["2.9.8","2.2.28","1.10.28"],"advisory":"GHSA-f9f8-rm49-7jv2"}],"cwes":["CWE-200"],"aliases":["BIT-composer-2026-45793","GHSA-f9f8-rm49-7jv2"],"references":[{"url":"https://github.com/composer/composer/security/advisories/GHSA-f9f8-rm49-7jv2","tags":["x_refsource_CONFIRM","advisory","web"]},{"url":"https://github.com/composer/composer/pull/12853","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/composer/composer/pull/12855","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/composer/composer/commit/3f5e7f9fbfa541137d6d1d5643ec3b718e9d5039","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/composer/composer/commit/65e6390c49f1a11cd8b660d81822086db51fe2d1","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/composer/composer/commit/e66c8fdb7ff5409bd2f358c5f194038e49e93714","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/composer/composer/releases/tag/1.10.28","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/composer/composer/releases/tag/2.2.28","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/composer/composer/releases/tag/2.9.8","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45793.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-45793","tags":["advisory"]},{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/composer/composer/CVE-2026-45793.yaml","tags":["web"]},{"url":"https://github.com/composer/composer","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial"},"epss":0.01021,"epssPercentile":0.6414,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-45793","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-45793","ok":true,"note":"Awaiting Analysis"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-45793","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-f9f8-rm49-7jv2","ok":true,"note":"GHSA-f9f8-rm49-7jv2"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-45793","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}