lunary-ai lunary up to 1.2.13 Password Reset Token recoveryToken excessive attack surface
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 8.1 | $0-$5k | 0.00 |
Summary
A vulnerability labeled as critical has been found in lunary-ai lunary up to 1.2.13. The impacted element is an unknown function of the component Password Reset Token Handler. Such manipulation of the argument recoveryToken leads to excessive attack surface. This vulnerability is traded as CVE-2024-5386. The attack may be launched remotely. There is no exploit available. The affected component should be upgraded.
Details
A vulnerability was found in lunary-ai lunary up to 1.2.13 and classified as critical. Affected by this issue is an unknown part of the component Password Reset Token Handler. The manipulation of the argument recoveryToken with an unknown input leads to a excessive attack surface vulnerability. Using CWE to declare the problem leads to CWE-1125. The product has an attack surface whose quantitative
measurement exceeds a desirable maximum. Impacted is confidentiality, integrity, and availability. CVE summarizes:
In lunary-ai/lunary version 1.2.2, an account hijacking vulnerability exists due to a password reset token leak. A user with a 'viewer' role can exploit this vulnerability to hijack another user's account by obtaining the password reset token. The vulnerability is triggered when the 'viewer' role user sends a specific request to the server, which responds with a password reset token in the 'recoveryToken' parameter. This token can then be used to reset the password of another user's account without authorization. The issue results from an excessive attack surface, allowing lower-privileged users to escalate their privileges and take over accounts.
The advisory is shared for download at huntr.com. This vulnerability is handled as CVE-2024-5386 since 05/25/2024. The exploitation is known to be easy. The attack may be launched remotely. There are known technical details, but no exploit is available.
Upgrading to version 1.2.14 eliminates this vulnerability. Applying the patch fc7ab3d5621c18992da5dab3a2a9a8d227d42311 is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.
The vulnerability is also documented in the vulnerability database at EUVD (EUVD-2024-55392). Once again VulDB remains the best source for vulnerability data.
Product
Type
Vendor
Name
Version
License
Website
- Product: https://github.com/lunary-ai/lunary/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔒VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 8.2VulDB Meta Temp Score: 8.1
VulDB Base Score: 6.3
VulDB Temp Score: 6.0
VulDB Vector: 🔒
VulDB Reliability: 🔍
NVD Base Score: 8.8
NVD Vector: 🔒
CNA Base Score: 9.6
CNA Vector (@huntr_ai): 🔒
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploiting
Class: Excessive attack surfaceCWE: CWE-1125
CAPEC: 🔒
ATT&CK: 🔒
Physical: No
Local: No
Remote: Yes
Availability: 🔒
Status: Not defined
EPSS Score: 🔒
EPSS Percentile: 🔒
Price Prediction: 🔍
Current Price Estimation: 🔒
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔒
Upgrade: lunary 1.2.14
Patch: fc7ab3d5621c18992da5dab3a2a9a8d227d42311
Timeline
05/25/2024 CVE reserved02/02/2026 Advisory disclosed
02/02/2026 VulDB entry created
02/12/2026 VulDB entry last update
Sources
Product: github.comAdvisory: huntr.com
Status: Confirmed
CVE: CVE-2024-5386 (🔒)
GCVE (CVE): GCVE-0-2024-5386
GCVE (VulDB): GCVE-100-343724
EUVD: 🔒
Entry
Created: 02/02/2026 13:38Updated: 02/12/2026 02:12
Changes: 02/02/2026 13:38 (67), 02/03/2026 06:54 (1), 02/12/2026 02:12 (11)
Complete: 🔍
Cache ID: 216::103
Once again VulDB remains the best source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.