CVE-2026-50131
Fedify has an incomplete SSRF mitigation after GHSA-p9cg-vqcc-grcx: validatePublicUrl allows special-use IPv4 ranges
Also known as GHSA-xw9q-2mv6-9fr8
Mitigation
- Upgrade @fedify/fedify to one of 1.9.12, 1.10.11, 2.0.19, 2.1.15, 2.2.4 (or later in the same release line).
- Upgrade @fedify/vocab-runtime to one of 2.0.19, 2.1.15, 2.2.4 (or later in the same release line).
Who should check
- Projects that depend on npm package @fedify/fedify (>= 0.11.2, < 1.9.12)
- Projects that depend on npm package @fedify/vocab-runtime (< 2.0.19)
- Anyone running fedify-dev fedify >= 0.11.2, < 1.9.12; >= 1.10.0, < 1.10.11; >= 2.0.0, < 2.0.19; >= 2.1.0, < 2.1.15; >= 2.2.0, < 2.2.4
- Anyone running fedify-dev vocab-runtime < 2.0.19; >= 2.1.0, < 2.1.15; >= 2.2.0, < 2.2.4
Vulnerability facts
- Affected
- @fedify/fedify >= 0.11.2, < 1.9.12; @fedify/vocab-runtime < 2.0.19
- Fixed in
- 1.9.12, 1.10.11, 2.0.19, 2.1.15, 2.2.4
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 8.6 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:LOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: Low
- Availability impact: Low
- EPSS
- 0.42% chance of exploitation in 30 days (percentile 28, 2026-11-26)
- CWE
- CWE-918, CWE-1286, CWE-1389
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| npm @fedify/fedify | >= 0.11.2, < 1.9.12 | 1.9.12, 1.10.11, 2.0.19, 2.1.15, 2.2.4 | osv |
| npm @fedify/vocab-runtime | < 2.0.19 | 2.0.19, 2.1.15, 2.2.4 | osv |
| fedify-dev fedify | >= 0.11.2, < 1.9.12; >= 1.10.0, < 1.10.11; >= 2.0.0, < 2.0.19; >= 2.1.0, < 2.1.15; >= 2.2.0, < 2.2.4 | — | cvelist |
| fedify-dev vocab-runtime | < 2.0.19; >= 2.1.0, < 2.1.15; >= 2.2.0, < 2.2.4 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-50131. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-50131.md Affected: @fedify/fedify >= 0.11.2, < 1.9.12; @fedify/vocab-runtime < 2.0.19 Fixed in: 1.9.12, 1.10.11, 2.0.19, 2.1.15, 2.2.4 Steps: 1. Search this machine and project for @fedify/fedify (npm), @fedify/vocab-runtime (npm), fedify-dev fedify, fedify-dev vocab-runtime: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
FAQ
Is CVE-2026-50131 being exploited?
There is no confirmed exploitation: CVE-2026-50131 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.42% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-50131?
High: CVSS 8.6 (v3.1, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2026-50131?
@fedify/fedify >= 0.11.2, < 1.9.12; @fedify/vocab-runtime < 2.0.19.
Is there a fix for CVE-2026-50131?
Yes. Fixed in 1.9.12, 1.10.11, 2.0.19, 2.1.15, 2.2.4. Upgrade @fedify/fedify to one of 1.9.12, 1.10.11, 2.0.19, 2.1.15, 2.2.4 (or later in the same release line). Upgrade @fedify/vocab-runtime to one of 2.0.19, 2.1.15, 2.2.4 (or later in the same release line).
How do I check if I'm affected by CVE-2026-50131?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.