---
title: "GHSA-fph4-wmhf-6fwf: fast-uri vulnerable to server-side request forgery via repeated hostname percent-decoding"
description: "High severity. fast-uri vulnerable to server-side request forgery via repeated hostname percent-decoding. Affects fast-uri; fixed in 4.1.3."
url: https://inlinr.com/advisories/GHSA-fph4-wmhf-6fwf
lang: en
---

[Packages](https://inlinr.com/packages) / [fast-uri](https://inlinr.com/packages/fast-uri) / [Security](https://inlinr.com/packages/fast-uri/security)

High Vulnerability GHSA-fph4-wmhf-6fwf CVE-2026-75899 Published 2 Sep 2026

# fast-uri vulnerable to server-side request forgery via repeated hostname percent-decoding

Your version 

Affected releases · [fast-uri](https://inlinr.com/packages/fast-uri)

- 4.x 4.0.0 – 4.1.2 Fixed in 4.1.3
- 3.x 3.1.2 – 3.1.5 Fixed in 3.1.6
- 2.x 2.4.1 – 2.4.4 Fixed in 2.4.5

On 4.x, the newest line:

```
npm install fast-uri@4.1.3
```

Every release on a timeline

4.x 

1. Affected

4.0.0 – 4.1.2  
5 releases
2. Fixed

4.1.3 – 4.2.3  
7 releases, latest

3.x 

1. Not affected

3.0.0 – 3.1.1  
9 releases
2. Affected

3.1.2 – 3.1.5  
4 releases
3. Fixed

3.1.6 – 3.1.9  
4 releases

2.x 

1. Not affected

2.0.0 – 2.4.0  
6 releases
2. Affected

2.4.1 – 2.4.4  
4 releases
3. Fixed

2.4.5 – 2.4.8  
4 releases

47 stable releases of fast-uri, oldest to newest, one row per major.

## What happens

Impact

`fast-uri` decodes a hostname's percent escapes twice in a single `normalize()` or `resolve()` call: once during parsing and again during authority recomposition. A nested percent-encoded host therefore survives the first decode and is turned into a live destination by the second, so `normalize('http://%256c%256f%2563%2561%256c%2568%256f%2573%2574/')` returns `http://localhost/`. Applications that normalize or resolve an untrusted URI before an SSRF check, redirect validation, or host allowlist can be steered to a different destination, including internal addresses such as loopback or a cloud metadata endpoint, than the encoded input appeared to contain. This is an incomplete-fix variant of CVE-2026-6322, whose encoded-authority-delimiter fix introduced the second decode.

Patches

Fixed in `fast-uri` 2.4.5, 3.1.6, and 4.1.3.

Workarounds

Reject untrusted URIs whose host component contains an encoded percent sign (`%25`) before passing them to `normalize()` or `resolve()`.

## How it is exploited

Exploitable over the network, with no account and no action from a user.

- **Confidentiality**: none
- **Integrity**: high
- **Availability**: none

CVSS:3.1/​AV:N/​AC:L/​PR:N/​UI:N/​S:U/​C:N/​I:H/​A:N

## References

- [Reference](https://github.com/fastify/fast-uri/security/advisories/GHSA-fph4-wmhf-6fwf "https://github.com/fastify/fast-uri/security/advisories/GHSA-fph4-wmhf-6fwf")  
github.com/fastify/fast-uri/security/advisories…
- [NVD](https://nvd.nist.gov/vuln/detail/CVE-2026-75899 "https://nvd.nist.gov/vuln/detail/CVE-2026-75899")  
nvd.nist.gov/vuln/detail/CVE-2026-75899
- [Fix commit](https://github.com/fastify/fast-uri/commit/2642290672e7211c990aaed3749c2ce667d0af4f "https://github.com/fastify/fast-uri/commit/2642290672e7211c990aaed3749c2ce667d0af4f")  
2642290
- [Fix commit](https://github.com/fastify/fast-uri/commit/8c15dbe94ec50bb8e595791ebb42c35cef0fd304 "https://github.com/fastify/fast-uri/commit/8c15dbe94ec50bb8e595791ebb42c35cef0fd304")  
8c15dbe
- [Fix commit](https://github.com/fastify/fast-uri/commit/ae92a4c5d8c4b6c9e447f048d5fcbde7eebd5514 "https://github.com/fastify/fast-uri/commit/ae92a4c5d8c4b6c9e447f048d5fcbde7eebd5514")  
ae92a4c
- [Reference](https://cna.openjsf.org/security-advisories.html "https://cna.openjsf.org/security-advisories.html")  
cna.openjsf.org/security-advisories.html
- [Package](https://github.com/fastify/fast-uri "https://github.com/fastify/fast-uri")  
github.com/fastify/fast-uri
- [Reference](https://github.com/fastify/fast-uri/releases/tag/v2.4.5 "https://github.com/fastify/fast-uri/releases/tag/v2.4.5")  
github.com/fastify/fast-uri/releases/tag/v2.4.5
- [Reference](https://github.com/fastify/fast-uri/releases/tag/v3.1.6 "https://github.com/fastify/fast-uri/releases/tag/v3.1.6")  
github.com/fastify/fast-uri/releases/tag/v3.1.6
- [Reference](https://github.com/fastify/fast-uri/releases/tag/v4.1.3 "https://github.com/fastify/fast-uri/releases/tag/v4.1.3")  
github.com/fastify/fast-uri/releases/tag/v4.1.3

A whole project to check? Paste its package.json in the [dependency check](https://inlinr.com/tools/dependency-check): every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.
