cve.bz

CVE-2026-45793 composer composer

7.5 highEPSS 1.0%Fix available

High (7.5) in composer composer. EPSS 1.0% estimated probability of exploitation activity in the next 30 days. Fixed in composer/composer 1.10.28, 2.2.28, 2.9.8.

On this page
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.

Severity

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
EPSS
1.0% (unchanged from 1.0% a week ago; 1.0% 30 days ago) estimated probability of exploitation activity in the next 30 days; 64th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2026-07-15. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-45793 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-45793?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-45793?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-45793 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
composer>= 1.0, < 1.10.28
composer>= 2.0.0, < 2.2.28
composer>= 2.3.0, < 2.9.8

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-f9f8-rm49-7jv2Packagistcomposer/composer>=2.3.0 <2.9.82.9.8
GHSA-f9f8-rm49-7jv2Packagistcomposer/composer>=2.0.0 <2.2.282.2.28
GHSA-f9f8-rm49-7jv2Packagistcomposer/composer>=1.0 <1.10.281.10.28

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12composer2.5.5-1+deb12u5DEBIAN-CVE-2026-45793
Debian13composer2.8.8-1+deb13u3DEBIAN-CVE-2026-45793
Debian14composer2.10.0-1DEBIAN-CVE-2026-45793
UbuntuPro:16.04:LTS, Pro:18.04:LTS, Pro:20.04:LTScomposerno fix listedUBUNTU-CVE-2026-45793
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 5 morephp-composer22.2.30-150400.3.21.1SUSE-SU-2026:4283-1
SUSELinux Enterprise Module for Web and Scripting 15 SP7php-composer22.6.4-150600.3.23.1SUSE-SU-2026:4288-1
SUSELinux Enterprise Module for Web and Scripting 15 SP7, Linux Enterprise Server 15 SP6-LTSS, Linux Enterprise Server for SAP Applications 15 SP6php-composer22.6.4-150600.3.12.1SUSE-SU-2026:3105-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0php-composer22.8.9-160000.4.1SUSE-SU-2026:23116-1 SUSE-SU-2026:23138-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0php-composer22.8.9-160000.6.1SUSE-SU-2026:23943-1
openSUSELeap 16.0php-composer22.8.9-160000.4.1openSUSE-SU-2026:21520-1
openSUSELeap 16.0php-composer22.8.9-160000.6.1openSUSE-SU-2026:21970-1
openSUSETumbleweedphp-composer22.10.2-2.1openSUSE-SU-2026:11300-1
Alpinev3.24composer2.9.8-r0ALPINE-CVE-2026-45793

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Important.

Red Hat's statement

Red Hat does not ship the affected Composer package in any supported products. Composer is only available in community distributions (Fedora, EPEL, and Hummingbird), and all currently shipped versions (2.10.3) contain the fix for this vulnerability (fixed in versions 1.10.28, 2.2.28, and 2.9.8).

Red Hat's mitigation

Update to composer 1.10.28, 2.2.28, or 2.9.8 or later.

ProductPackageStateAdvisory
Red Hat Hardened ImagescomposerNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-45793.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-200 (59).

References

Check your stackJSON