GHSA-53wh-3r96-488vLowCVSS 3.1
Shepherd (shepherd-ai) through 0.3.1 contains a server-side request forgery guard bypass in the...
🔗 CVE IDs covered (1)
📋 Description
Shepherd (shepherd-ai) through 0.3.1 contains a server-side request forgery guard bypass in the citation-checker extra because the public_url guard validates a resolved address but fetch re-resolves the hostname at connect time. Attackers who plant a crafted reference URL in a checked document and control its DNS can rebind it to internal addresses, sending GET requests to internal HTTP(S) services and capturing responses in evidence files.
🔗 References (7)
- https://nvd.nist.gov/vuln/detail/CVE-2026-108741
- https://github.com/shepherd-agents/shepherd
- https://github.com/shepherd-agents/shepherd/blob/d34d5ca334871dfcb5a3dc76dd78045829fa4e56/shepherd/extras/citation-checker/src/shepherd_citation_checker/_engine/fetch.py#L34-L55
- https://github.com/shepherd-agents/shepherd/blob/d34d5ca334871dfcb5a3dc76dd78045829fa4e56/shepherd/extras/citation-checker/src/shepherd_citation_checker/_engine/network.py#L9-L17
- https://hackmd.io/@haind03/shepherd-citation-checker-dns-rebinding-ssrf
- https://www.vulncheck.com/advisories/shepherd-through-0.3.1-ssrf-via-dns-rebinding-in-citation-checker
- https://github.com/advisories/GHSA-53wh-3r96-488v