Password Reset Allows For User Email Enumeration in inventree/inventree


Reported on

Jun 17th 2022


The password reset function at the login page responds to valid and invalid emails in the application. Submitting an invalid email result in "The e-mail address is not assigned to any user account." A valid response results in a message stating an email has been sent.

Proof of Concept

1. Select "Forgot Password" on the InvenTree sign on page
2. Enter an invalid email and observe the results suggested in the description.


An attacker can identify valid user email accounts which permits the attacker to increase the application's attack surface. The severity is lowered slightly due to email accounts being separate from the username.


Synchronize response messages in the password reset request. I suggest something like, "You will receive an email in a few minutes if the email is in our system."

We are processing your report and will contact the inventree team within 24 hours. a year ago
A GitHub Issue asking the maintainers to create a exists a year ago
Joe Helle modified the report
a year ago
Oliver validated this vulnerability a year ago

Thanks for reporting. This is a relatively minor fault which can be fixed easily by updating the version of the third party library we use for authentication.

This will be fixed in our next minor release.

Joe Helle has been awarded the disclosure bounty
The fix bounty is now up for grabs
The researcher's credibility has increased: +7
Joe Helle
a year ago


Awesome. Thanks Oliver and team.

Oliver marked this as fixed in 0.8.0 with commit 18cf92 a year ago
Oliver has been awarded the fix bounty
This vulnerability will not receive a CVE
a year ago


to join this conversation