# CVE-2026-115750: mcp-from-openapi from 2.5.0 before 2.9.0 Credential Leak via Cross-Origin Redirects

Source: https://aplosec.si/cve/CVE-2026-115750/

[AploSec](https://aplosec.si/) / [Disclosures](https://aplosec.si/disclosures/) / CVE-2026-115750

Medium 6.3 · Fix merged · Fixed in 2.9.0 · CWE-522 · npm

# mcp-from-openapi from 2.5.0 before 2.9.0 Credential Leak via Cross-Origin Redirects

CVE-2026-115750 · published 2026-10-23

In plain words: this type of bug can expose passwords, tokens or private data to people who should not see them (information exposure). A fixed release is listed.

## Summary

CVE-2026-115750 affects mcp-from-openapi (npm) 2.5.0 before 2.9.0: Credential leakage via cross-origin redirects (CWE-522). Fixed in 2.9.0. CVSS 4.0 base score 6.3 (Medium), assigned by VulnCheck. Published 2026-10-23 by VulnCheck. Credit: Zachariah Mithani (AploSec).

mcp-from-openapi from 2.5.0 before 2.9.0 contains a credential exposure vulnerability that allows attackers to capture Authorization and Cookie headers because safeFetch() forwards them on cross-origin redirects. Attackers controlling a spec host or abusing an open redirect can redirect fromURL() spec requests to their own origin to steal bearer tokens or cookies.

## Evidence

The maintainer accepted the patch submitted with the report and merged the fix.

## Remediation

Upgrade mcp-from-openapi to 2.9.0 or later. Releases in the affected range (2.5.0 before 2.9.0) are vulnerable. See the linked advisory for details on affected release lines.

## Timeline

- 2026-10-23 CVE published

- 2026-11-05 Public record last updated

## Related advisory records

- [GHSA-ff5q-5r4v-fw4v](https://github.com/agentfront/mcp-from-openapi/security/advisories/GHSA-ff5q-5r4v-fw4v) : Low 3.7, as assessed in the GitHub advisory.

These records cover the same issue or related issues. They are linked here rather than counted again in the disclosure list. Severity assessments may differ by source and scope.

## References

- [Referencehttps://github.com/agentfront/mcp-from-openapi/security/advisories/GHSA-ff5q-5r4v-fw4v](https://github.com/agentfront/mcp-from-openapi/security/advisories/GHSA-ff5q-5r4v-fw4v)

- [VulnCheck advisoryhttps://www.vulncheck.com/advisories/mcp-from-openapi-from-2.5.0-before-2.9.0-credential-leak-via-cross-origin-redirects](https://www.vulncheck.com/advisories/mcp-from-openapi-from-2.5.0-before-2.9.0-credential-leak-via-cross-origin-redirects)

- [Fix pull requesthttps://github.com/agentfront/mcp-from-openapi/pull/42](https://github.com/agentfront/mcp-from-openapi/pull/42)

- [Fix commithttps://github.com/agentfront/mcp-from-openapi/commit/47fb7a655de33958b0c923490ab244343eb5fc44](https://github.com/agentfront/mcp-from-openapi/commit/47fb7a655de33958b0c923490ab244343eb5fc44)

- [CVE recordhttps://www.cve.org/CVERecord?id=CVE-2026-115750](https://www.cve.org/CVERecord?id=CVE-2026-115750)

- [NVD recordhttps://nvd.nist.gov/vuln/detail/CVE-2026-115750](https://nvd.nist.gov/vuln/detail/CVE-2026-115750)

**Severity:** Medium 6.3 CVSS 4.0, scored by VulnCheck in the [CVE record](https://www.cve.org/CVERecord?id=CVE-2026-115750)

**Package:** mcp-from-openapi

**Ecosystem:** npm

**Affected:** 2.5.0 before 2.9.0

**Fixed:** 2.9.0

**Weakness:** CWE-522

**CNA:** VulnCheck

**Credit:** Zachariah Mithani (AploSec) finder
