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

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.80%, higher than 57% of CVEs (2026-12-01)
- Published: 2026-05-19T16:17:58.000Z
- Modified: 2026-07-20T21:26:45.763Z
- Also known as: GHSA-f9f8-rm49-7jv2, BIT-COMPOSER-2026-45793
- Weaknesses: CWE-200
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- composer composer: >= 1.0, < 1.10.28; >= 2.0.0, < 2.2.28; >= 2.3.0, < 2.9.8
- composer/composer (Packagist): from 2.3.0 before 2.9.8; from 2.0.0 before 2.2.28; from 1.0 before 1.10.28
- composer (Bitnami): from 1.0.0 before 1.10.28; from 2.0.0 before 2.2.28; from 2.3.0 before 2.9.8

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Bitnami Vulnerability Database: rating High

## References

- <https://github.com/composer/composer/security/advisories/GHSA-f9f8-rm49-7jv2> (web)
- <https://github.com/composer/composer/pull/12853> (web)
- <https://github.com/composer/composer/pull/12855> (web)
- <https://github.com/composer/composer/commit/3f5e7f9fbfa541137d6d1d5643ec3b718e9d5039> (web)
- <https://github.com/composer/composer/commit/65e6390c49f1a11cd8b660d81822086db51fe2d1> (web)
- <https://github.com/composer/composer/commit/e66c8fdb7ff5409bd2f358c5f194038e49e93714> (web)
- <https://github.com/composer/composer/releases/tag/1.10.28> (web)
- <https://github.com/composer/composer/releases/tag/2.2.28> (web)
- <https://github.com/composer/composer/releases/tag/2.9.8> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-45793> (advisory, web)
- <https://github.com/FriendsOfPHP/security-advisories/blob/master/composer/composer/CVE-2026-45793.yaml> (web)
- <https://github.com/composer/composer> (package)

## Sources

- CVE List: [CVE-2026-45793](https://www.cve.org/CVERecord?id=CVE-2026-45793), CVE Terms of Use, modified 2026-07-15
- GitHub Advisory Database: [GHSA-f9f8-rm49-7jv2](https://github.com/advisories/GHSA-f9f8-rm49-7jv2), CC-BY-4.0, modified 2026-07-20
- NVD: [CVE-2026-45793](https://nvd.nist.gov/vuln/detail/CVE-2026-45793), Public domain, modified 2026-07-15
- Bitnami Vulnerability Database: [BIT-COMPOSER-2026-45793](https://osv.dev/vulnerability/BIT-COMPOSER-2026-45793), Apache-2.0, modified 2026-07-20

---

Page: https://cve.day/CVE-2026-45793 · Whole record: https://cve.day/CVE-2026-45793.json · Rebuilt by cve.day 2026-11-25T22:59:28.310Z
