/

CVE-2026-120627

Severity:

HIGH RISK

(7.5)

Credential Exposure (CWE-287) in PIA Firefox Add-on

CVE-2026-120627

Awaiting Analysis

Vulnerability type

Category:

Authentication Credential Disclosure

CWE:

CWE-287

Impact:

Exposure and potential misuse of proxy credentials

Severity:

HIGH RISK

(7.5)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

The Private Internet Access Firefox extension may disclose PIA proxy credentials when its authentication handler responds to a Basic authentication challenge from a website. A user who visits a malicious site that issues such a challenge may expose credentials that could be misused for unauthorized proxy access.

Affected context

The issue occurs in the Firefox extension's onAuthRequired authentication handler. It becomes risky when the handler processes a Basic authentication challenge from a website without adequately checking whether the request is for the PIA proxy. The vulnerability was fixed in version 3.2.5 and reportedly reintroduced in later versions; exposure therefore depends on the extension version and its behavior.

Exploit preconditions

  • Attack surface: Web requests handled by the Firefox extension's authentication listener
  • Required access: No special access is described; the victim must use an affected extension version
  • Trigger point: The victim visits a site that issues a Basic authentication challenge
  • Why exploitation is possible: The unguarded handler may provide PIA proxy credentials in response to a challenge that should not receive them

Why this happens

The authentication handler does not adequately constrain when it supplies proxy credentials. This is an improper authentication control pattern associated with CWE-287, in which authentication behavior is not correctly limited to the intended context. Credentials intended for the PIA proxy may consequently be exposed to a website that triggers an authentication challenge.

Potential impact

  • PIA proxy credentials may be disclosed to a malicious website
  • An attacker could attempt unauthorized use of exposed credentials
  • Affected users could experience loss of privacy or proxy account misuse

General mitigation guidance

Defensive patterns include restricting credential responses to verified, expected proxy requests and refusing to provide credentials for unrelated website challenges. Keep authentication handling narrowly scoped, minimize credential exposure, and avoid placing reusable secrets in responses to untrusted origins. Apply least privilege to accounts and proxy credentials, and use controls that limit the impact of credential misuse.

How teams detect issues like this

  • Review authentication listeners for credential responses that are not bound to an expected proxy destination
  • Use static analysis and code review to identify unguarded authentication callbacks and insufficient request-origin checks
  • Test extension behavior with Basic authentication challenges from unrelated websites
  • Enforce policies requiring credentials to be supplied only to approved proxy endpoints
  • Monitor for unexpected proxy authentication activity or unusual credential use

Sources

SourceLink
addons.mozilla.orgaddons.mozilla.org/en-US/firefox/addon/private-internet-access-ext/
github.comgithub.com/Rexyysilent/PI-ay-ay-disclosure

Frequently asked

questions

The described condition is a malicious site issuing a Basic authentication challenge while a user visits it with an affected extension version.

No special device access is described. The key conditions are use of an affected extension and a visit to a site that triggers the relevant challenge.

Scope credential responses to verified requests for the intended proxy, and do not provide proxy credentials to unrelated website challenges.

Review authentication handlers for strict destination checks, test them against untrusted origins, and use policies that limit where credentials can be sent.

Find out what's already
exploitable in your codebase.