SCA: security update for better-auth (GHSA-cq3f-vc6p-68fh)

high Tenable Self-Hosted Container Security Plugin ID 442635

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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.
(CVE-2026-45337)

Solution

Update the better-auth library and its related packages to version 1.6.11 or later.

See Also

https://github.com/advisories/GHSA-cq3f-vc6p-68fh

Plugin Details

Severity: High

ID: 442635

Version: Revision 1.4

Type: Local

Family: SCA Checks

Published: 6/4/2026

Updated: 7/16/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 4.5

Percentile: 57.49

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 8.7

Temporal Score: 6.4

Vector: CVSS2#AV:N/AC:L/Au:S/C:C/I:C/A:P

CVSS Score Source: CVE-2026-45337

CVSS v3

Risk Factor: High

Base Score: 7.6

Temporal Score: 6.6

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:L

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 6/4/2026

Vulnerability Publication Date: 6/4/2026

Reference Information

CVE: CVE-2026-45337