{"id":"CVE-2026-45793","aliases":["BIT-composer-2026-45793","GHSA-f9f8-rm49-7jv2"],"url":"https://o3.security/vulnerability/CVE-2026-45793","summary":"Composer: Github Actions issued GITHUB_TOKEN disclosure in GitHub Actions logs","details":"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","modified":"2026-08-14T18:51:48.832242521Z","cvss":{"score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},"epss":{"score":0.00797,"percentile":0.53457,"asOf":"2026-08-16"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Packagist","name":"composer/composer","fixedVersion":"2.9.8"},{"ecosystem":"Packagist","name":"composer/composer","fixedVersion":"2.2.28"},{"ecosystem":"Packagist","name":"composer/composer","fixedVersion":"1.10.28"}],"fix":{"url":"https://github.com/composer/composer/commit/3f5e7f9fbfa541137d6d1d5643ec3b718e9d5039","label":"composer/composer@3f5e7f9"},"references":[{"type":"WEB","url":"https://github.com/composer/composer/releases/tag/1.10.28"},{"type":"WEB","url":"https://github.com/composer/composer/releases/tag/2.2.28"},{"type":"WEB","url":"https://github.com/composer/composer/releases/tag/2.9.8"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45793.json"},{"type":"ADVISORY","url":"https://github.com/composer/composer/security/advisories/GHSA-f9f8-rm49-7jv2"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-45793"},{"type":"FIX","url":"https://github.com/composer/composer/commit/3f5e7f9fbfa541137d6d1d5643ec3b718e9d5039"},{"type":"FIX","url":"https://github.com/composer/composer/commit/65e6390c49f1a11cd8b660d81822086db51fe2d1"},{"type":"FIX","url":"https://github.com/composer/composer/commit/e66c8fdb7ff5409bd2f358c5f194038e49e93714"},{"type":"FIX","url":"https://github.com/composer/composer/pull/12853"},{"type":"FIX","url":"https://github.com/composer/composer/pull/12855"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-14T18:51:48.832242521Z"}}