CVE-2026-45793 Composer: Github Actions issued GITHUB_TOKEN disclosure in GitHub Actions logs
설명
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.
영향 받는 제품 제품 1개
-
해결 버전 있음
composer
composer
영향 받는 버전
- 1.0 이상 1.10.28 미만
- 2.0.0 이상 2.2.28 미만
- 2.3.0 이상 2.9.8 미만
해결 버전
- 1.10.28 이상
- 2.2.28 이상
- 2.9.8 이상
참고 자료 9건
- github.com https://github.com/composer/composer/commit/3f5e7f9fbfa541137d6d1d5643ec3b718e9d5039 (새 창)
- github.com https://github.com/composer/composer/commit/65e6390c49f1a11cd8b660d81822086db51fe2d1 (새 창)
- github.com https://github.com/composer/composer/commit/e66c8fdb7ff5409bd2f358c5f194038e49e93714 (새 창)
- github.com https://github.com/composer/composer/pull/12853 (새 창)
- github.com https://github.com/composer/composer/pull/12855 (새 창)
- github.com https://github.com/composer/composer/releases/tag/1.10.28 (새 창)
- github.com https://github.com/composer/composer/releases/tag/2.2.28 (새 창)
- github.com https://github.com/composer/composer/releases/tag/2.9.8 (새 창)
- github.com https://github.com/composer/composer/security/advisories/GHSA-f9f8-rm49-7jv2 (새 창)