# langchain-openai: Image token counting SSRF protection can be bypassed via DNS rebinding

Advisory record · `GHSA-r7w7-9xr2-qq2r`

- **Identifiers:** `GHSA-r7w7-9xr2-qq2r` · `CVE-2026-41488` · `PYSEC-2026-76`
- **State:** Confirmed
- **Severity:** CVSS 3.1 Low
- **Critical:** No
- **Weakness (CWE):** [CWE-918](https://cwe.mitre.org/data/definitions/918.html)
- **Tags:** [Server-side request forgery (SSRF)](https://agentprime.io/advisories/tag/ssrf.md)
- **Published:** 16 Apr 2026
- **Updated:** 6 Jun 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 16 Apr 2026, 23:00 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `langchain-openai` (PyPI): affected `<1.1.14`; fixed in `1.1.14`

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

- 3.1 Low, CVSS 3.1: `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N`, from CNA (GitHub_M)

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

## Timeline

- 16 Apr 2026, 17:21 UTC: [Published by the maintainers as a GitHub repository advisory](https://github.com/langchain-ai/langchain/security/advisories/GHSA-r7w7-9xr2-qq2r)

## Sources

- [GitHub Advisory Database: GHSA-r7w7-9xr2-qq2r](https://github.com/advisories/GHSA-r7w7-9xr2-qq2r)
- [OSV: GHSA-r7w7-9xr2-qq2r](https://osv.dev/vulnerability/GHSA-r7w7-9xr2-qq2r)
- <https://github.com/langchain-ai/langchain/security/advisories/GHSA-r7w7-9xr2-qq2r>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-41488>
- <https://github.com/langchain-ai/langchain>
- <https://github.com/pypa/advisory-database/tree/main/vulns/langchain-openai/PYSEC-2026-76.yaml>

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-r7w7-9xr2-qq2r>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-r7w7-9xr2-qq2r/>. Everything for agents: <https://agentprime.io/llms.txt>.
