CVE-2025-54791: Omero web OMERO.web Displays Unecessary User Information Vulnerability

MODERATE
Advisory Identifier: GHSA-gpmg-4x4g-mr5r
CVSS 5.3
CWE-209
Published
Advisory Summary

CVE-2025-54791 is a MODERATE (CVSS 5.3) omero.web displays unecessary user information vulnerability (CWE-209: Generation of Error Message Containing Sensitive Information) affecting Omero web libraries in the PyPI ecosystem. The issue involves omero.web displays unecessary user information when requesting password reset. Remediation is available by upgrading affected packages to version 5.29.2.

CVE-2025-54791 at a Glance

CVE Identifier CVE-2025-54791
GHSA Identifier GHSA-gpmg-4x4g-mr5r
Severity MODERATE
CVSS v3.1 Base Score 5.3
CWE Classification CWE-209: Generation of Error Message Containing Sensitive Information
Affected Product Omero web
Package Ecosystem PyPI
Published Date
Last Updated

Security Impact

CVSS: 5.3

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality Low (C:L)
Integrity None (I:N)
Availability None (A:N)

How to Fix CVE-2025-54791

To remediate this vulnerability, upgrade all affected Omero web dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

omero-web fixed: 5.29.2
pip install omero-web>=5.29.2
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

pip show omero-web

How to Check if You Are Affected

To determine whether your Python environment is affected by CVE-2025-54791, inspect your installed packages using pip:

pip show omero-web

Analyze the terminal output to locate any version of Omero web in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 5.29.2), your application is affected.

Note: The pip show omero-web command checks currently installed packages in your active Python environment.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-209: Generation of Error Message Containing Sensitive Information, where the product generates an error message that includes sensitive information about its environment, users, or associated data. In Omero web, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Background If an error occurred when resetting a user's password using the ``Forgot Password`` option in OMERO.web, the error message displayed on the Web page can disclose information about the user. ### Impact OMERO.web before 5.29.1 ### Patches User should upgrade to 5.29.2 or higher ### Workarounds Disable the ``Forgot password`` option in OMERO.web using the ``omero.web.show_forgot_password`` configuration property[^1]. Thanks to Christopher Youd who reported the issue. Open an issue in [omero-web](https://github.com/ome/omero-web) Email us at [security@openmicroscopy.org](mailto:security@openmicroscopy.org) [^1]: https://omero.readthedocs.io/en/stable/sysadmins/config.html#omero.web.show_forgot_password

CVE-2025-54791 Affected Omero web Versions

1 component(s)
Fixed Versions:
5.29.2
Product / Package Ecosystem Affected Versions Fixed Version
omero-web
PyPI
< 5.29.2
5.29.2

References

Frequently Asked Questions

What is CVE-2025-54791?
CVE-2025-54791 is a security vulnerability in Omero web involving OMERO.web displays unecessary user information when requesting password reset under CWE-209: Generation of Error Message Containing Sensitive Information.
Which Omero web versions are affected?
Affected versions include releases prior to 5.29.2 across affected packages: omero-web.
What version fixes CVE-2025-54791?
Upgrading to 5.29.2 (or the latest patched release for your respective branch) resolves the vulnerability.
Is omero-web affected?
Yes, omero-web is affected in releases prior to 5.29.2. Upgrade your dependency to 5.29.2 or later.
What is the CVSS score of CVE-2025-54791?
CVE-2025-54791 has a CVSS v3.1 base score of 5.3 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N.
What CWE is associated with CVE-2025-54791?
CVE-2025-54791 is classified under CWE-209: Generation of Error Message Containing Sensitive Information (The product generates an error message that includes sensitive information about its environment, users, or associated data.).
How can I check PyPI dependencies for CVE-2025-54791?
Run the dependency tree command: 'pip show omero-web'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-gpmg-4x4g-mr5r",
  "modified" : "2025-08-27T14:29:25Z",
  "published" : "2025-08-13T18:47:35Z",
  "aliases" : [ "CVE-2025-54791" ],
  "summary" : "OMERO.web displays unecessary user information when requesting password reset",
  "details" : "### Background\n\nIf an error occurred when resetting a user's password using the ``Forgot Password`` option in OMERO.web, the error message displayed on the Web page can disclose information about the user.\n\n### Impact\nOMERO.web before 5.29.1\n\n### Patches\nUser should upgrade to 5.29.2 or higher\n\n### Workarounds\nDisable the ``Forgot password`` option in OMERO.web using the ``omero.web.show_forgot_password`` configuration property[^1].\n\nThanks to Christopher Youd who reported the issue.\n\nOpen an issue in [omero-web](https://github.com/ome/omero-web)\nEmail us at [security@openmicroscopy.org](mailto:security@openmicroscopy.org)\n\n[^1]: https://omero.readthedocs.io/en/stable/sysadmins/config.html#omero.web.show_forgot_password",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "omero-web"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "5.29.2"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 5.29.1"
    }
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/ome/omero-web/security/advisories/GHSA-gpmg-4x4g-mr5r"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-54791"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/ome/omero-web/commit/8aa2789e8f759c73f1517abe9a0abd44e86644ad"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/ome/omero-web"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-209" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-08-13T18:47:35Z",
    "nvd_published_at" : "2025-08-13T14:15:32Z"
  }
}