Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/49787?format=api",
    "vulnerability_id": "VCID-nwgc-2f7k-tkb2",
    "summary": "Backstage has a Possible Symlink Path Traversal in Scaffolder Actions\nMultiple Scaffolder actions and archive extraction utilities were vulnerable to symlink-based path traversal attacks. An attacker with access to create and execute Scaffolder templates could exploit symlinks to:\n\n1. **Read arbitrary files** via the `debug:log` action by creating a symlink pointing to sensitive files (e.g., `/etc/passwd`, configuration files, secrets)\n2. **Delete arbitrary files** via the `fs:delete` action by creating symlinks pointing outside the workspace\n3. **Write files outside the workspace** via archive extraction (tar/zip) containing malicious symlinks\n\nThis affects any Backstage deployment where users can create or execute Scaffolder templates.",
    "aliases": [
        {
            "alias": "CVE-2026-24046"
        },
        {
            "alias": "GHSA-rq6q-wr2q-7pgp"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/73521?format=api",
            "purl": "pkg:npm/%40backstage/backend-defaults@0.12.2",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/%2540backstage/backend-defaults@0.12.2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/73522?format=api",
            "purl": "pkg:npm/%40backstage/backend-defaults@0.13.2",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/%2540backstage/backend-defaults@0.13.2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/73523?format=api",
            "purl": "pkg:npm/%40backstage/backend-defaults@0.14.1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/%2540backstage/backend-defaults@0.14.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/73528?format=api",
            "purl": "pkg:npm/%40backstage/plugin-scaffolder-backend@2.2.2",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/%2540backstage/plugin-scaffolder-backend@2.2.2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/73529?format=api",
            "purl": "pkg:npm/%40backstage/plugin-scaffolder-backend@3.0.2",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/%2540backstage/plugin-scaffolder-backend@3.0.2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/73530?format=api",
            "purl": "pkg:npm/%40backstage/plugin-scaffolder-backend@3.1.1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/%2540backstage/plugin-scaffolder-backend@3.1.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/73538?format=api",
            "purl": "pkg:npm/%40backstage/plugin-scaffolder-node@0.11.2",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/%2540backstage/plugin-scaffolder-node@0.11.2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/73539?format=api",
            "purl": "pkg:npm/%40backstage/plugin-scaffolder-node@0.12.3",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/%2540backstage/plugin-scaffolder-node@0.12.3"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/73519?format=api",
            "purl": "pkg:npm/%40backstage/backend-defaults@0.13.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-5bv8-wj49-3kee"
                },
                {
                    "vulnerability": "VCID-nwgc-2f7k-tkb2"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/%2540backstage/backend-defaults@0.13.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/73520?format=api",
            "purl": "pkg:npm/%40backstage/backend-defaults@0.14.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-5bv8-wj49-3kee"
                },
                {
                    "vulnerability": "VCID-nwgc-2f7k-tkb2"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/%2540backstage/backend-defaults@0.14.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/73526?format=api",
            "purl": "pkg:npm/%40backstage/plugin-scaffolder-backend@3.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-nwgc-2f7k-tkb2"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/%2540backstage/plugin-scaffolder-backend@3.0.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/73527?format=api",
            "purl": "pkg:npm/%40backstage/plugin-scaffolder-backend@3.1.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-nwgc-2f7k-tkb2"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/%2540backstage/plugin-scaffolder-backend@3.1.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/73537?format=api",
            "purl": "pkg:npm/%40backstage/plugin-scaffolder-node@0.12.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-nwgc-2f7k-tkb2"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/%2540backstage/plugin-scaffolder-node@0.12.0"
        }
    ],
    "references": [
        {
            "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2026-24046.json",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "9.1",
                    "scoring_system": "cvssv3",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:L"
                }
            ],
            "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2026-24046.json"
        },
        {
            "reference_url": "https://github.com/backstage/backstage",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:L"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/backstage/backstage"
        },
        {
            "reference_url": "https://github.com/backstage/backstage/commit/c641c147ab371a9a8a2f5f67fdb7cb9c97ef345d",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:L"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/backstage/backstage/commit/c641c147ab371a9a8a2f5f67fdb7cb9c97ef345d"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=2431878",
            "reference_id": "2431878",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2431878"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2026-24046",
            "reference_id": "CVE-2026-24046",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:L"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-24046"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-rq6q-wr2q-7pgp",
            "reference_id": "GHSA-rq6q-wr2q-7pgp",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-rq6q-wr2q-7pgp"
        },
        {
            "reference_url": "https://github.com/backstage/backstage/security/advisories/GHSA-rq6q-wr2q-7pgp",
            "reference_id": "GHSA-rq6q-wr2q-7pgp",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:L"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/backstage/backstage/security/advisories/GHSA-rq6q-wr2q-7pgp"
        },
        {
            "reference_url": "https://access.redhat.com/errata/RHSA-2026:6174",
            "reference_id": "RHSA-2026:6174",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/errata/RHSA-2026:6174"
        },
        {
            "reference_url": "https://access.redhat.com/errata/RHSA-2026:6802",
            "reference_id": "RHSA-2026:6802",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/errata/RHSA-2026:6802"
        }
    ],
    "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": 59,
            "name": "Improper Link Resolution Before File Access ('Link Following')",
            "description": "The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource."
        },
        {
            "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": "7.0 - 9.1",
    "exploitability": "0.5",
    "weighted_severity": "8.2",
    "risk_score": 4.1,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-nwgc-2f7k-tkb2"
}