CVE-2026-50131
Fedify has an incomplete SSRF mitigation after GHSA-p9cg-vqcc-grcx: validatePublicUrl allows special-use IPv4 ranges
Check your servers for CVE-2026-50131
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-50131 affects fedify, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
Fedify is a TypeScript library for building federated server apps powered by ActivityPub. Fedify previously addressed SSRF/internal network access in GHSA-p9cg-vqcc-grcx by adding public URL validation before runtime document and media fetching. However, the IPv4 validation logic present starting in version 0.11.2 and prior to versions 1.9.12, 1.10.11, 2.0.19, 2.1.15, and 2.2.4 appears incomplete. The `validatePublicUrl()` protection relies on `isValidPublicIPv4Address()` to reject non-public IPv4 destinations. The function blocks common private and local ranges such as `10.0.0.0/8`, `127.0.0.0/8`, `169.254.0.0/16`, `172.16.0.0/12`, and `192.168.0.0/16`, but it still treats several special-use, reserved, multicast, benchmarking, and carrier-grade NAT IPv4 ranges as valid public destinations. Because this validation is used as an SSRF defense before outbound fetches, this appears to be an incomplete mitigation or bypass class for the previous SSRF issue. Versions 1.9.12, 1.10.11, 2.0.19, 2.1.15, and 2.2.4 contain an updated patch.
Severity (CVSS)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity low, availability low: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.35%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 30.7% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 11 Jun 2026):
- Exploitation
- poc: a proof of concept is public
- Automatable
- yes: an attacker can automate the attack across many targets
- Technical impact
- partial: limited control or limited data
Weakness
- CWE-918 Server-Side Request Forgery
- CWE-1286 Improper Validation of Syntactic Correctness of Input
- CWE-1389 Incorrect Parsing of Numbers with Different Radices
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| fedify |
affected >= 0.11.2, < 1.9.12 affected >= 1.10.0, < 1.10.11 affected >= 2.0.0, < 2.0.19 affected >= 2.1.0, < 2.1.15 affected >= 2.2.0, < 2.2.4
|
| vocab-runtime |
affected < 2.0.19 affected >= 2.1.0, < 2.1.15 affected >= 2.2.0, < 2.2.4
|
Is my server affected?
Find the installed version of fedify and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i fedify
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2026-50131 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2026-50131RHEL, Rocky, Alma, Fedora
rpm -q fedify
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2026-50131Alpine
apk list --installed | grep -i fedifyWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-50131
trivy image --scanners vuln IMAGE | grep CVE-2026-50131
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Exploits and proof of concept
- https://github.com/fedify-dev/fedify/security/advisories/GHSA-xw9q-2mv6-9fr8 github.com · exploit
Source: the record CVE-2026-50131 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse