{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-58399","published":"2026-07-01T15:17:11.377000Z","last_modified":"2026-10-25T17:10:00.197000Z","status":"Deferred","cvss":{"version":"4.0","score":8.7,"severity":"HIGH","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","source":"security-advisories@github.com","primary":false},"auth":false,"cwes":["CWE-287"],"cpes":[],"cpes_truncated":false,"vendors":["antonio-castellon"],"products":["antonio-castellon/module-auth"],"ssvc":{"exploitation":"none","automatable":"yes","technical_impact":"total"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-gfj5-979r-92pw","ecosystem":"npm","name":"@acastellon/auth","purl":"pkg:npm/%40acastellon/auth","ranges":[{"introduced":"0","fixed":"2.3.0"}],"versions":[],"versions_truncated":false}],"severity":"high","priority_score":67,"links":{"html_es":"/es/cve/CVE-2026-58399/","html_en":"/en/cve/CVE-2026-58399/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-58399","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-58399"},"untrusted":{"vendor_name":"antonio-castellon","product_name":"module-auth","desc_en":"@acastellon/auth is an authentication control system for microservices. Versions prior to 2.3.0 appear to allow an unauthenticated authentication bypass in validateToken() through spoofable auth-user and Host request headers. The validateToken middleware contains a service-to-service bypass for auth-user: service-brother when req.get('host').startsWith(getHostName()). Both values involved in the check can be influenced by an unauthenticated HTTP client: auth-user is a request header, and Host is also client-controlled. As a result, a remote unauthenticated attacker can send a request with crafted headers and bypass token validation before the normal legacy/JWT/OIDC validation logic runs. A fix has been implemented in v2.3.0.","affected":[{"untrusted_vendor":"antonio-castellon","untrusted_product":"module-auth","versions":[]}],"references":[{"url":"https://github.com/antonio-castellon/module-auth/issues/6","tags":[]},{"url":"https://github.com/antonio-castellon/module-auth/security/advisories/GHSA-gfj5-979r-92pw","tags":[]},{"url":"https://www.npmjs.com/package/@acastellon/auth/v/2.3.0","tags":[]}]}}