Vulnerability
CVE-2026-45793
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.
15 advisories report this vulnerability, across 7 ecosystems.
Advisories
-
ALAS2023-2026-1800
Amazon Linux 2023 - ALAS2023-2026-1800: Medium priority package update for composer
-
ALPINE-CVE-2026-45793
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…
- ALPINE-EDGE-CVE-2026-45793
-
DEBIAN-CVE-2026-45793
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…
-
GHSA-f9f8-rm49-7jv2
Github Actions issued GITHUB_TOKEN disclosure in GitHub Actions logs
-
SUSE-SU-2026:23116-1
Security update for php-composer2
-
SUSE-SU-2026:23138-1
Security update for php-composer2
-
SUSE-SU-2026:23943-1
Security update for php-composer2
-
SUSE-SU-2026:3105-1
Security update for php-composer2
-
SUSE-SU-2026:4283-1
Security update for php-composer2
-
SUSE-SU-2026:4288-1
Security update for php-composer2
-
UBUNTU-CVE-2026-45793
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…
-
openSUSE-SU-2026:11300-1
php-composer2-2.10.2-2.1 on GA media
-
openSUSE-SU-2026:21520-1
Security update for php-composer2
-
openSUSE-SU-2026:21970-1
Security update for php-composer2
References
- 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/pull/12853
- https://github.com/composer/composer/pull/12855
- 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
- https://github.com/composer/composer/security/advisories/GHSA-f9f8-rm49-7jv2