CVE-2026-54166 Shelf Vulnerable to Server-Side Request Forgery (SSRF) via Asset CSV Import imageUrl Validation Bypass
Authenticated users can bypass URL validation to trigger SSRF, accessing internal services or causing memory exhaustion via buffered responses.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-54166?
CVE-2026-54166 is a high-severity server-side request forgery vulnerability in Shelf-nu shelf.nu, published on 11 Sep 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Shelf is a platform for tracking physical assets. Prior to version 1.20.3, authenticated users with the `asset:import` permission can trigger server-side HTTP requests to attacker-controlled URLs through the Asset CSV Content Import feature. The `imageUrl` validation logic can be bypassed through multiple techniques, including image-extension suffixes, image-related path keywords, domain substring matching, and redirect chains. After validation, the server performs an unrestricted `fetch()` request to the supplied URL. This results in a Server-Side Request Forgery (SSRF) vulnerability that allows attackers to reach internal network services, cloud metadata endpoints, and arbitrary external hosts from the application's network context. Additionally, response bodies are fully buffered before size validation, creating a potential memory exhaustion vector. Version 1.20.3 patches the issue.
Weakness: CWE-918
Which versions are affected by CVE-2026-54166?
How do I fix CVE-2026-54166?
No fix has been published for CVE-2026-54166 yet. Limit exposure of the affected software until one is available.
Upgrade, and send outbound requests through an allow-list that blocks internal addresses. More about Server-side request forgery.
Is CVE-2026-54166 being exploited?
There is no known exploitation of CVE-2026-54166 in the wild and no public exploit code.
Sources
Also known as GHSA-xgrm-8w6v-mvjg.