{"id":"CVE-2026-45793","state":"PUBLISHED","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 CI logs. This issue is fixed in versions 1.10.28, 2.2.28, and 2.9.8.","publishedAt":"2026-07-15T16:22:19.418Z","updatedAt":"2026-07-15T18:11:10.355Z","severity":{"score":7.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["composer composer"],"affected":[{"vendor":"composer","product":"composer","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"}]}],"references":["https://github.com/composer/composer/security/advisories/GHSA-f9f8-rm49-7jv2","https://github.com/composer/composer/pull/12853","https://github.com/composer/composer/pull/12855","https://github.com/composer/composer/commit/3f5e7f9fbfa541137d6d1d5643ec3b718e9d5039","https://github.com/composer/composer/commit/65e6390c49f1a11cd8b660d81822086db51fe2d1","https://github.com/composer/composer/commit/e66c8fdb7ff5409bd2f358c5f194038e49e93714","https://github.com/composer/composer/releases/tag/1.10.28","https://github.com/composer/composer/releases/tag/2.2.28","https://github.com/composer/composer/releases/tag/2.9.8"],"weaknesses":["CWE-200"],"ingestedAt":"2026-10-29T20:12:07.131Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/45xxx/CVE-2026-45793.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-45793","state":"PUBLISHED","datePublished":"2026-07-15T16:22:19.418Z","dateUpdated":"2026-07-15T18:11:10.355Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-05-13T08:19:32.603Z"},"containers":{"cna":{"title":"Composer: Github Actions issued GITHUB_TOKEN disclosure in GitHub Actions logs","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"composer","product":"composer","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"}]}],"references":[{"url":"https://github.com/composer/composer/security/advisories/GHSA-f9f8-rm49-7jv2","name":"https://github.com/composer/composer/security/advisories/GHSA-f9f8-rm49-7jv2","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/composer/composer/pull/12853","name":"https://github.com/composer/composer/pull/12853","tags":["x_refsource_MISC"]},{"url":"https://github.com/composer/composer/pull/12855","name":"https://github.com/composer/composer/pull/12855","tags":["x_refsource_MISC"]},{"url":"https://github.com/composer/composer/commit/3f5e7f9fbfa541137d6d1d5643ec3b718e9d5039","name":"https://github.com/composer/composer/commit/3f5e7f9fbfa541137d6d1d5643ec3b718e9d5039","tags":["x_refsource_MISC"]},{"url":"https://github.com/composer/composer/commit/65e6390c49f1a11cd8b660d81822086db51fe2d1","name":"https://github.com/composer/composer/commit/65e6390c49f1a11cd8b660d81822086db51fe2d1","tags":["x_refsource_MISC"]},{"url":"https://github.com/composer/composer/commit/e66c8fdb7ff5409bd2f358c5f194038e49e93714","name":"https://github.com/composer/composer/commit/e66c8fdb7ff5409bd2f358c5f194038e49e93714","tags":["x_refsource_MISC"]},{"url":"https://github.com/composer/composer/releases/tag/1.10.28","name":"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","name":"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","name":"https://github.com/composer/composer/releases/tag/2.9.8","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-200","lang":"en","description":"CWE-200: Exposure of Sensitive Information to an Unauthorized Actor","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-07-15T16:22:19.418Z"},"source":{"advisory":"GHSA-f9f8-rm49-7jv2","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-07-15T18:11:02.102503Z","id":"CVE-2026-45793","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-07-15T18:11:10.355Z"}}]}}}