GHSA-7p8r-x3mc-p8w7: SSRF

Published Aug 3, 2026
·
Updated

Impact

fast-uri v4.1.1 and earlier require a literal // to recognize a URI authority, so a reference that uses \\, /\, or \/ as the authority introducer (in place of //, after an optional scheme) is parsed with no authority: the sequence and everything after it fold into the path. Node's native WHATWG URL (used by fetch(), undici, and Node's http/https clients) instead treats \ as interchangeable with / for special schemes (http, https, ws, wss, ftp, file), so the two parsers extract different hosts from the same input.

For example, fast-uri resolves \\evil.com/path against base https://allowed.com/ to https://allowed.com/%5C%5Cevil.com/path (confined to the trusted host), while Node's WHATWG URL resolves the same reference to https://evil.com/path.

Applications that use fast-uri to enforce host-based policy (allowlists, denylists, loopback/SSRF filtering, redirect validation, outbound proxy routing) before passing the same URL into Node's URL or fetch() consumers see a policy/use desync and can be steered to an unintended destination.

Patches

Upgrade to fast-uri v4.1.2, v3.1.5, v2.4.4.

Workarounds

None. Upgrade to the patched version.

Affected Software

3 affected componentsFixes available
npm/fast-uri>=4.0.0<4.1.2
4.1.2
npm/fast-uri>=3.0.0<3.1.5
3.1.5
npm/fast-uri<2.4.4
2.4.4

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade npm/fast-uri to a version that resolves this vulnerability.

    Fixed in 4.1.2
  2. Upgrade

    Upgrade npm/fast-uri to a version that resolves this vulnerability.

    Fixed in 3.1.5
  3. Upgrade

    Upgrade npm/fast-uri to a version that resolves this vulnerability.

    Fixed in 2.4.4
  4. Upgrade

    Upgrade fast-uri to a version that resolves this vulnerability.

    Fixed in 4.1.2
  5. Upgrade

    Upgrade fast-uri to a version that resolves this vulnerability.

    Fixed in 3.1.5
  6. Upgrade

    Upgrade fast-uri to a version that resolves this vulnerability.

    Fixed in 2.4.4

Event History

Aug 3, 2026
Advisory Published
via GitHub·07:16 PM
Data Sourced
via GitHub·07:16 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of GHSA-7p8r-x3mc-p8w7?

The severity of GHSA-7p8r-x3mc-p8w7 is high, rated at 7.5.

2

How do I fix GHSA-7p8r-x3mc-p8w7?

To fix GHSA-7p8r-x3mc-p8w7, upgrade to `fast-uri` version 4.1.2 or later.

3

What is the impact of GHSA-7p8r-x3mc-p8w7?

The impact of GHSA-7p8r-x3mc-p8w7 includes improper URI authority parsing which can lead to server-side request forgery (SSRF).

4

Which software is affected by GHSA-7p8r-x3mc-p8w7?

The affected software for GHSA-7p8r-x3mc-p8w7 is `npm/fast-uri` versions 4.1.1 and earlier.

5

What kind of vulnerability is GHSA-7p8r-x3mc-p8w7?

GHSA-7p8r-x3mc-p8w7 is categorized as a server-side request forgery (SSRF) vulnerability.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203