Lookup for vulnerabilities affecting packages.

GET /api/vulnerabilities/49354?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/49354?format=api",
    "vulnerability_id": "VCID-1468-vwqb-23as",
    "summary": "ComposioHQ has a directory traversal vulnerability\nDirectory Traversal vulnerability in ComposioHQ v.0.7.20 allows a remote attacker to obtain sensitive information via the _download_file_or_dir function.",
    "aliases": [
        {
            "alias": "CVE-2025-56427"
        },
        {
            "alias": "GHSA-3mwv-j45g-vp3w"
        }
    ],
    "fixed_packages": [],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/72811?format=api",
            "purl": "pkg:pypi/composio@0.7.20",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1468-vwqb-23as"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/composio@0.7.20"
        }
    ],
    "references": [
        {
            "reference_url": "https://github.com/ComposioHQ/composio",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/ComposioHQ/composio"
        },
        {
            "reference_url": "https://github.com/ComposioHQ/composio/blob/master/python/composio/server/api.py#L278",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/ComposioHQ/composio/blob/master/python/composio/server/api.py#L278"
        },
        {
            "reference_url": "https://github.com/TOAST-Research/pocs/blob/main/composio/composio_1.md",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/TOAST-Research/pocs/blob/main/composio/composio_1.md"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2025-56427",
            "reference_id": "CVE-2025-56427",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-56427"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-3mwv-j45g-vp3w",
            "reference_id": "GHSA-3mwv-j45g-vp3w",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-3mwv-j45g-vp3w"
        }
    ],
    "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-1468-vwqb-23as"
}