# CVE-2023-6944: Rhdh: catalog-import function leaks credentials to frontend

- Severity: Medium 5.7 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.56%, higher than 48% of CVEs (2026-12-01)
- Published: 2024-01-04T10:02:38.088Z
- Modified: 2026-06-17T06:51:44.317Z
- Also known as: GHSA-86rg-pf4c-5grg
- Weaknesses: CWE-200, CWE-209
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: redhat

## Description

A flaw was found in the Red Hat Developer Hub (RHDH). The catalog-import function leaks GitLab access tokens on the frontend when the base64 encoded GitLab token includes a newline at the end of the string. The sanitized error can display on the frontend, including the raw access token. Upon gaining access to this token and depending on permissions, an attacker could push malicious code to repositories, delete resources in Git, revoke or generate new keys, and sign code illegitimately.

(As written by CVE List.)

## Affected

- rhdh/rhdh-hub-rhel9: no versions given (not affected: from 1.1-107.1724038966 before *)
- @backstage/backend-app-api (npm): before 0.5.9-next.1
- redhat red_hat_developer_hub: before 1.21.0
- linuxfoundation backstage: before 1.21.0

## Every score

- redhat: CVSS:3.1 5.7 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.1 7.3 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N`
- NVD: CVSS:3.1 5.7 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N`

## References

- <https://access.redhat.com/errata/RHBA-2024:5869> (vendor-advisory, web)
- <https://access.redhat.com/security/cve/CVE-2023-6944> (vdb-entry, vendor-advisory, web)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2255204> (issue-tracking, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-6944> (advisory)
- <https://github.com/backstage/backstage/issues/21503> (web)
- <https://github.com/backstage/backstage/pull/21582> (web)
- <https://github.com/backstage/backstage/commit/0382db60f6c8e8715a702bde6408ad10a48d8e11> (web)
- <https://github.com/backstage/backstage> (package)
- <https://github.com/backstage/backstage/blob/master/docs/releases/v1.21.0-next.2-changelog.md> (web)
- <https://www.cve.org/CVERecord?id=CVE-2023-6944> (web)

## Sources

- CVE List: [CVE-2023-6944](https://www.cve.org/CVERecord?id=CVE-2023-6944), CVE Terms of Use, modified 2025-11-20
- GitHub Advisory Database: [GHSA-86rg-pf4c-5grg](https://github.com/advisories/GHSA-86rg-pf4c-5grg), CC-BY-4.0, modified 2025-10-01
- NVD: [CVE-2023-6944](https://nvd.nist.gov/vuln/detail/CVE-2023-6944), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-6944 · Whole record: https://cve.day/CVE-2023-6944.json · Rebuilt by cve.day 2026-11-25T22:58:31.888Z
