Skip to main content
No exploitation reportedFix availableAwaiting NVD analysis

CVE-2026-45793

No exploitation reported by the sources we read.

  • Published2026-07-15
  • Fixed in2.9.8 · 2.2.28 · 1.10.28
  • WeaknessCWE-200

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2026-07-1517:16CVE publishedNVD

Versions per branch

OSV
composer
BranchAffectedFixed in
2.x≥ 2.3.0, < 2.9.82.9.8
2.x≥ 2.0.0, < 2.2.282.2.28
1.x≥ 1.0.0, < 1.10.281.10.28
composer/composer
BranchAffectedFixed in
2.x≥ 2.3.0, < 2.9.82.9.8
2.x≥ 2.0.0, < 2.2.282.2.28
1.x≥ 1.0, < 1.10.281.10.28

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • composer
    Affected
    • = >= 1.0, < 1.10.28no fix stated
    • = >= 2.0.0, < 2.2.28no fix stated
    • = >= 2.3.0, < 2.9.8no fix stated

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2026-07-15

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • composerUbuntu:Pro:20.04:LTSall versions · no fixed version listed
  • composerUbuntu:Pro:18.04:LTSall versions · no fixed version listed
  • composerUbuntu:Pro:16.04:LTSall versions · no fixed version listed
  • composerMinimOSall versions · fixed in 2.9.8-r0
  • composerDebian:14all versions · fixed in 2.10.0-1
  • composerDebian:13all versions · fixed in 2.8.8-1+deb13u3
  • composerDebian:12all versions · fixed in 2.5.5-1+deb12u5
  • composerAlpine:v3.24all versions · fixed in 2.9.8-r0

20 more package ranges on OSV.dev

Vendor advisories

  • CVE-2026-45793 Red Hat Product Security

    composer/composer: Composer: Information disclosure of GitHub OAuth tokens via improper validation

Full record on NVD

Fix

  1. Update composer to 2.9.8 · 2.2.28 · 1.10.28

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

  • NVDCVE recordread 2026-10-23
  • CISA-ADPSSVC decisionnone2026-07-15
  • CNACVSS 3.17.5known since 2026-10-23
  • CNAweakness (CWE)CWE-200known since 2026-10-23
  • FIRST EPSSEPSS score1.0 %2026-11-09
  • OSVaffected packages—
  • GitHub AdvisoriesadvisoryHIGH2026-05-19

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Published
2026-07-15
Last Modified
2026-07-15
NVD status
Awaiting Analysis
GitHub Advisory
GHSA-f9f8-rm49-7jv2

Frequently asked questions

What is 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.

Is CVE-2026-45793 actively exploited?

Active exploitation of CVE-2026-45793 has not been confirmed. Its EPSS score was 1.0% on 2026-11-09, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2026-45793?

CVE-2026-45793 has a CVSS v3 base score of 7.5 (HIGH severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.

Running composer? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record