{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-34830",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2026-03-30T20:52:53.284Z",
        "datePublished": "2026-04-02T16:47:40.490Z",
        "dateUpdated": "2026-04-02T18:59:46.589Z"
    },
    "containers": {
        "cna": {
            "title": "Rack: Rack::Sendfile regex injection via HTTP_X_ACCEL_MAPPING header allows arbitrary file reads through nginx",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-625",
                            "lang": "en",
                            "description": "CWE-625: Permissive Regular Expression",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "attackComplexity": "HIGH",
                        "attackVector": "NETWORK",
                        "availabilityImpact": "NONE",
                        "baseScore": 5.9,
                        "baseSeverity": "MEDIUM",
                        "confidentialityImpact": "HIGH",
                        "integrityImpact": "NONE",
                        "privilegesRequired": "NONE",
                        "scope": "UNCHANGED",
                        "userInteraction": "NONE",
                        "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N",
                        "version": "3.1"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://github.com/rack/rack/security/advisories/GHSA-qv7j-4883-hwh7",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/rack/rack/security/advisories/GHSA-qv7j-4883-hwh7"
                }
            ],
            "affected": [
                {
                    "vendor": "rack",
                    "product": "rack",
                    "versions": [
                        {
                            "version": "< 2.2.23",
                            "status": "affected"
                        },
                        {
                            "version": ">= 3.0.0.beta1, < 3.1.21",
                            "status": "affected"
                        },
                        {
                            "version": ">= 3.2.0, < 3.2.6",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2026-04-02T16:47:40.490Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "Rack is a modular Ruby web server interface. Prior to versions 2.2.23, 3.1.21, and 3.2.6, Rack::Sendfile#map_accel_path interpolates the value of the X-Accel-Mapping request header directly into a regular expression when rewriting file paths for X-Accel-Redirect. Because the header value is not escaped, an attacker who can supply X-Accel-Mapping to the backend can inject regex metacharacters and control the generated X-Accel-Redirect response header. In deployments using Rack::Sendfile with x-accel-redirect, this can allow an attacker to cause nginx to serve unintended files from configured internal locations. This issue has been patched in versions 2.2.23, 3.1.21, and 3.2.6."
                }
            ],
            "source": {
                "advisory": "GHSA-qv7j-4883-hwh7",
                "discovery": "UNKNOWN"
            }
        },
        "adp": [
            {
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2026-04-02T18:59:36.006369Z",
                                "id": "CVE-2026-34830",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "partial"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2026-04-02T18:59:46.589Z"
                }
            }
        ]
    }
}