GHSA-564p-rx2q-4c8v: BentoML Open Redirect vulnerability
BentoML 1.3.9 and earlier has an open redirect. A specially crafted URL on a BentoML service sends users to any website the attacker picks, with no login needed. It can feed phishing, malware downloads and credential theft. The advisory lists no patched version.
Published Mar 20, 2025 · Updated Apr 15, 2025 · Analysis Nov 1, 2026
What an attacker can do
A BentoML server redirects to a destination taken from the request URL without checking it. The advisory does not name the route or parameter. An attacker builds a link on your service's host name that bounces the visitor to a site they control.
No privileges are needed, but the victim has to follow the link. The scope is changed in the CVSS vector, since the harm lands in the victim's browser and on another site. Because the link starts on your own domain, mail filters and users are more likely to trust it.
A BentoML host that does not hold user sessions limits the damage to phishing and malware delivery. It does not give the attacker access to the model server or its data.
Who is affected
bentoml (pip) 1.3.9 and earlier. The advisory names no fixed release. Check what you run:
pip show bentomlAny BentoML service reachable by users over HTTP can be used as the starting point of a redirect link.
bentoml
- Ecosystem
- PyPI
- Affected
- <= 1.3.9
- Fixed in
- No patched version yet
- Check
pip show bentoml
How to fix it
The advisory lists no patched version and no workaround. Check the BentoML release notes for a version newer than 1.3.9 and upgrade.
Until then, put the service behind a reverse proxy or gateway that drops requests with absolute URLs in query parameters or paths, and do not expose BentoML directly to end users. Test any such rule, as the sources do not detail the trigger.
How to tell if you were hit
Look in the access logs for requests where a 301, 302 or 307 response carries a Location header pointing to a host that is not yours. Look for external URLs, plain or percent-encoded, inside the request path or query. Phishing reports that cite your BentoML host name are another sign.
Original advisory
From the GitHub Advisory Database (CC BY 4.0).
An open redirect vulnerability in bentoml/bentoml v1.3.9 allows a remote unauthenticated attacker to redirect users to arbitrary websites via a specially crafted URL. This can be exploited for phishing attacks, malware distribution, and credential theft.
Questions
- Is there a fix for this BentoML open redirect?
The advisory lists no patched release. It marks 1.3.9 and earlier as affected. Look at the project's release notes for a newer version.
- Does the attacker need to be logged in?
No. The advisory says a remote unauthenticated attacker can exploit it. The victim must open the crafted URL.
- Can this redirect lead to remote code execution on the server?
No. It sends the visitor's browser elsewhere. The listed impact is phishing, malware distribution and credential theft against users.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. The analysis is written by an AI model from the sources listed above and checked by automated rules before it is published. Check versions against the vendor's advisory before you act. Methodology
More BentoML vulnerabilities
All BentoML entriesCVE-2026-44345
BentoML Dockerfile command injection via docker.base_image (sister of pending GHSA-w2pm-x38x-jp44 / CVE-2026-33744 / CVE-2026-35043)
high8.8May 11, 2026CVE-2026-44346
Dockerfile command injection via envs[*].name in bentofile.yaml (sibling fix-bypass of CVE-2026-33744 and CVE-2026-35043)
high8.8May 11, 2026CVE-2026-40610
BentoML has Information Disclosure in `bentoml build` via symlink traversal in the build context
medium5.5May 7, 2026CVE-2026-35043
BentoML: Command Injection in cloud deployment setup script
high7.8Apr 3, 2026CVE-2026-35044
BentoML: SSTI via Unsandboxed Jinja2 in Dockerfile Generation
high8.8Apr 3, 2026CVE-2026-33744
BentoML has Dockerfile Command Injection via system_packages in bentofile.yaml
high7.8Mar 26, 2026
