This vulnerability is trending on Twitter; this may indicate a growing threat.
The probability is the direct output of the EPSS model, and conveys an overall sense of the threat of exploitation in the wild. The percentile measures the EPSS probability relative to all known EPSS scores. Note: This data is updated daily, relying on the latest available EPSS model version. Check out the EPSS documentation for more details.
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsLearn about Improper Authorization vulnerabilities in an interactive lesson.
Start learningUpgrade better-auth to version 1.6.11 or higher.
better-auth is a The most comprehensive authentication library for TypeScript.
Affected versions of this package are vulnerable to Improper Authorization in the deviceAuthorization plugin. An attacker can gain unauthorized access to a device or deny legitimate user sign-in by submitting a valid user_code from any authenticated session before the legitimate user completes verification.
Note:
This is only exploitable if the deviceAuthorization plugin is enabled and a third party can observe a pending user code before the legitimate user completes verification.
This vulnerability can be mitigated by disabling the plugin if device flow is not used, adding a before hook on POST /device/approve and POST /device/deny to enforce session ownership, or shortening the pending lifetime of device codes via the expiresIn plugin option.