{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-140102",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2026-11-30T20:55:13.434Z",
        "datePublished": "2026-11-30T22:40:00.063Z",
        "dateUpdated": "2026-12-01T18:55:08.655Z"
    },
    "containers": {
        "cna": {
            "title": "http-proxy-middleware: Unauthenticated remote gateway crash via an `Upgrade` request to a path outside `pathFilter` followed by a TCP RST (ws: true)",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-248",
                            "lang": "en",
                            "description": "CWE-248: Uncaught Exception",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "attackComplexity": "LOW",
                        "attackVector": "NETWORK",
                        "availabilityImpact": "HIGH",
                        "baseScore": 7.5,
                        "baseSeverity": "HIGH",
                        "confidentialityImpact": "NONE",
                        "integrityImpact": "NONE",
                        "privilegesRequired": "NONE",
                        "scope": "UNCHANGED",
                        "userInteraction": "NONE",
                        "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
                        "version": "3.1"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://github.com/chimurai/http-proxy-middleware/security/advisories/GHSA-hvp5-3mrg-q5hg",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/chimurai/http-proxy-middleware/security/advisories/GHSA-hvp5-3mrg-q5hg"
                },
                {
                    "name": "https://github.com/chimurai/http-proxy-middleware/pull/1328",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/chimurai/http-proxy-middleware/pull/1328"
                },
                {
                    "name": "https://github.com/chimurai/http-proxy-middleware/pull/1329",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/chimurai/http-proxy-middleware/pull/1329"
                },
                {
                    "name": "https://github.com/chimurai/http-proxy-middleware/pull/1330",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/chimurai/http-proxy-middleware/pull/1330"
                },
                {
                    "name": "https://github.com/chimurai/http-proxy-middleware/commit/386bed662facba30c5602ca211a5399f09cdd715",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/chimurai/http-proxy-middleware/commit/386bed662facba30c5602ca211a5399f09cdd715"
                },
                {
                    "name": "https://github.com/chimurai/http-proxy-middleware/commit/6911b4daefaa138767d4e4c35302b6dea2e2b64a",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/chimurai/http-proxy-middleware/commit/6911b4daefaa138767d4e4c35302b6dea2e2b64a"
                },
                {
                    "name": "https://github.com/chimurai/http-proxy-middleware/commit/c82e123f831bae1f46d1d06d9c035e385771b7b9",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/chimurai/http-proxy-middleware/commit/c82e123f831bae1f46d1d06d9c035e385771b7b9"
                },
                {
                    "name": "https://github.com/chimurai/http-proxy-middleware/releases/tag/v3.0.11",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/chimurai/http-proxy-middleware/releases/tag/v3.0.11"
                },
                {
                    "name": "https://github.com/chimurai/http-proxy-middleware/releases/tag/v4.2.2",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/chimurai/http-proxy-middleware/releases/tag/v4.2.2"
                }
            ],
            "affected": [
                {
                    "vendor": "chimurai",
                    "product": "http-proxy-middleware",
                    "versions": [
                        {
                            "version": ">= 0.8.0, < 2.0.12",
                            "status": "affected"
                        },
                        {
                            "version": ">= 3.0.0-beta.0, < 3.0.11",
                            "status": "affected"
                        },
                        {
                            "version": ">= 4.0.0-beta.0, < 4.2.2",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2026-11-30T22:40:00.063Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "http-proxy-middleware is node.js http-proxy middleware. From 0.8.0 until 2.0.12, 3.0.11, and 4.2.2, an Upgrade request whose path does not match pathFilter can leave the raw socket without an error listener when ws: true is enabled. A remote unauthenticated client can send such an Upgrade request and reset the TCP connection, causing an unhandled ECONNRESET error that terminates the gateway process even when middleware and server error callbacks are configured. This issue is fixed in versions 2.0.12, 3.0.11, and 4.2.2."
                }
            ],
            "source": {
                "advisory": "GHSA-hvp5-3mrg-q5hg",
                "discovery": "UNKNOWN"
            }
        },
        "adp": [
            {
                "references": [
                    {
                        "url": "https://github.com/chimurai/http-proxy-middleware/security/advisories/GHSA-hvp5-3mrg-q5hg",
                        "tags": [
                            "exploit"
                        ]
                    }
                ],
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2026-12-01T18:54:44.515010Z",
                                "id": "CVE-2026-140102",
                                "options": [
                                    {
                                        "Exploitation": "poc"
                                    },
                                    {
                                        "Automatable": "yes"
                                    },
                                    {
                                        "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-12-01T18:55:08.655Z"
                }
            }
        ]
    }
}