CVEfocus › CVE database › CVE-2026-45793

CVE-2026-45793Composer: Github Actions issued GITHUB_TOKEN disclosure in GitHub Actions logs

CVSS 7.5 HighEPSS 1.0% (higher than 63% of CVEs)Published 2026-07-15Updated 2026-07-15Assigner: GitHub_M

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.

CWE-200

What to do

Fixed builds are available from Alpine, Debian, Packagist: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

5Fixed
3Fix pending
2Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04composerNot affected
vulnerable_code_not_present
Ubuntu 25.10composerNot affected
vulnerable_code_not_present
Ubuntu 20.04composerFix pendingUBUNTU-CVE-2026-45793
Ubuntu 18.04composerFix pendingUBUNTU-CVE-2026-45793
Ubuntu 16.04composerFix pendingUBUNTU-CVE-2026-45793
Debian 14composerFixed2.10.0-1DEBIAN-CVE-2026-45793
Debian 13composerFixed2.8.8-1+deb13u3DEBIAN-CVE-2026-45793
Debian 12composerFixed2.5.5-1+deb12u5DEBIAN-CVE-2026-45793
Alpine Linux 3.24composerFixed2.9.8-r0ALPINE-CVE-2026-45793
Packagist librarycomposer/composerFixed2.2.28GHSA-f9f8-rm49-7jv2

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.