Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/62886?format=api",
    "vulnerability_id": "VCID-4xte-3qez-5kbj",
    "summary": "flatpak: xdg-desktop-portal: Flatpak xdg-desktop-portal: File deletion via symlink attack",
    "aliases": [
        {
            "alias": "CVE-2026-40354"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/511343?format=api",
            "purl": "pkg:deb/debian/xdg-desktop-portal@1.20.4%2Bds-1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/xdg-desktop-portal@1.20.4%252Bds-1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/135856?format=api",
            "purl": "pkg:deb/debian/xdg-desktop-portal@1.20.4%2Bds-1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/xdg-desktop-portal@1.20.4%252Bds-1%3Fdistro=trixie"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/511340?format=api",
            "purl": "pkg:deb/debian/xdg-desktop-portal@1.8.1-1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-4xte-3qez-5kbj"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/xdg-desktop-portal@1.8.1-1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/135853?format=api",
            "purl": "pkg:deb/debian/xdg-desktop-portal@1.8.1-1?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-4xte-3qez-5kbj"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/xdg-desktop-portal@1.8.1-1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/511341?format=api",
            "purl": "pkg:deb/debian/xdg-desktop-portal@1.16.0-2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-4xte-3qez-5kbj"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/xdg-desktop-portal@1.16.0-2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/135854?format=api",
            "purl": "pkg:deb/debian/xdg-desktop-portal@1.16.0-2?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-4xte-3qez-5kbj"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/xdg-desktop-portal@1.16.0-2%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/511342?format=api",
            "purl": "pkg:deb/debian/xdg-desktop-portal@1.20.3%2Bds-1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-4xte-3qez-5kbj"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/xdg-desktop-portal@1.20.3%252Bds-1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/135855?format=api",
            "purl": "pkg:deb/debian/xdg-desktop-portal@1.20.3%2Bds-1?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-4xte-3qez-5kbj"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/xdg-desktop-portal@1.20.3%252Bds-1%3Fdistro=trixie"
        }
    ],
    "references": [
        {
            "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2026-40354.json",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.1",
                    "scoring_system": "cvssv3",
                    "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H"
                }
            ],
            "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2026-40354.json"
        },
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2026-40354",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00019",
                    "scoring_system": "epss",
                    "scoring_elements": "0.05259",
                    "published_at": "2026-06-09T12:55:00Z"
                },
                {
                    "value": "0.00019",
                    "scoring_system": "epss",
                    "scoring_elements": "0.05276",
                    "published_at": "2026-06-05T12:55:00Z"
                },
                {
                    "value": "0.00019",
                    "scoring_system": "epss",
                    "scoring_elements": "0.0526",
                    "published_at": "2026-06-06T12:55:00Z"
                },
                {
                    "value": "0.00019",
                    "scoring_system": "epss",
                    "scoring_elements": "0.05253",
                    "published_at": "2026-06-07T12:55:00Z"
                },
                {
                    "value": "0.00019",
                    "scoring_system": "epss",
                    "scoring_elements": "0.05214",
                    "published_at": "2026-06-08T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2026-40354"
        },
        {
            "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-40354",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-40354"
        },
        {
            "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N"
                }
            ],
            "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
        },
        {
            "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1132958",
            "reference_id": "1132958",
            "reference_type": "",
            "scores": [],
            "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1132958"
        },
        {
            "reference_url": "https://github.com/flatpak/xdg-desktop-portal/releases/tag/1.20.4",
            "reference_id": "1.20.4",
            "reference_type": "",
            "scores": [
                {
                    "value": "2.9",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L"
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2026-04-15T15:13:04Z/"
                }
            ],
            "url": "https://github.com/flatpak/xdg-desktop-portal/releases/tag/1.20.4"
        },
        {
            "reference_url": "https://github.com/flatpak/xdg-desktop-portal/releases/tag/1.21.1",
            "reference_id": "1.21.1",
            "reference_type": "",
            "scores": [
                {
                    "value": "2.9",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L"
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2026-04-15T15:13:04Z/"
                }
            ],
            "url": "https://github.com/flatpak/xdg-desktop-portal/releases/tag/1.21.1"
        },
        {
            "reference_url": "https://www.openwall.com/lists/oss-security/2026/04/10/14",
            "reference_id": "14",
            "reference_type": "",
            "scores": [
                {
                    "value": "2.9",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L"
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2026-04-15T15:13:04Z/"
                }
            ],
            "url": "https://www.openwall.com/lists/oss-security/2026/04/10/14"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=2457541",
            "reference_id": "2457541",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2457541"
        },
        {
            "reference_url": "https://github.com/flatpak/xdg-desktop-portal/security/advisories/GHSA-rqr9-jwwf-wxgj",
            "reference_id": "GHSA-rqr9-jwwf-wxgj",
            "reference_type": "",
            "scores": [
                {
                    "value": "2.9",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L"
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2026-04-15T15:13:04Z/"
                }
            ],
            "url": "https://github.com/flatpak/xdg-desktop-portal/security/advisories/GHSA-rqr9-jwwf-wxgj"
        },
        {
            "reference_url": "https://usn.ubuntu.com/8287-1/",
            "reference_id": "USN-8287-1",
            "reference_type": "",
            "scores": [],
            "url": "https://usn.ubuntu.com/8287-1/"
        }
    ],
    "weaknesses": [
        {
            "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": 61,
            "name": "UNIX Symbolic Link (Symlink) Following",
            "description": "The product, when opening a file or directory, does not sufficiently account for when the file is a symbolic link that resolves to a target outside of the intended control sphere. This could allow an attacker to cause the product to operate on unauthorized files."
        }
    ],
    "exploits": [],
    "severity_range_score": "2.9 - 6.1",
    "exploitability": "0.5",
    "weighted_severity": "5.5",
    "risk_score": 2.8,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-4xte-3qez-5kbj"
}