CVE Explorer
CVE-2026-58399
@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
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"module-auth","vendor":"antonio-castellon","versions":[{"status":"affected","version":"< 2.3.0"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:fbb022fb1d7a38b20b53523986a7bf87b3160cd00cbed47664c2905f1877015f · sha256:f573e475054b862e… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"NETWORK","baseScore":8.7,"baseSeverity":"HIGH","privilegesRequired":"NONE","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"HIGH"},"metric_type":"cvssV4_0"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:fbb022fb1d7a38b20b53523986a7bf87b3160cd00cbed47664c2905f1877015f · sha256:f573e475054b862e… · /containers/cna/metrics/0/cvssV4_0
CWE assertions
1 source assertion{"cweId":"CWE-287","description":"CWE-287: Improper Authentication","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:fbb022fb1d7a38b20b53523986a7bf87b3160cd00cbed47664c2905f1877015f · sha256:f573e475054b862e… · /containers/cna/problemTypes/0/descriptions/0
Source references
3 source assertions{"name":"https://github.com/antonio-castellon/module-auth/issues/6","tags":["x_refsource_MISC"],"url":"https://github.com/antonio-castellon/module-auth/issues/6"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:fbb022fb1d7a38b20b53523986a7bf87b3160cd00cbed47664c2905f1877015f · sha256:f573e475054b862e… · /containers/cna/references/1
{"name":"https://github.com/antonio-castellon/module-auth/security/advisories/GHSA-gfj5-979r-92pw","tags":["x_refsource_CONFIRM"],"url":"https://github.com/antonio-castellon/module-auth/security/advisories/GHSA-gfj5-979r-92pw"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:fbb022fb1d7a38b20b53523986a7bf87b3160cd00cbed47664c2905f1877015f · sha256:f573e475054b862e… · /containers/cna/references/0
{"name":"https://www.npmjs.com/package/@acastellon/auth/v/2.3.0","tags":["x_refsource_MISC"],"url":"https://www.npmjs.com/package/@acastellon/auth/v/2.3.0"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:fbb022fb1d7a38b20b53523986a7bf87b3160cd00cbed47664c2905f1877015f · sha256:f573e475054b862e… · /containers/cna/references/2
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.