GHSA-vx3h-qwqw-r2wq is a medium-severity (CVSS 4.3) vulnerability in inventree. A fix is available for inventree — see the affected versions and patch details below.
Inventree Server-Side Request Forgery vulnerability exposes server port/internal IP
Real-World Exposure
inventreeReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects PyPI packages — download data is not available via public APIs for these ecosystems.
Description
Impact
The "download image from remote URL" feature can be abused by a malicious actor to potentially extract information about server side resources. Submitting a crafted URL (in place of a valid image) can raise a server side error, which is reported back to the user.
This error message may contain sensitive information about the server side request, including information about the availability of the remote resource.
Patches
The solution to this vulnerability is to prevent the server from returning any specific information about the observed exception. Instead, a generic error message is returned to the client.
This patch has been applied to the upcoming 0.17.0 release, and also back-ported to the 0.16.5 stable release.
Workarounds
To avoid this issue with unpatched versions, the "download image from remote URL" feature can be disabled in InvenTree, preventing users from accessing this information.
References
Thanks to @febin0x10 for identifying this vulnerability and reporting it to us as per our security policy.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐍PyPI | inventree | all versions | 0.16.5pip install --upgrade 'inventree==0.16.5' |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for inventree, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update inventree to 0.16.5 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-vx3h-qwqw-r2wq is resolved across your whole dependency graph.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
How O3 protects you
O3 Security's impact-aware SCA analyses which vulnerable code paths your application actually calls, so a match like GHSA-vx3h-qwqw-r2wq can be triaged on real exposure rather than presence alone.
Tailored to GHSA-vx3h-qwqw-r2wq. Runtime protection reduces exposure until a permanent patch is applied and verified — it complements patching, it doesn't replace it.
Frequently Asked Questions
Is GHSA-vx3h-qwqw-r2wq in your dependencies?
O3 Security finds GHSA-vx3h-qwqw-r2wq across PyPI dependencies, including transitive ones, and its impact-aware SCA ranks findings by whether your code actually calls the vulnerable path.