Description
Swarms through 6.8.1, fixed in commit 8b0fc9e, contains a server-side request forgery vulnerability in the _is_safe_url function that fails to validate hostnames through DNS resolution, allowing attackers to bypass the blocklist. Attackers can supply user-controlled image or audio URLs that resolve to private, loopback, or metadata addresses to reach internal services and exfiltrate credentials.
Severity (CVSS)
| Base score | 7.7 |
|---|---|
| Severity | High |
| Version | CVSS 4.0 |
| Vector | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:H/SI:N/SA:N |
| Provided by | CNA |
Weaknesses
- CWE-918 — Server-Side Request Forgery (SSRF)
Affected products
| Vendor | Product | Versions |
|---|---|---|
| kyegomez | swarms | 0 to <=6.8.1; 8b0fc9e4645603ad94d5fcf4da86e3b9c71f4743 |
References
- https://github.com/kyegomez/swarms/issues/1714 (technical-description)
- https://github.com/kyegomez/swarms/pull/1734 (issue-tracking)
- https://github.com/kyegomez/swarms/commit/8b0fc9e4645603ad94d5fcf4da86e3b9c71f4743 (patch)
- https://www.vulncheck.com/advisories/swarms-server-side-request-forgery-via-dns-rebinding-bypass (third-party-advisory)
Generated from the official CVE List on 31 Jul 2026 07:05 UTC.