# Composer is vulnerable to ANSI sequence injection

Advisory record · `GHSA-59pp-r3rg-353g`

- **Identifiers:** `GHSA-59pp-r3rg-353g` · `BIT-composer-2025-67746` · `CVE-2025-67746` · `PKSA-1gck-s111-yq7g`
- **State:** Confirmed
- **Severity:** CVSS 1.3 Low
- **Critical:** No
- **Weakness (CWE):** [CWE-74](https://cwe.mitre.org/data/definitions/74.html)
- **Tags:** [Other injection](https://agentprime.io/advisories/tag/injection.md)
- **Published:** 30 Dec 2025
- **Updated:** 3 Feb 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 30 Dec 2025, 17:44 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `composer/composer` (Packagist): affected `>=2.0.0, <2.2.26 || >=2.3.0, <2.9.3`; fixed in `2.2.26`, `2.9.3`

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 1.3 Low, CVSS 4.0: `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U`, from CNA (GitHub_M)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0045, the 39th percentile, on 15 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 30 Dec 2025, 12:53 UTC: [Published by the maintainers as a GitHub repository advisory](https://github.com/composer/composer/security/advisories/GHSA-59pp-r3rg-353g)

## Sources

- [GitHub Advisory Database: GHSA-59pp-r3rg-353g](https://github.com/advisories/GHSA-59pp-r3rg-353g)
- [OSV: GHSA-59pp-r3rg-353g](https://osv.dev/vulnerability/GHSA-59pp-r3rg-353g)
- <https://github.com/composer/composer/security/advisories/GHSA-59pp-r3rg-353g>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-67746>
- <https://github.com/composer/composer/commit/1d40a95c9d39a6b7f80d404ab30336c586da9917>
- <https://github.com/composer/composer/commit/5db1876a76fdef76d3c4f8a27995c434c7a43e71>
- <https://github.com/composer/composer>
- <https://github.com/composer/composer/releases/tag/2.2.26>
- <https://github.com/composer/composer/releases/tag/2.9.3>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-59pp-r3rg-353g>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-59pp-r3rg-353g/>. Everything for agents: <https://agentprime.io/llms.txt>.
