EEF-CVE-2026-77866

Source
https://cna.erlef.org/osv/EEF-CVE-2026-77866.html
Import Source
https://cna.erlef.org/osv/EEF-CVE-2026-77866.json
JSON Data
https://api.osv.dev/v1/vulns/EEF-CVE-2026-77866
Aliases
  • CVE-2026-77866
Published
2026-09-15T15:38:15Z
Modified
2026-09-15T15:45:03Z
Severity
  • 9.0 (Critical) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:L/VA:N/SC:H/SI:L/SA:N CVSS Calculator
Summary
SSRF protection bypass in safeurl via IPv6 addresses and unresolvable hosts
Details

Summary

Server-Side Request Forgery (SSRF) vulnerability in Slab safeurl allows an attacker who controls a validated URL to reach internal network destinations the library is configured to block.

Only IPv4 addresses are matched against the reserved ranges and the blocklist. Every other address is treated as matching nothing, so a destination that is rejected in its IPv4 form is accepted when written as an IPv6 address, IPv6 entries in the blocklist never match, and a host that resolves to no IPv4 address is accepted regardless of where it points. Deployments that rely on the allowlist instead are unaffected, because there an unmatched address is rejected.

This issue affects safeurl: from 0.1.0 onward.

Database specific
{
    "capec_ids": [
        "CAPEC-664"
    ],
    "cpe_ids": [
        "cpe:2.3:a:slab:safeurl:*:*:*:*:*:*:*:*"
    ],
    "cwe_ids": [
        "CWE-918",
        "CWE-636"
    ]
}
References
Credits
    • Mathias Polligkeit - REPORTER
    • Jonatan Männchen / EEF - COORDINATOR

Affected packages

Hex / safeurl

Package

Name
safeurl
Purl
pkg:hex/safeurl

Affected ranges

Type
SEMVER
Events
Introduced
0.1.0

Affected versions

0.*
0.1.0
0.2.0
0.3.0
0.3.1
1.*
1.0.0

Database specific

source
"https://cna.erlef.org/osv/EEF-CVE-2026-77866.json"

Git / github.com/slab/safeurl-elixir

Affected ranges

Type
GIT
Repo
https://github.com/slab/safeurl-elixir
Events

Affected versions

v0.*
v0.1.0
v0.2.0
v0.3.0
v0.3.1
v1.*
v1.0.0

Database specific

source
"https://cna.erlef.org/osv/EEF-CVE-2026-77866.json"