# CVE-2026-54166: Shelf Vulnerable to Server-Side Request Forgery (SSRF) via Asset CSV Import imageUrl Validation Bypass

- Severity: High 7.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.25%, higher than 17% of CVEs (2026-12-02)
- Published: 2026-09-11T21:06:57.616Z
- Modified: 2026-09-30T19:57:08.043Z
- Weaknesses: CWE-918
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- Shelf-nu shelf.nu: < 1.20.3

## References

- <https://github.com/Shelf-nu/shelf.nu/security/advisories/GHSA-xgrm-8w6v-mvjg>

## Sources

- CVE List: [CVE-2026-54166](https://www.cve.org/CVERecord?id=CVE-2026-54166), CVE Terms of Use, modified 2026-09-14
- NVD: [CVE-2026-54166](https://nvd.nist.gov/vuln/detail/CVE-2026-54166), Public domain, modified 2026-09-30

---

Page: https://cve.day/CVE-2026-54166 · Whole record: https://cve.day/CVE-2026-54166.json · Rebuilt by cve.day 2026-11-25T22:59:38.149Z
