{"answers":{"affected":"7 open source packages ship an affected version, including composer/composer and composer.","exploited":"There is no known exploitation of CVE-2026-45793 in the wild and no public exploit code.","fix":"Upgrade composer/composer to a fixed version for your release line: 1.10.28, 2.2.28 or 2.9.8.","what":"CVE-2026-45793 is a high-severity vulnerability in composer, published on 15 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-45793 and fix it if it is affected.\n\nWhat it is: CVE-2026-45793 is a high-severity vulnerability in composer, published on 15 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-45793 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- composer/composer (Packagist): affected from 1.0; fixed in 1.10.28\n- composer/composer (Packagist): affected from 1.0; fixed in 1.10.28\n- composer/composer (Packagist): affected from 2.0.0; fixed in 2.2.28\n- composer/composer (Packagist): affected from 2.0.0; fixed in 2.2.28\n- composer/composer (Packagist): affected from 2.3.0; fixed in 2.9.8\n- composer/composer (Packagist): affected from 2.3.0; fixed in 2.9.8\n- composer (Bitnami): affected from 1.0.0; fixed in 1.10.28, 2.2.28, 2.9.8\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-45793/ (Markdown: https://insights.sbomify.com/CVE-2026-45793/index.md)","id":"CVE-2026-45793","markdown":"https://insights.sbomify.com/CVE-2026-45793/index.md","name":"CVE-2026-45793","record":{"aliases":["BIT-composer-2026-45793","DEBIAN-CVE-2026-45793","GHSA-f9f8-rm49-7jv2","MINI-7gw7-j99m-pm2h","MINI-c4v7-jfv8-vx4f","UBUNTU-CVE-2026-45793","openSUSE-SU-2026:11300-1"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"PHP dependency manager","requires_auth":"none","summary":"Composer may leak GitHub Actions GITHUB_TOKEN values into CI logs when token validation fails due to regex restrictions.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"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_\u003cid\u003e_\u003cbase64url-JWT\u003e 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.","ecosystems":["Bitnami","Packagist","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Composer: Github Actions issued GITHUB_TOKEN disclosure in GitHub Actions logs","id":"CVE-2026-45793","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":null,"products":[],"type":"information_disclosure","year":"2026"},"n_packages":8,"n_references":9,"next":{"headline":"OpenAM Unsafe Java Deserialization via SNS","id":"CVE-2026-45794"},"packages":[{"ecosystem":"Bitnami","fixed":["1.10.28","2.2.28","2.9.8"],"introduced":["1.0.0","2.0.0","2.3.0"],"last_affected":[],"package":"composer","purl":"pkg:bitnami/composer","source":"BIT-composer-2026-45793"},{"ecosystem":"Packagist","fixed":["1.10.28"],"introduced":["1.0"],"last_affected":[],"package":"composer/composer","purl":null,"source":"GHSA-f9f8-rm49-7jv2"},{"ecosystem":"Packagist","fixed":["1.10.28"],"introduced":["1.0"],"last_affected":[],"package":"composer/composer","purl":"pkg:composer/composer/composer","source":"GHSA-f9f8-rm49-7jv2"},{"ecosystem":"Packagist","fixed":["2.2.28"],"introduced":["2.0.0"],"last_affected":[],"package":"composer/composer","purl":null,"source":"GHSA-f9f8-rm49-7jv2"},{"ecosystem":"Packagist","fixed":["2.2.28"],"introduced":["2.0.0"],"last_affected":[],"package":"composer/composer","purl":"pkg:composer/composer/composer","source":"GHSA-f9f8-rm49-7jv2"},{"ecosystem":"Packagist","fixed":["2.9.8"],"introduced":["2.3.0"],"last_affected":[],"package":"composer/composer","purl":null,"source":"GHSA-f9f8-rm49-7jv2"},{"ecosystem":"Packagist","fixed":["2.9.8"],"introduced":["2.3.0"],"last_affected":[],"package":"composer/composer","purl":"pkg:composer/composer/composer","source":"GHSA-f9f8-rm49-7jv2"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["2.10.2-2.1"],"introduced":["0"],"last_affected":[],"package":"php-composer2","purl":"pkg:rpm/opensuse/php-composer2\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2026:11300-1"}],"prev":{"headline":"RTK improperly trusts project-local filter configuration, allowing silent tampering of command output shown to LLM","id":"CVE-2026-45792"},"products":["composer"],"published":"2026-07-15","related":[],"sources":[{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-07-15","vendors":["composer"]},"summary":"Composer may leak GitHub Actions GITHUB_TOKEN values into CI logs when token validation fails due to regex restrictions.","url":"https://insights.sbomify.com/CVE-2026-45793/"}