Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-44979: CWE-200: Exposure of Sensitive Information to an Unauthorized Actor in hapijs wreck

0
Medium
VulnerabilityCVE-2026-44979cvecve-2026-44979cwe-200cwe-522
Published: 07/17/2026 (07/17/2026, 21:01:01 UTC)
Source: CVE Database V5
Vendor/Project: hapijs
Product: wreck

Description

@hapi/wreck is an HTTP client utility. Prior to 18.1.1, when @hapi/wreck follows a 3xx redirect to a different hostname, only the Authorization and Cookie headers are stripped, and the standard credential header Proxy-Authorization is forwarded intact to the redirect target, potentially exposing forward-proxy credentials to a host outside the original trust boundary when redirects are enabled through the redirects option or Wreck.defaults({ redirects: ... }). This issue is fixed in version 18.1.1.

CVSS v4.0

Score 6.3medium

Attack Vector
Network
Attack Complexity
High
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
Low
Vuln. Integrity
None
Vuln. Availability
None
Subsq. Confidentiality
Low
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N

Affected software

@hapi/wreck
pkg:npm/@hapi/wreck
Affected versions
<18.1.1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/18/2026, 09:00:09 UTC

Technical Analysis

@hapi/wreck versions before 18.1.1 improperly handle Proxy-Authorization headers when following HTTP 3xx redirects to a different hostname. While Authorization and Cookie headers are stripped, Proxy-Authorization headers are forwarded intact to the redirect target. This behavior risks exposing sensitive forward-proxy credentials to unauthorized external hosts if redirects are enabled via the redirects option or Wreck.defaults({ redirects: ... }). The vulnerability is addressed by removing this header forwarding in version 18.1.1.

Potential Impact

Forward-proxy credentials contained in the Proxy-Authorization header may be exposed to external hosts during redirects, potentially allowing unauthorized actors to gain access to sensitive proxy authentication information. This exposure can compromise the confidentiality of proxy credentials but does not directly imply further privilege escalation or system compromise.

Mitigation Recommendations

Upgrade to @hapi/wreck version 18.1.1 or later, where this issue is fixed by preventing Proxy-Authorization headers from being forwarded on cross-host redirects. No other mitigation is indicated or required.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-05-08T16:23:33.264Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a5b401a34329bf928c718b2

Added to database: 07/18/2026, 08:58:02 UTC

Last enriched: 07/18/2026, 09:00:09 UTC

Last updated: 07/18/2026, 11:08:19 UTC

Views: 2

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses