Vulnerability Instance
Lookup for vulnerabilities affecting packages.
GET /api/vulnerabilities/50540?format=api
{ "url": "http://public2.vulnerablecode.io/api/vulnerabilities/50540?format=api", "vulnerability_id": "VCID-8zsd-p6pb-57cg", "summary": "OpenClaw vulnerable to path traversal in Feishu media temp-file naming allows writes outside os.tmpdir()\nOpenClaw’s Feishu media download flow used untrusted Feishu media keys (`imageKey` / `fileKey`) when building temporary file paths in `extensions/feishu/src/media.ts`.\nBecause those keys were interpolated directly into temp-file paths, traversal segments could escape the temp directory and redirect writes outside `os.tmpdir()`.", "aliases": [ { "alias": "CVE-2026-22171" }, { "alias": "GHSA-vj3g-5px3-gr46" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/74146?format=api", "purl": "pkg:npm/openclaw@2026.2.19", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/openclaw@2026.2.19" } ], "affected_packages": [], "references": [ { "reference_url": "https://github.com/openclaw/openclaw", "reference_id": "", "reference_type": "", "scores": [], "url": "https://github.com/openclaw/openclaw" }, { "reference_url": "https://github.com/openclaw/openclaw/commit/c821099157a9767d4df208c6b12f214946507871", "reference_id": "", "reference_type": "", "scores": [], "url": "https://github.com/openclaw/openclaw/commit/c821099157a9767d4df208c6b12f214946507871" }, { "reference_url": "https://github.com/openclaw/openclaw/commit/cdb00fe2428000e7a08f9b7848784a0049176705", "reference_id": "", "reference_type": "", "scores": [], "url": "https://github.com/openclaw/openclaw/commit/cdb00fe2428000e7a08f9b7848784a0049176705" }, { "reference_url": "https://github.com/openclaw/openclaw/commit/ec232a9e2dff60f0e3d7e827a7c868db5254473f", "reference_id": "", "reference_type": "", "scores": [], "url": "https://github.com/openclaw/openclaw/commit/ec232a9e2dff60f0e3d7e827a7c868db5254473f" }, { "reference_url": "https://www.vulncheck.com/advisories/openclaw-path-traversal-in-feishu-media-temporary-file-naming", "reference_id": "", "reference_type": "", "scores": [], "url": "https://www.vulncheck.com/advisories/openclaw-path-traversal-in-feishu-media-temporary-file-naming" }, { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2026-22171", "reference_id": "CVE-2026-22171", "reference_type": "", "scores": [], "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-22171" }, { "reference_url": "https://github.com/advisories/GHSA-vj3g-5px3-gr46", "reference_id": "GHSA-vj3g-5px3-gr46", "reference_type": "", "scores": [], "url": "https://github.com/advisories/GHSA-vj3g-5px3-gr46" }, { "reference_url": "https://github.com/openclaw/openclaw/security/advisories/GHSA-vj3g-5px3-gr46", "reference_id": "GHSA-vj3g-5px3-gr46", "reference_type": "", "scores": [], "url": "https://github.com/openclaw/openclaw/security/advisories/GHSA-vj3g-5px3-gr46" } ], "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-8zsd-p6pb-57cg" }