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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| kyegomez | swarms | ≤ 6.8.1 | — |
References
- Researcher Disclosure technical-description issue-tracking
- Pull Request issue-tracking patch
- Patch Commit patch
- https://www.vulncheck.com/advisories/swarms-server-side-request-forgery-via-dns-rebinding-bypass third-party-advisory