Vulnerability Instance
Lookup for vulnerabilities affecting packages.
GET /api/vulnerabilities/49552?format=api
{ "url": "http://public2.vulnerablecode.io/api/vulnerabilities/49552?format=api", "vulnerability_id": "VCID-zab6-k8c8-pqcq", "summary": "AdonisJS Path Traversal in Multipart File Handling\n**Description**\nA Path Traversal (CWE-22) vulnerability in AdonisJS multipart file handling may allow a remote attacker to write arbitrary files to arbitrary locations on the server filesystem. This impacts @adonisjs/bodyparser through version 10.1.1 and 11.x prerelease versions prior to 11.0.0-next.6. This issue has been patched in @adonisjs/bodyparser versions 10.1.2 and 11.0.0-next.6.", "aliases": [ { "alias": "CVE-2026-21440" }, { "alias": "GHSA-gvq6-hvvp-h34h" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/73163?format=api", "purl": "pkg:npm/%40adonisjs/bodyparser@10.1.2", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/%2540adonisjs/bodyparser@10.1.2" }, { "url": "http://public2.vulnerablecode.io/api/packages/73164?format=api", "purl": "pkg:npm/%40adonisjs/bodyparser@11.0.0-next.6", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/%2540adonisjs/bodyparser@11.0.0-next.6" } ], "affected_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/73162?format=api", "purl": "pkg:npm/%40adonisjs/bodyparser@11.0.0-next.0", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-86dd-yfnr-y3ac" }, { "vulnerability": "VCID-qj4q-bzvu-zfe4" }, { "vulnerability": "VCID-zab6-k8c8-pqcq" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/%2540adonisjs/bodyparser@11.0.0-next.0" } ], "references": [ { "reference_url": "https://github.com/adonisjs/bodyparser/commit/143a16f35602be8561215611582211dec280cae6", "reference_id": "", "reference_type": "", "scores": [], "url": "https://github.com/adonisjs/bodyparser/commit/143a16f35602be8561215611582211dec280cae6" }, { "reference_url": "https://github.com/adonisjs/bodyparser/commit/6795c0e3fa824ae275bbd992aae60609e96f0f03", "reference_id": "", "reference_type": "", "scores": [], "url": "https://github.com/adonisjs/bodyparser/commit/6795c0e3fa824ae275bbd992aae60609e96f0f03" }, { "reference_url": "https://github.com/adonisjs/bodyparser/releases/tag/v10.1.2", "reference_id": "", "reference_type": "", "scores": [], "url": "https://github.com/adonisjs/bodyparser/releases/tag/v10.1.2" }, { "reference_url": "https://github.com/adonisjs/bodyparser/releases/tag/v11.0.0-next.6", "reference_id": "", "reference_type": "", "scores": [], "url": "https://github.com/adonisjs/bodyparser/releases/tag/v11.0.0-next.6" }, { "reference_url": "https://github.com/adonisjs/core", "reference_id": "", "reference_type": "", "scores": [], "url": "https://github.com/adonisjs/core" }, { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2026-21440", "reference_id": "CVE-2026-21440", "reference_type": "", "scores": [], "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-21440" }, { "reference_url": "https://github.com/adonisjs/core/security/advisories/GHSA-gvq6-hvvp-h34h", "reference_id": "GHSA-gvq6-hvvp-h34h", "reference_type": "", "scores": [], "url": "https://github.com/adonisjs/core/security/advisories/GHSA-gvq6-hvvp-h34h" }, { "reference_url": "https://github.com/advisories/GHSA-gvq6-hvvp-h34h", "reference_id": "GHSA-gvq6-hvvp-h34h", "reference_type": "", "scores": [], "url": "https://github.com/advisories/GHSA-gvq6-hvvp-h34h" } ], "weaknesses": [ { "cwe_id": 22, "name": "Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')", "description": "The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory." }, { "cwe_id": 937, "name": "OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities", "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013." }, { "cwe_id": 1035, "name": "OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities", "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017." } ], "exploits": [], "severity_range_score": null, "exploitability": null, "weighted_severity": null, "risk_score": null, "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-zab6-k8c8-pqcq" }