CVE-2026-140102

Source
https://cve.org/CVERecord?id=CVE-2026-140102
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-140102.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-140102
Aliases
  • GHSA-hvp5-3mrg-q5hg
Published
2026-11-30T22:40:00Z
Modified
2026-12-01T00:00:08Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
http-proxy-middleware: Unauthenticated remote gateway crash via an `Upgrade` request to a path outside `pathFilter` followed by a TCP RST (ws: true)
Details

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.

Database specific
{
    "cna_assigner":  "GitHub_M",
    "cwe_ids":  [
        "CWE-248"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/140xxx/CVE-2026-140102.json"
}
References

Affected packages

Git / github.com/chimurai/http-proxy-middleware

Affected ranges

Type
GIT
Repo
https://github.com/chimurai/http-proxy-middleware
Events
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "0.8.0"
                },
                {
                    "fixed":  "2.0.12"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StringRangeExpression"
        },
        {
            "range":  [
                {
                    "introduced":  "3.0.0-beta.0"
                },
                {
                    "fixed":  "3.0.11"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StringRangeExpression"
        },
        {
            "range":  [
                {
                    "introduced":  "4.0.0-beta.0"
                },
                {
                    "fixed":  "4.2.2"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StringRangeExpression"
        },
        {
            "range":  [
                {
                    "fixed":  "386bed662facba30c5602ca211a5399f09cdd715"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        },
        {
            "range":  [
                {
                    "fixed":  "6911b4daefaa138767d4e4c35302b6dea2e2b64a"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        },
        {
            "range":  [
                {
                    "fixed":  "c82e123f831bae1f46d1d06d9c035e385771b7b9"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        },
        {
            "original_tag":  "v3.0.11",
            "range":  [
                {
                    "fixed":  "488fb6144b374c581d3419e2f3e0cb0a60e8c3e9"
                }
            ],
            "source":  "REFERENCES_TAG"
        },
        {
            "original_tag":  "v4.2.2",
            "range":  [
                {
                    "fixed":  "b9c8f99ad80dfc48a4870307959df93d28dab74d"
                }
            ],
            "source":  "REFERENCES_TAG"
        }
    ]
}

Affected versions

v0.*
v0.10.0
v0.10.0-beta
v0.11.0
v0.12.0
v0.13.0
v0.14.0
v0.15.0
v0.15.1
v0.15.2
v0.16.0
v0.17.0
v0.17.1
v0.17.2
v0.17.3
v0.17.4
v0.18.0
v0.19.0
v0.19.1
v0.20.0
v0.20.0-beta.0
v0.21.0
v0.8.0
v0.8.1
v0.8.2
v0.9.0
v0.9.1
v1.*
v1.0.0
v1.0.1
v1.0.2
v1.0.3
v1.0.4
v1.0.5
v1.0.6
v1.1.0
v1.1.1
v1.1.2
v1.2.0
v1.2.1
v1.3.0
v1.3.1
v2.*
v2.0.0
v2.0.1
v2.0.10
v2.0.10-beta.0
v2.0.11
v2.0.2
v2.0.3
v2.0.4
v2.0.5
v2.0.6
v2.0.7
v2.0.7-beta.0
v2.0.7-beta.1
v2.0.8
v2.0.9
v3.*
v3.0.0
v3.0.0-beta.0
v3.0.0-beta.1
v3.0.1
v3.0.1-beta.0
v3.0.1-beta.1
v3.0.10
v3.0.2
v3.0.3
v3.0.4
v3.0.5
v3.0.6
v3.0.7
v3.0.8
v3.0.9
v4.*
v4.0.0
v4.0.0-beta.0
v4.0.0-beta.1
v4.0.0-beta.2
v4.0.0-beta.3
v4.0.0-beta.4
v4.0.0-beta.5
v4.0.0-beta.6
v4.1.0
v4.1.0-beta.0
v4.1.0-beta.1
v4.1.0-beta.2
v4.1.1
v4.2.0
v4.2.1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-140102.json"