Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/68054?format=api",
    "vulnerability_id": "VCID-sbw4-zv1m-ekct",
    "summary": "Hugo is a static site generator. From 0.43 to before 0.161.0, when building a Hugo site that uses Node-based asset pipelines (PostCSS, Babel, TailwindCSS), Hugo invoked the configured Node tools without restrictions on file system access. As a result, executing hugo against an untrusted site could allow code running through these tools to read or write files outside the project's working directory. Users who do not use PostCSS, Babel, or TailwindCSS, or who only build trusted sites, are not affected. This vulnerability is fixed in 0.161.0.",
    "aliases": [
        {
            "alias": "CVE-2026-44301"
        },
        {
            "alias": "GHSA-x597-9fr4-5857"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/45658?format=api",
            "purl": "pkg:deb/debian/hugo@0.161.0-1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/hugo@0.161.0-1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1078095?format=api",
            "purl": "pkg:deb/debian/hugo@0.161.1-1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/hugo@0.161.1-1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/45651?format=api",
            "purl": "pkg:deb/debian/hugo@0.161.1-1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/hugo@0.161.1-1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/45652?format=api",
            "purl": "pkg:deb/debian/hugo@0.162.1-1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/hugo@0.162.1-1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/375934?format=api",
            "purl": "pkg:golang/github.com/gohugoio/hugo@0.161.0",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:golang/github.com/gohugoio/hugo@0.161.0"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1078092?format=api",
            "purl": "pkg:deb/debian/hugo@0.80.0-6",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-79sk-5d1s-uqak"
                },
                {
                    "vulnerability": "VCID-sbw4-zv1m-ekct"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/hugo@0.80.0-6"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/45650?format=api",
            "purl": "pkg:deb/debian/hugo@0.80.0-6?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-79sk-5d1s-uqak"
                },
                {
                    "vulnerability": "VCID-sbw4-zv1m-ekct"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/hugo@0.80.0-6%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1078093?format=api",
            "purl": "pkg:deb/debian/hugo@0.111.3-1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-79sk-5d1s-uqak"
                },
                {
                    "vulnerability": "VCID-sbw4-zv1m-ekct"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/hugo@0.111.3-1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/45648?format=api",
            "purl": "pkg:deb/debian/hugo@0.111.3-1?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-79sk-5d1s-uqak"
                },
                {
                    "vulnerability": "VCID-sbw4-zv1m-ekct"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/hugo@0.111.3-1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1078094?format=api",
            "purl": "pkg:deb/debian/hugo@0.131.0-1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-79sk-5d1s-uqak"
                },
                {
                    "vulnerability": "VCID-pcq5-n3jp-x7hr"
                },
                {
                    "vulnerability": "VCID-sbw4-zv1m-ekct"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/hugo@0.131.0-1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/45653?format=api",
            "purl": "pkg:deb/debian/hugo@0.131.0-1?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-79sk-5d1s-uqak"
                },
                {
                    "vulnerability": "VCID-pcq5-n3jp-x7hr"
                },
                {
                    "vulnerability": "VCID-sbw4-zv1m-ekct"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/hugo@0.131.0-1%3Fdistro=trixie"
        }
    ],
    "references": [
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2026-44301",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00044",
                    "scoring_system": "epss",
                    "scoring_elements": "0.13767",
                    "published_at": "2026-06-11T12:55:00Z"
                },
                {
                    "value": "0.00044",
                    "scoring_system": "epss",
                    "scoring_elements": "0.13882",
                    "published_at": "2026-06-12T12:55:00Z"
                },
                {
                    "value": "0.0005",
                    "scoring_system": "epss",
                    "scoring_elements": "0.16148",
                    "published_at": "2026-06-13T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2026-44301"
        },
        {
            "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-44301",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-44301"
        },
        {
            "reference_url": "https://github.com/gohugoio/hugo",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.2",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:U"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/gohugoio/hugo"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2026-44301",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.2",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:U"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-44301"
        },
        {
            "reference_url": "https://github.com/gohugoio/hugo/security/advisories/GHSA-x597-9fr4-5857",
            "reference_id": "GHSA-x597-9fr4-5857",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.2",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:U"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:N/A:Y/T:P/P:M/B:A/M:M/D:T/2026-05-13T12:12:51Z/"
                }
            ],
            "url": "https://github.com/gohugoio/hugo/security/advisories/GHSA-x597-9fr4-5857"
        }
    ],
    "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."
        }
    ],
    "exploits": [],
    "severity_range_score": "4.0 - 6.9",
    "exploitability": "0.5",
    "weighted_severity": "6.2",
    "risk_score": 3.1,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-sbw4-zv1m-ekct"
}