QID 983192

QID 983192: Python (pip) Security Update for ihatemoney (GHSA-67j9-c52g-w2q9)

Security update has been released for ihatemoney to fix the vulnerability.

Note: The preceding description block is extracted directly from the security advisory. Using automation, we have attempted to clean and format it as much as possible without introducing additional issues.

An authenticated member of one project can modify and delete members of another project, without knowledge of this other project's private code. This can be further exploited to access all bills of another project without knowledge of this other project's private code.

With the default configuration, anybody is allowed to create a new project. An attacker can create a new project and then use it to become authenticated and exploit this flaw. As such, the exposure is similar to an unauthenticated attack, because it is trivial to become authenticated.

  • CVSS V3 rated as Medium - 4.9 severity.
  • CVSS V2 rated as Medium - 4 severity.
  • Solution
    ```diff
    ihatemoney/models.py | 4 ++--
    1 file changed, 2 insertions(+), 2 deletions(-)

    diff --git a/ihatemoney/models.py b/ihatemoney/models.py
    index fe7b519..5691c75 100644
    --- a/ihatemoney/models.py
    +++ b/ihatemoney/models.py
    @@ -380,7 +380,7 @@ class Person(db.Model):
    def get_by_name(self, name, project):
    return (
    Person.query.filter(Person.name == name)
    - .filter(Project.id == project.id)
    + .filter(Person.project_id == project.id)
    .one()
    )

    @@ -389,7 +389,7 @@ class Person(db.Model):
    project = g.project
    return (
    Person.query.filter(Person.id == id)
    - .filter(Project.id == project.id)
    + .filter(Person.project_id == project.id)
    .one()
    )

    ```Workaround:
    To limit the impact, it is possible to disable public project creation by setting `ALLOW_PUBLIC_PROJECT_CREATION = False` in the configuration (see [documentation](https://ihatemoney.readthedocs.io/en/latest/configuration.html)). Existing users will still be able to exploit the flaw, but this will prevent an external attacker from creating a new project.
    Vendor References

    CVEs related to QID 983192

    Software Advisories
    Advisory ID Software Component Link
    GHSA-67j9-c52g-w2q9 ihatemoney URL Logo github.com/advisories/GHSA-67j9-c52g-w2q9

    © CVE.report 2026

    Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

    CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

    Free CVE JSON API cve.report/api

    CVE.report and Source URL Uptime Status status.cve.report