CVE-2026-6874: Copilot api Copilot-api Has Reliance On Reverse Vulnerability
LOWCVE-2026-6874 is a LOW (CVSS 4.3) copilot-api has reliance on reverse vulnerability (CWE-350: Reliance on Reverse DNS Resolution for a Security-Critical Action) affecting Copilot api libraries in the npm ecosystem. The issue involves copilot-api has reliance on reverse dns resolution for a security-critical action. Remediation is available in the latest vendor maintenance releases.
CVE-2026-6874 at a Glance
Security Impact
CVSS: 4.3
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N).
How to Fix CVE-2026-6874
To remediate this vulnerability, upgrade all affected Copilot api dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install copilot-api@Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls copilot-api
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2026-6874, inspect your project dependencies using npm:
npm ls copilot-api
Analyze the terminal output to locate any version of Copilot api in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.
Note: The npm ls copilot-api command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-350: Reliance on Reverse DNS Resolution for a Security-Critical Action, where the product performs reverse dns resolution on an ip address to obtain the hostname and make a security decision, but it does not properly ensure that the ip address is truly associated with the hostname. In Copilot api, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-6874 Affected Copilot api Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
copilot-api
|
npm |
≤ 0.7.0
|
|
References
Frequently Asked Questions
What is CVE-2026-6874?
Which Copilot api versions are affected?
What version fixes CVE-2026-6874?
Is copilot-api affected?
What is the CVSS score of CVE-2026-6874?
What CWE is associated with CVE-2026-6874?
How can I check npm dependencies for CVE-2026-6874?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-3vr4-cvmg-7fx4",
"modified" : "2026-04-30T20:53:46Z",
"published" : "2026-04-23T00:31:20Z",
"aliases" : [ "CVE-2026-6874" ],
"summary" : "copilot-api has Reliance on Reverse DNS Resolution for a Security-Critical Action",
"details" : "A vulnerability was determined in ericc-ch copilot-api up to 0.7.0. This impacts an unknown function of the file /token of the component Header Handler. Executing a manipulation of the argument Host can lead to reliance on reverse dns resolution. The attack may be performed from remote. The exploit has been publicly disclosed and may be utilized. The vendor was contacted early about this disclosure but did not respond in any way.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "copilot-api"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "0.7.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-6874"
}, {
"type" : "WEB",
"url" : "https://github.com/August829/CVEP/issues/32"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/ericc-ch/copilot-api"
}, {
"type" : "WEB",
"url" : "https://vuldb.com/submit/795212"
}, {
"type" : "WEB",
"url" : "https://vuldb.com/vuln/359039"
}, {
"type" : "WEB",
"url" : "https://vuldb.com/vuln/359039/cti"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-350" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2026-04-30T20:53:46Z",
"nvd_published_at" : "2026-04-23T00:16:47Z"
}
}