@quasar/ssl-certificate
Affected
- introduced
0, fixed2.1.0(semver)
Fixed versions
2.1.0
Fix
- Fixed version
2.1.0npm install @quasar/[email protected]
Advisory
Also known as: CVE-2026-106105
Quasar Framework: Development TLS private keys are cached with overly permissive filesystem permissions
The @quasar/ssl-certificate development utility caches a combined PEM containing a generated private key and certificate without explicitly restricting its filesystem permissions. On systems with a typical process umask, the PEM can be readable by other local users. A local attacker with filesystem access could copy and reuse the private key to impersonate a development TLS endpoint in an environment that trusts the certificate.
The generated certificate was also unnecessarily CA-capable and included broad key usages beyond its localhost HTTPS purpose. Its IPv6 loopback entry was encoded as a DNS name rather than an IP subject alternative name.
The remediation writes and repairs the cached PEM with owner-only permissions on supported platforms, generates a non-CA server-auth leaf certificate with constrained key usage, corrects the IPv6 loopback SAN, and bases cache expiry on content modification time so permission metadata changes cannot extend the certificate lifetime. This issue does not expose the key remotely by itself; exploitation requires another local user to be able to read the cached PEM file.
High Basis: The source's own band: HIGH
0, fixed 2.1.0 (semver)2.1.0
2.1.0npm install @quasar/[email protected]0, fixed 5.0.4 (semver)5.0.4
5.0.4npm install @quasar/[email protected]0, fixed 3.3.0 (semver)3.3.0
3.3.0npm install @quasar/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0