{"id":"CVE-2026-25138","aliases":["CVE-2026-25138","GHSA-38wq-6q2w-hcf9","PYSEC-2026-3053"],"related":[],"kind":"vulnerability","state":"published","title":"Rucio WebUI has Username Enumeration via Login Error Message","summary":"Rucio is a software framework that provides functionality to organize, manage, and access large volumes of scientific data using customizable policies. Prior to versions 35.8.3, 38.5.4, and 39.3.1, the WebUI login endpoint returns distinct error messages depending on whether a supplied username exists, allowing unauthenticated attackers to enumerate valid usernames. Versions 35.8.3, 38.5.4, and 39.3.1 fix the issue.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Rucio is a software framework that provides functionality to organize, manage, and access large volumes of scientific data using customizable policies. Prior to versions 35.8.3, 38.5.4, and 39.3.1, the WebUI login endpoint returns distinct error messages depending on whether a supplied username exists, allowing unauthenticated attackers to enumerate valid usernames. Versions 35.8.3, 38.5.4, and 39.3.1 fix the issue.","source":"cvelist"},{"lang":"en","text":"### Summary\nThe WebUI login endpoint returns distinct error messages depending on whether a supplied username exists, allowing unauthenticated attackers to enumerate valid usernames.\n\n### Details\nWhen submitting invalid credentials to `/ui/login`, the WebUI responds with different error messages based on the existence of the provided username (identity). A non-existent username results in an error indicating that no account is associated with the identity, while an existing username with an incorrect password produces a different authentication-related error.\n\nThis behavioral difference allows an attacker to distinguish valid usernames from invalid ones by observing the response content.\n\n### Proof of Concept\n**Bogus Login (Non-existent Username \"15251087\")**  \nResponse contains:\n```\nCannot get find any account associated with 15251087 identity.\n```\n\n**Bogus Login (Existing Username \"root\", Wrong Password)**  \nResponse contains:\n```\nCannot get auth token. It is possible that the presented identity root is not mapped to any Rucio account root.\n```\n\nThe difference in error messages confirms whether a username exists.\n\n### Impact\nAn unauthenticated attacker can enumerate valid usernames, which may be leveraged for targeted password guessing, credential stuffing, or social engineering attacks.\n\n### Remediation / Mitigation\nReturn a generic authentication failure message for all login errors, regardless of whether the username exists. Avoid disclosing account or identity existence through error responses. Consider implementing rate limiting or additional login throttling to further reduce abuse.\n\n#### Reources:\n- OWASP Authentication Cheat Sheet -  Authentication and Error Messages: https://cheatsheetseries.owasp.org/cheatsheets/Authentication_Cheat_Sheet.html#authentication-and-error-messages","format":"markdown","source":"ghsa"},{"lang":"es","text":"Rucio es un framework de software que proporciona funcionalidad para organizar, gestionar y acceder a grandes volúmenes de datos científicos utilizando políticas personalizables. Antes de las versiones 35.8.3, 38.5.4 y 39.3.1, el endpoint de inicio de sesión de la WebUI devolvía mensajes de error distintos dependiendo de si un nombre de usuario proporcionado existía, permitiendo a atacantes no autenticados enumerar nombres de usuario válidos. Las versiones 35.8.3, 38.5.4 y 39.3.1 solucionan el problema.","source":"nvd"}],"published":"2026-02-25T18:53:42.000Z","modified":"2026-07-13T16:42:31.939Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"}],"cwes":["CWE-204"],"affected":[{"ranges":[{"version":"< 35.8.3","status":"affected"},{"version":">= 36.0.0rc1, < 38.5.4","status":"affected"},{"version":">= 39.0.0rc1, < 39.3.1","status":"affected"}],"vendor":"rucio","product":"rucio","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"35.8.3"}],"ecosystem":"PyPI","package":"rucio-webui","purl":"pkg:pypi/rucio-webui","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"36.0.0rc1","status":"affected","fixed":"38.5.4"}],"ecosystem":"PyPI","package":"rucio-webui","purl":"pkg:pypi/rucio-webui","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"39.0.0rc1","status":"affected","fixed":"39.3.1"}],"ecosystem":"PyPI","package":"rucio-webui","purl":"pkg:pypi/rucio-webui","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"35.8.3"},{"status":"affected","introduced":"36.0.0","fixed":"38.5.4"},{"status":"affected","introduced":"39.0.0","fixed":"39.3.1"}],"vendor":"cern","product":"rucio","cpe":"cpe:2.3:a:cern:rucio:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"35.8.3"},{"type":"ecosystem","introduced":"36.0.0rc1","status":"affected","fixed":"38.5.4"},{"type":"ecosystem","introduced":"39.0.0rc1","status":"affected","fixed":"39.3.1"}],"ecosystem":"PyPI","package":"rucio-webui","purl":"pkg:pypi/rucio-webui","source":"pysec"}],"references":[{"url":"https://github.com/rucio/rucio/security/advisories/GHSA-38wq-6q2w-hcf9","tags":["exploit","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://cheatsheetseries.owasp.org/cheatsheets/Authentication_Cheat_Sheet.html#authentication-and-error-messages","tags":["not-applicable","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/rucio/rucio/releases/tag/35.8.3","tags":["product","release-notes","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/rucio/rucio/releases/tag/38.5.4","tags":["product","release-notes","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/rucio/rucio/releases/tag/39.3.1","tags":["product","release-notes","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-25138","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/rucio/rucio","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/rucio-webui","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-38wq-6q2w-hcf9","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2026-02-26T16:03:18.219Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-25138","url":"https://www.cve.org/CVERecord?id=CVE-2026-25138","licence":"CVE Terms of Use","modified":"2026-02-26T16:03:22.817Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-38wq-6q2w-hcf9","url":"https://github.com/advisories/GHSA-38wq-6q2w-hcf9","licence":"CC-BY-4.0","modified":"2026-07-13T16:42:31.939Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-25138","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-25138","licence":"Public domain","modified":"2026-06-17T10:24:10.423Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-3053","url":"https://osv.dev/vulnerability/PYSEC-2026-3053","licence":"CC-BY-4.0","modified":"2026-07-13T16:32:44.020Z"}],"updatedAt":"2026-11-25T22:59:14.885Z","epss":{"score":0.00384,"percentile":0.34597,"date":"2026-12-01T12:00:22.000Z"}}