{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-84376",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2026-09-01T16:27:58.129Z",
        "datePublished": "2026-09-02T16:24:23.799Z",
        "dateUpdated": "2026-09-02T16:24:23.799Z"
    },
    "containers": {
        "cna": {
            "title": "Astro: Authorization bypass from missing path-segment boundary check when stripping the configured base",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-187",
                            "lang": "en",
                            "description": "CWE-187: Partial String Comparison",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV4_0": {
                        "attackVector": "NETWORK",
                        "attackComplexity": "LOW",
                        "attackRequirements": "PRESENT",
                        "privilegesRequired": "NONE",
                        "userInteraction": "NONE",
                        "vulnConfidentialityImpact": "LOW",
                        "vulnIntegrityImpact": "LOW",
                        "vulnAvailabilityImpact": "NONE",
                        "subConfidentialityImpact": "NONE",
                        "subIntegrityImpact": "NONE",
                        "subAvailabilityImpact": "NONE",
                        "baseScore": 6.3,
                        "baseSeverity": "MEDIUM",
                        "vectorString": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N",
                        "version": "4.0"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://github.com/withastro/astro/security/advisories/GHSA-376h-93r7-7g6f",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/withastro/astro/security/advisories/GHSA-376h-93r7-7g6f"
                },
                {
                    "name": "https://github.com/withastro/astro/pull/17701",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/withastro/astro/pull/17701"
                },
                {
                    "name": "https://github.com/withastro/astro/commit/05763a0884aabb1da78a2749d5bb9d41ae620527",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/withastro/astro/commit/05763a0884aabb1da78a2749d5bb9d41ae620527"
                },
                {
                    "name": "https://github.com/withastro/astro/releases/tag/astro@7.2.4",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/withastro/astro/releases/tag/astro@7.2.4"
                }
            ],
            "affected": [
                {
                    "vendor": "withastro",
                    "product": "astro",
                    "versions": [
                        {
                            "version": "< 7.2.4",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2026-09-02T16:24:23.799Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "Astro is a web framework for content-driven websites. Prior to 7.2.4, Astro stripped a configured non-root base path from request pathnames using a string-prefix check without verifying a path-segment boundary. With base \"/app\", a request to \"/appX/admin\" resolved internally to the protected \"/admin\" route while middleware observed \"/appX/admin\" in context.url.pathname. In applications that authorize base-prefixed routes by inspecting context.url.pathname, an unauthenticated remote attacker could bypass pathname-based middleware authorization and reach protected routes. This issue is fixed in version 7.2.4."
                }
            ],
            "source": {
                "advisory": "GHSA-376h-93r7-7g6f",
                "discovery": "UNKNOWN"
            }
        }
    }
}