> CVE-2026-45337 [HIGH]

« BACK_TO_HOME
PUBLISHED
2026-07-15 18:16
MODIFIED
2026-07-15 18:16
CVSS_SCORE V3
7.6
EPSS (Prob. Exploit)
0.21%
Top 88.8%
DATA SOURCES:
NVD đź”— 2026-07-15 CWE MITRE đź”— 2026-11-01 FIRST EPSS đź”— 2026-10-25 GITHUB đź”— 2026-10-29 OSV đź”— 2026-07-18

> DESCRIPTION

Better Auth is an authentication and authorization library for TypeScript. From 1.6.0 until 1.6.11, the deviceAuthorization plugin treats any authenticated session as the owner of any pending device code because GET /device does not claim the row and POST /device/approve and POST /device/deny short-circuit when userId is unset, allowing an authenticated attacker who learns a valid user_code to bind the polling device to the attacker's account or deny the legitimate flow. This issue is fixed in version 1.6.11.

> AFFECTED_PRODUCTS

ℹ️ Aucun produit affecté n'a encore été publié par NVD pour cette CVE.

> CVSS V3 METRICS

CVSS_VECTOR
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:L
EXPLOITABILITY
2.1
IMPACT
5.5

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:L
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Network (N)
Exploit possible à distance via réseau (HTTP, API, etc.)
AC (Complexité d'Attaque)
Attack Complexity
Low (L)
Peu de conditions requises pour exploiter
PR (Privilèges Requis)
Privileges Required
Low (L)
Authentifié avec compte utilisateur basique
UI (Interaction Utilisateur)
User Interaction
Required (R)
Nécessite une action utilisateur (clic lien, ouverture fichier, etc.)
S (Périmètre)
Scope
Unchanged (U)
Impact reste dans le périmètre du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
High (H)
Divulgation totale d'informations
I (Impact Intégrité)
Integrity Impact
High (H)
Modification totale des données possible
A (Impact Disponibilité)
Availability Impact
Low (L)
Interruption partielle du service possible

> RÉSUMÉ DES IMPACTS

Confidentialité
High
Divulgation totale d'informations
Intégrité
High
Modification totale des données possible
Disponibilité
Low
Interruption partielle du service possible

> WEAKNESSES

CWE-285 CWE-345

> CWE DETAILED DESCRIPTIONS

CWE-285: Improper Authorization - The product does not perform or incorrectly performs an authorization check when an actor attempts to access a resource or perform an action. | CWE-345: Insufficient Verification of Data Authenticity - The product does not sufficiently verify the origin or authenticity of data, in a way that causes it to accept invalid data.

> GITHUB SECURITY ADVISORY

GHSA-cq3f-vc6p-68fh HIGH

Better Auth: Device authorization approve and deny accept any authenticated session while the user code is pending

AFFECTED PACKAGES:
NPM / better-auth
>= 1.6.0, < 1.6.11
Fixed in: 1.6.11

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

Better Auth: Device authorization approve and deny accept any authenticated session while the user code is pending

AFFECTED PACKAGES:
Unknown / Unknown
231 versions affected
ALIASES:
GHSA-cq3f-vc6p-68fh

> HISTORIQUE DES MODIFICATIONS

Première apparition
15/07/2026 18:16
Source: NVD
📊 ENRICHISSEMENT 01/08/2026 06:01
CWE
Champ modifié: Description CWE
Ancienne valeur:
N/A
Nouvelle valeur:
CWE-285: Improper Authorization - The product does not perform or incorrectly performs an authorization check when an actor attempts to access a resource or perform an action. | CWE-345: Insufficient ...
Total des modifications: 1 Dernière mise à jour: 3 months ago

> REFERENCES

https://github.com/better-auth/better-auth/commit/99a254a79b59d5a3f5ca2123260118...
https://github.com/better-auth/better-auth/pull/9573
https://github.com/better-auth/better-auth/releases/tag/v1.6.11
https://github.com/better-auth/better-auth/security/advisories/GHSA-cq3f-vc6p-68...
« BACK_TO_HOME